@nice2dev/ui-audio 1.3.13 → 1.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/index.cjs +31 -31
  3. package/dist/index.d.ts +3 -0
  4. package/dist/index.mjs +5635 -5524
  5. package/dist/karaoke/PitchMeter.d.ts +45 -0
  6. package/dist/ui-audio.css +1 -1
  7. package/dist/utils/pitchMath.d.ts +9 -0
  8. package/package.json +3 -3
  9. package/dist/__benchmarks__/audio-latency.bench.d.ts +0 -1
  10. package/dist/assets/scoringWorker-B1PkYu_m.js +0 -1
  11. package/dist/constants/index.d.ts +0 -5
  12. package/dist/constants/ui.d.ts +0 -2
  13. package/dist/editor/AudioClipBox.d.ts +0 -8
  14. package/dist/editor/AudioClipInfo.d.ts +0 -6
  15. package/dist/editor/AudioEditorPianoRoll.d.ts +0 -19
  16. package/dist/editor/AudioEditorPianoRollContainer.d.ts +0 -19
  17. package/dist/editor/AudioLayerDetails.d.ts +0 -9
  18. package/dist/editor/AudioLayerDetailsContainer.d.ts +0 -9
  19. package/dist/editor/AudioLayersNavContainer.d.ts +0 -8
  20. package/dist/editor/AudioMiniMap.d.ts +0 -10
  21. package/dist/editor/AudioMiniMapContainer.d.ts +0 -9
  22. package/dist/editor/AudioSourceDetails.d.ts +0 -11
  23. package/dist/editor/AudioTimelineContainer.d.ts +0 -17
  24. package/dist/editor/AudioTimelineNavContainer.d.ts +0 -13
  25. package/dist/editor/CCLaneSelector.d.ts +0 -13
  26. package/dist/editor/editorDisplayModes.d.ts +0 -36
  27. package/dist/editor/editorIO.d.ts +0 -10
  28. package/dist/editor/nav/AudioLayersNav.d.ts +0 -8
  29. package/dist/editor/nav/AudioProjectSectionNav.d.ts +0 -11
  30. package/dist/editor/nav/AudioTimelineNav.d.ts +0 -13
  31. package/dist/editor/nav/SaveLoadControls.d.ts +0 -8
  32. package/dist/editor/panels/AdvancedEditingPanel.d.ts +0 -29
  33. package/dist/editor/panels/DisplayModeSelector.d.ts +0 -8
  34. package/dist/editor/panels/LayerTrack.d.ts +0 -16
  35. package/dist/editor/panels/ProjectPanel.d.ts +0 -22
  36. package/dist/editor/panels/SectionPanel.d.ts +0 -10
  37. package/dist/editor/useEditorRecording.d.ts +0 -44
  38. package/dist/engine/NiceAudioWorklet.d.ts +0 -183
  39. package/dist/engine/NiceMultitrackExport.d.ts +0 -164
  40. package/dist/engine/audioKeyboard.d.ts +0 -27
  41. package/dist/engine/audioLayerDetails.d.ts +0 -12
  42. package/dist/engine/audioProject.d.ts +0 -9
  43. package/dist/engine/audioUtils.d.ts +0 -2
  44. package/dist/engine/generate-pitch-points.d.ts +0 -1
  45. package/dist/engine/pitch-worklet-processor.d.ts +0 -10
  46. package/dist/engine/pitch_client.d.ts +0 -15
  47. package/dist/models/game/modelsGame.d.ts +0 -11
  48. package/dist/models/index.d.ts +0 -15
  49. package/dist/models/modelsAiAudio.d.ts +0 -120
  50. package/dist/models/modelsAiVideo.d.ts +0 -74
  51. package/dist/models/modelsPlatforms.d.ts +0 -51
  52. package/dist/player/GenericPlayerStageVisualizer.d.ts +0 -31
  53. package/dist/player/GenericPlayerTrackList.d.ts +0 -9
  54. package/dist/player/nowPlayingAdapter.d.ts +0 -18
  55. package/dist/utils/articulationEngine.d.ts +0 -68
  56. package/dist/utils/chordScale.d.ts +0 -46
  57. package/dist/utils/clipLauncher.d.ts +0 -96
  58. package/dist/utils/envelopeFollower.d.ts +0 -45
  59. package/dist/utils/gameAudio.d.ts +0 -236
  60. package/dist/utils/index.d.ts +0 -39
  61. package/dist/utils/macroSystem.d.ts +0 -96
  62. package/dist/utils/padKaraokeSession.d.ts +0 -49
  63. package/dist/utils/songDataHelpers.d.ts +0 -58
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @nice2dev/ui-audio — Changelog
2
2
 
3
+ ## 1.3.14
4
+
5
+ ### Patch Changes
6
+
7
+ - ff59527: Package builds (1.3.14, OmniVerk's list):
8
+
9
+ - **@nice2dev/ui ESM: a module per source file.**
10
+ - Until now `dist/index.mjs` was a single 2.6 MB module, so an app's bundler could not keep controls used only on a lazily loaded page out of the chunk every page loads. Now an app splits the library like its own code.
11
+ - Entry paths, the `exports` map, the CommonJS build and `style.css` (byte-identical) do not change.
12
+ - `country-flag-icons`, already a dependency, is no longer bundled.
13
+ - Note: an app rule that sends every `@nice2dev/ui/` module to one manual chunk undoes the split.
14
+ - **Only `style.css` ships:** the chunk CSS files it inlines are no longer published next to it, which halves the CSS in the package.
15
+ - **ui-audio workers:** their URLs are relative. They were addressed from the site root (`/assets/pitchWorker-….js`), where an app that installs the package has no such file. Test and benchmark declarations are no longer published.
16
+ - **ui-buildings:** no longer ships an import worker that nothing refers to.
17
+ - **Clean builds:** ui-core, ui-display and ui-tools empty `dist` before building, so stale hashed chunks cannot be packed.
18
+ - **Release pipeline:**
19
+ - The publish job takes the builds from a folder emptied after every job. Old builds' files had piled up in its previous folder and were published (e.g. @nice2dev/ui 1.3.10: 793 files instead of 337).
20
+ - It checks each package against the file list the build recorded before anything goes to npm.
21
+ - The contents audit also lists published files that no entry reaches.
22
+
23
+ - 23d68ab: **NicePitchMeter** (1.3.14, OmniVerk's list): a live pitch meter that draws without a session.
24
+
25
+ - **What it draws:** a band around the note to hit, the recent pitches as a trace in hit and miss colours, and the pitch sung now at the right edge with both note names.
26
+ - **Props:** `pitch` (Hz) and `target` (MIDI), with an optional `history`, `showTarget`, `showHistory`, `historyLength`, `tolerance`, `range`, `hitColor`, `missColor`, `targetColor` and `height`. Its accessible name says the target, the pitch sung and the distance between them.
27
+ - **No data:** it shows a waiting state, as NiceKaraokeLyrics does without a song.
28
+ - **Shared pitch arithmetic:** `hzToMidi`, `midiToNoteName` and `semitoneOffset` now have one exported home (`utils/pitchMath`). The performance metrics use it too.
29
+
3
30
  ## 1.3.13
4
31
 
5
32
  No changes in this release.