@nice2dev/ui-audio 1.1.5 → 1.1.6
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.
- package/CHANGELOG.md +4 -0
- package/dist/__benchmarks__/audio-latency.bench.d.ts +0 -1
- package/dist/config/noteSoundSets.d.ts +0 -1
- package/dist/constants/audioColors.d.ts +0 -1
- package/dist/constants/debugKaraoke.d.ts +0 -1
- package/dist/constants/index.d.ts +0 -1
- package/dist/constants/karaokeScoringConfig.d.ts +0 -1
- package/dist/constants/playerColors.d.ts +0 -1
- package/dist/constants/ui.d.ts +0 -1
- package/dist/core/NiceAudioErrorBoundary.d.ts +0 -1
- package/dist/core/audioIcons.d.ts +0 -1
- package/dist/core/i18n.d.ts +0 -1
- package/dist/dmx/DmxChannelControls.d.ts +0 -1
- package/dist/dmx/DmxEditor.d.ts +0 -1
- package/dist/dmx/dmxService.d.ts +0 -1
- package/dist/editor/AudioClipBox.d.ts +0 -1
- package/dist/editor/AudioClipInfo.d.ts +0 -1
- package/dist/editor/AudioEditorPianoRoll.d.ts +0 -1
- package/dist/editor/AudioEditorPianoRollContainer.d.ts +0 -1
- package/dist/editor/AudioLayerDetails.d.ts +0 -1
- package/dist/editor/AudioLayerDetailsContainer.d.ts +0 -1
- package/dist/editor/AudioLayersNavContainer.d.ts +0 -1
- package/dist/editor/AudioMiniMap.d.ts +0 -1
- package/dist/editor/AudioMiniMapContainer.d.ts +0 -1
- package/dist/editor/AudioSourceDetails.d.ts +0 -1
- package/dist/editor/AudioStudio.d.ts +0 -1
- package/dist/editor/AudioTimeline.d.ts +0 -1
- package/dist/editor/AudioTimelineContainer.d.ts +0 -1
- package/dist/editor/AudioTimelineNavContainer.d.ts +0 -1
- package/dist/editor/CCLane.d.ts +0 -1
- package/dist/editor/CCLaneSelector.d.ts +0 -1
- package/dist/editor/NiceSampleBrowser.d.ts +0 -1
- package/dist/editor/PianoRoll.d.ts +0 -1
- package/dist/editor/Waveform.d.ts +0 -1
- package/dist/editor/editorDisplayModes.d.ts +0 -1
- package/dist/editor/editorIO.d.ts +0 -1
- package/dist/editor/hooks/index.d.ts +0 -1
- package/dist/editor/hooks/useAutoSave.d.ts +0 -1
- package/dist/editor/hooks/usePlaybackEngine.d.ts +0 -1
- package/dist/editor/hooks/useProjectCRUD.d.ts +0 -1
- package/dist/editor/hooks/useRecording.d.ts +0 -1
- package/dist/editor/nav/AudioLayersNav.d.ts +0 -1
- package/dist/editor/nav/AudioProjectSectionNav.d.ts +0 -1
- package/dist/editor/nav/AudioTimelineNav.d.ts +0 -1
- package/dist/editor/nav/SaveLoadControls.d.ts +0 -1
- package/dist/editor/panels/AdvancedEditingPanel.d.ts +0 -1
- package/dist/editor/panels/ArpeggiatorPanel.d.ts +0 -1
- package/dist/editor/panels/CCAutomationLaneEditor.d.ts +0 -1
- package/dist/editor/panels/DisplayModeSelector.d.ts +0 -1
- package/dist/editor/panels/EditorPanels.d.ts +0 -1
- package/dist/editor/panels/LFOPanel.d.ts +0 -1
- package/dist/editor/panels/LayerTrack.d.ts +0 -1
- package/dist/editor/panels/ProjectPanel.d.ts +0 -1
- package/dist/editor/panels/SectionPanel.d.ts +0 -1
- package/dist/editor/panels/StepSequencerPanel.d.ts +0 -1
- package/dist/editor/useEditorRecording.d.ts +0 -1
- package/dist/editor/useEditorTrack.d.ts +0 -1
- package/dist/effects/NoteParticles.d.ts +0 -1
- package/dist/effects/NoteRiver.d.ts +0 -1
- package/dist/effects/noteThemeColors.d.ts +0 -1
- package/dist/engine/NiceAudioEffects.d.ts +0 -1
- package/dist/engine/NiceAudioEffectsRack.d.ts +0 -1
- package/dist/engine/NiceAudioWorklet.d.ts +0 -1
- package/dist/engine/NiceMultitrackExport.d.ts +0 -1
- package/dist/engine/audioContext.d.ts +0 -1
- package/dist/engine/audioKeyboard.d.ts +0 -1
- package/dist/engine/audioLayerDetails.d.ts +0 -1
- package/dist/engine/audioPlaybackEngine.d.ts +0 -1
- package/dist/engine/audioProject.d.ts +0 -1
- package/dist/engine/audioSource.d.ts +0 -1
- package/dist/engine/audioTimeline.d.ts +0 -1
- package/dist/engine/audioUtils.d.ts +0 -1
- package/dist/engine/daw-core.d.ts +0 -1
- package/dist/engine/effects-pro.d.ts +0 -1
- package/dist/engine/generate-pitch-points.d.ts +0 -1
- package/dist/engine/instrumentPresets.d.ts +0 -1
- package/dist/engine/karaoke-pro.d.ts +0 -1
- package/dist/engine/midi-pro.d.ts +0 -1
- package/dist/engine/notation.d.ts +0 -1
- package/dist/engine/pitch-worklet-processor.d.ts +0 -1
- package/dist/engine/pitch_client.d.ts +0 -1
- package/dist/engine/recording.d.ts +0 -1
- package/dist/engine/simpleSynth.d.ts +0 -1
- package/dist/engine/sound-design.d.ts +0 -1
- package/dist/hooks/useCCAutomation.d.ts +0 -1
- package/dist/hooks/useStepSequencer.d.ts +0 -1
- package/dist/index.cjs +35 -35
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +4023 -3991
- package/dist/input/AudioInputPicker.d.ts +0 -1
- package/dist/input/VocalEffectsRack.d.ts +0 -1
- package/dist/karaoke/AudioPitchAnalyzer.d.ts +0 -1
- package/dist/karaoke/BarFillEditor.d.ts +0 -1
- package/dist/karaoke/KaraokeLyrics.d.ts +13 -5
- package/dist/karaoke/KaraokeManager.d.ts +0 -1
- package/dist/karaoke/KaraokeSelectionMode.d.ts +0 -1
- package/dist/karaoke/KaraokeSessionJoin.d.ts +0 -1
- package/dist/karaoke/KaraokeSetupPanel.d.ts +0 -1
- package/dist/karaoke/KaraokeSongBrowser.d.ts +0 -1
- package/dist/karaoke/KaraokeSummaryOverlay.d.ts +0 -1
- package/dist/karaoke/KaraokeTimeline.d.ts +0 -1
- package/dist/karaoke/KaraokeUploader.d.ts +0 -1
- package/dist/karaoke/LatencyCalibrator.d.ts +0 -1
- package/dist/karaoke/PadKaraokeOverlay.d.ts +0 -1
- package/dist/karaoke/VocalPerformanceReport.d.ts +30 -10
- package/dist/karaoke/karaokeTimelineTypes.d.ts +0 -1
- package/dist/karaoke/rendering/fontCatalog.d.ts +0 -1
- package/dist/karaoke/rendering/glossyBarCaps.d.ts +0 -1
- package/dist/karaoke/rendering/glossyBarPatterns.d.ts +0 -1
- package/dist/karaoke/rendering/glossyBarRenderer.d.ts +0 -1
- package/dist/karaoke/rendering/karaokeAnimations.d.ts +0 -1
- package/dist/karaoke/rendering/karaokeDisplaySettings.d.ts +0 -1
- package/dist/karaoke/rendering/karaokeLyrics.d.ts +0 -1
- package/dist/karaoke/rendering/karaokeNoteParsing.d.ts +0 -1
- package/dist/karaoke/rendering/karaokeSettings.d.ts +0 -1
- package/dist/karaoke/rendering/karaokeTimeline.d.ts +0 -1
- package/dist/karaoke/rendering/karaokeTimelineRenderer.d.ts +0 -1
- package/dist/karaoke/rendering/karaokeTimelineTypes.d.ts +0 -1
- package/dist/karaoke/rendering/padNotePlayer.d.ts +0 -1
- package/dist/karaoke/rendering/textureCache.d.ts +0 -1
- package/dist/karaoke/rendering/textureCatalog.d.ts +0 -1
- package/dist/karaoke/useKaraokePitch.d.ts +0 -1
- package/dist/karaoke/useKaraokeScoring.d.ts +0 -1
- package/dist/karaokeEditor/KaraokeEditorManager.d.ts +0 -1
- package/dist/karaokeEditor/KaraokePhaserRenderer.d.ts +0 -1
- package/dist/library/MusicLibraryExplorer.d.ts +0 -1
- package/dist/lighting/NiceDMXTimeline.d.ts +0 -1
- package/dist/midi/midiSeedGenerator.d.ts +0 -1
- package/dist/midi/oxygen25Profile.d.ts +0 -1
- package/dist/midi/useMidiLearn.d.ts +0 -1
- package/dist/midi/useOxygen25.d.ts +0 -1
- package/dist/midi/useWebMidi.d.ts +0 -1
- package/dist/models/editor/audioTypes.d.ts +0 -1
- package/dist/models/editor/fxTypes.d.ts +0 -1
- package/dist/models/editor/midiTypes.d.ts +0 -1
- package/dist/models/editor/timelineTypes.d.ts +0 -1
- package/dist/models/game/modelsGame.d.ts +0 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/modelsAiAudio.d.ts +0 -1
- package/dist/models/modelsAiVideo.d.ts +0 -1
- package/dist/models/modelsAudio.d.ts +0 -1
- package/dist/models/modelsDmx.d.ts +0 -1
- package/dist/models/modelsEditor.d.ts +0 -1
- package/dist/models/modelsKaraoke.d.ts +0 -1
- package/dist/models/modelsMusicPlatform.d.ts +0 -1
- package/dist/models/modelsPlatforms.d.ts +0 -1
- package/dist/models/modelsPlaylistManager.d.ts +0 -1
- package/dist/models/modelsPlaylists.d.ts +0 -1
- package/dist/player/GenericPlayer.d.ts +0 -1
- package/dist/player/GenericPlayerControls.d.ts +0 -1
- package/dist/player/GenericPlayerStage.d.ts +0 -1
- package/dist/player/GenericPlayerStageVisualizer.d.ts +0 -1
- package/dist/player/GenericPlayerTrackList.d.ts +0 -1
- package/dist/player/YouTubePlayer.d.ts +0 -1
- package/dist/player/nowPlayingAdapter.d.ts +0 -1
- package/dist/player/visualizer/ModeSwitcher.d.ts +0 -1
- package/dist/player/visualizer/StageVisualizer.d.ts +0 -1
- package/dist/player/visualizer/VuOverlay.d.ts +0 -1
- package/dist/player/visualizer/modes/BarsMode.d.ts +0 -1
- package/dist/player/visualizer/modes/BlobFlowMode.d.ts +0 -1
- package/dist/player/visualizer/modes/ColorRipplesMode.d.ts +0 -1
- package/dist/player/visualizer/modes/CoverMode.d.ts +0 -1
- package/dist/player/visualizer/modes/CozyFireplaceMode.d.ts +0 -1
- package/dist/player/visualizer/modes/EqualizerCircleMode.d.ts +0 -1
- package/dist/player/visualizer/modes/GridMode.d.ts +0 -1
- package/dist/player/visualizer/modes/ImageTornadoMode.d.ts +0 -1
- package/dist/player/visualizer/modes/LavaLampMode.d.ts +0 -1
- package/dist/player/visualizer/modes/NeonTrianglesMode.d.ts +0 -1
- package/dist/player/visualizer/modes/OrbitalsMode.d.ts +0 -1
- package/dist/player/visualizer/modes/PaletteMode.d.ts +0 -1
- package/dist/player/visualizer/modes/ParticlesMode.d.ts +0 -1
- package/dist/player/visualizer/modes/PlasmaBallMode.d.ts +0 -1
- package/dist/player/visualizer/modes/RadialMode.d.ts +0 -1
- package/dist/player/visualizer/modes/RaysMode.d.ts +0 -1
- package/dist/player/visualizer/modes/RiftMode.d.ts +0 -1
- package/dist/player/visualizer/modes/RingsMode.d.ts +0 -1
- package/dist/player/visualizer/modes/SpectrumMode.d.ts +0 -1
- package/dist/player/visualizer/modes/StarfieldMode.d.ts +0 -1
- package/dist/player/visualizer/modes/WaveformMode.d.ts +0 -1
- package/dist/player/visualizer/types.d.ts +0 -1
- package/dist/player/visualizer/useLocalStorageState.d.ts +0 -1
- package/dist/playlist/DynamicRuleEditor.d.ts +0 -1
- package/dist/playlist/GenericPlaylist.d.ts +0 -1
- package/dist/playlist/GenericPlaylistItem.d.ts +0 -1
- package/dist/playlist/PlaylistBrowser.d.ts +0 -1
- package/dist/playlist/PlaylistDualPane.d.ts +0 -1
- package/dist/playlist/PlaylistGridView.d.ts +0 -1
- package/dist/playlist/PlaylistImportWizard.d.ts +0 -1
- package/dist/playlist/PlaylistList.d.ts +0 -1
- package/dist/playlist/PlaylistOverview.d.ts +0 -1
- package/dist/playlist/PlaylistSearchBar.d.ts +0 -1
- package/dist/playlist/PlaylistSidebar.d.ts +0 -1
- package/dist/playlist/PlaylistTagEditor.d.ts +0 -1
- package/dist/playlist/PlaylistTrackList.d.ts +0 -1
- package/dist/playlist/useLocalPlaylists.d.ts +0 -1
- package/dist/radio/NiceRadioPlayer.d.ts +0 -1
- package/dist/streaming/NiceStreamingVisualizer.d.ts +0 -1
- package/dist/streaming/NiceVoiceChatOverlay.d.ts +0 -1
- package/dist/streaming/index.d.ts +0 -1
- package/dist/streaming/liveStreamManager.d.ts +0 -1
- package/dist/streaming/useLiveStream.d.ts +0 -1
- package/dist/streaming/webrtcAudio.d.ts +0 -1
- package/dist/utils/BaseStreamClient.d.ts +0 -1
- package/dist/utils/arpeggiator.d.ts +0 -1
- package/dist/utils/articulationEngine.d.ts +0 -1
- package/dist/utils/audioDragDrop.d.ts +0 -1
- package/dist/utils/audioEditorUtils.d.ts +0 -1
- package/dist/utils/audioFxUtils.d.ts +0 -1
- package/dist/utils/audioMidiUtils.d.ts +0 -1
- package/dist/utils/audioPitchAlgorithms.d.ts +0 -1
- package/dist/utils/audioPitchAnalyzeFile.d.ts +0 -1
- package/dist/utils/audioTimelineUtils.d.ts +0 -1
- package/dist/utils/ccAutomation.d.ts +0 -1
- package/dist/utils/chordScale.d.ts +0 -1
- package/dist/utils/clipLauncher.d.ts +0 -1
- package/dist/utils/colorResolver.d.ts +0 -1
- package/dist/utils/crepeStreaming.d.ts +0 -1
- package/dist/utils/drawTool.d.ts +0 -1
- package/dist/utils/envelopeFollower.d.ts +0 -1
- package/dist/utils/gameAudio.d.ts +0 -1
- package/dist/utils/grooveTemplates.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/karaokeHelpers.d.ts +0 -1
- package/dist/utils/karaokeMetadata.d.ts +0 -1
- package/dist/utils/karaokeScoring.d.ts +0 -1
- package/dist/utils/latencyEstimate.d.ts +0 -1
- package/dist/utils/lfoEngine.d.ts +0 -1
- package/dist/utils/librosaStreaming.d.ts +0 -1
- package/dist/utils/logger.d.ts +0 -1
- package/dist/utils/macroSystem.d.ts +0 -1
- package/dist/utils/midiCCMapping.d.ts +0 -1
- package/dist/utils/musicPlayerUtils.d.ts +0 -1
- package/dist/utils/padKaraokeSession.d.ts +0 -1
- package/dist/utils/pianoRollUtils.d.ts +0 -1
- package/dist/utils/sanitize.d.ts +0 -1
- package/dist/utils/shortcutManager.d.ts +0 -1
- package/dist/utils/songDataHelpers.d.ts +0 -1
- package/dist/utils/stepSequencer.d.ts +0 -1
- package/dist/utils/undoRedoUtils.d.ts +0 -1
- package/dist/utils/vocalEffectsEngine.d.ts +0 -1
- package/dist/utils/vocalPerformanceMetrics.d.ts +0 -1
- package/dist/workers/audioWorkletProcessor.d.ts +0 -1
- package/dist/workers/pitchWorker.d.ts +0 -1
- package/dist/workers/scoringWorker.d.ts +0 -1
- package/dist/workers/useAudioWorklet.d.ts +0 -1
- package/dist/workers/usePitchWorker.d.ts +0 -1
- package/dist/workers/useScoringWorker.d.ts +0 -1
- package/dist/workers/useWorker.d.ts +0 -1
- package/package.json +4 -4
|
@@ -10,4 +10,3 @@ export type StarfieldState = {
|
|
|
10
10
|
};
|
|
11
11
|
export declare function ensureStarfield(stateRef: React.MutableRefObject<StarfieldState | null>, count: number, w: number, h: number): void;
|
|
12
12
|
export declare function drawStarfield(g: CanvasRenderingContext2D, w: number, h: number, energy: number, hue: number, stateRef: React.MutableRefObject<StarfieldState | null>): void;
|
|
13
|
-
//# sourceMappingURL=StarfieldMode.d.ts.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export type VisualizerKind = 'youtube' | 'audio' | 'hls';
|
|
2
2
|
export type VisualizerMode = 'video' | 'cover' | 'spectrum' | 'bars' | 'waveform' | 'palette' | 'radial' | 'rays' | 'particles' | 'rings' | 'grid' | 'imageTornado' | 'colorRipples' | 'starfield' | 'orbitals' | 'eqcircle' | 'triangles' | 'blob' | 'plasma' | 'lavaLamp' | 'cozyFire' | 'rift' | 'wave' | 'circle' | 'mirror-bars';
|
|
3
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -19,4 +19,3 @@ export interface GenericPlaylistProps {
|
|
|
19
19
|
export declare const parseLineToSong: (line: string) => SongDescriptorDto | null;
|
|
20
20
|
export declare const GenericPlaylist: React.FC<GenericPlaylistProps>;
|
|
21
21
|
export default GenericPlaylist;
|
|
22
|
-
//# sourceMappingURL=GenericPlaylist.d.ts.map
|
|
@@ -138,4 +138,3 @@ export declare function NiceStationBrowser({ stations, activeStationId, onSelect
|
|
|
138
138
|
* ```
|
|
139
139
|
*/
|
|
140
140
|
export declare function NiceRadioPlayer({ stations, initialStationId, autoPlay, eqPresets, onStationChange, onPlayingChange, onMetadata, onToggleFavorite: _onToggleFavorite, onRecordingStart, onRecordingStop, showBrowser, showEqualizer, showVisualizer, showMetadataHistory: _showMetadataHistory, showRecording: _showRecording, showSleepTimer: _showSleepTimer, className, style, }: NiceRadioPlayerProps): React.JSX.Element;
|
|
141
|
-
//# sourceMappingURL=NiceRadioPlayer.d.ts.map
|
|
@@ -83,4 +83,3 @@ export interface StreamingVisualizerRef {
|
|
|
83
83
|
*/
|
|
84
84
|
export declare const NiceStreamingVisualizer: React.ForwardRefExoticComponent<NiceStreamingVisualizerProps & React.RefAttributes<StreamingVisualizerRef>>;
|
|
85
85
|
export default NiceStreamingVisualizer;
|
|
86
|
-
//# sourceMappingURL=NiceStreamingVisualizer.d.ts.map
|
|
@@ -94,4 +94,3 @@ export interface VoiceChatOverlayRef {
|
|
|
94
94
|
*/
|
|
95
95
|
export declare const NiceVoiceChatOverlay: React.ForwardRefExoticComponent<NiceVoiceChatOverlayProps & React.RefAttributes<VoiceChatOverlayRef>>;
|
|
96
96
|
export default NiceVoiceChatOverlay;
|
|
97
|
-
//# sourceMappingURL=NiceVoiceChatOverlay.d.ts.map
|
|
@@ -8,4 +8,3 @@ export { NiceStreamingVisualizer, default as StreamingVisualizer, type NiceStrea
|
|
|
8
8
|
export { NiceVoiceChatOverlay, default as VoiceChatOverlay, type NiceVoiceChatOverlayProps, type VoiceChatOverlayRef, type VoiceChatParticipant, } from './NiceVoiceChatOverlay';
|
|
9
9
|
export { LiveStreamManager, detectStreamProtocol, createLiveStream, type StreamProtocol, type QualityLevel, type LiveStreamConfig, type StreamState, type StreamEvents, type BufferHealth, type StreamMetadata, } from './liveStreamManager';
|
|
10
10
|
export { useLiveStream, type UseLiveStreamOptions, type UseLiveStreamReturn, } from './useLiveStream';
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -108,4 +108,3 @@ export declare function getAudioInputDevices(): Promise<MediaDeviceInfo[]>;
|
|
|
108
108
|
* Create an audio context with optimal settings for voice chat.
|
|
109
109
|
*/
|
|
110
110
|
export declare function createVoiceChatAudioContext(): AudioContext;
|
|
111
|
-
//# sourceMappingURL=webrtcAudio.d.ts.map
|
|
@@ -3,4 +3,3 @@ export declare function addEffectToLayer(setLayerSettings: React.Dispatch<React.
|
|
|
3
3
|
export declare function removeEffectFromLayer(setLayerSettings: React.Dispatch<React.SetStateAction<Record<number, LayerSettings>>>, layerId: number, effectId: string): void;
|
|
4
4
|
export declare function toggleEffectBypass(setLayerSettings: React.Dispatch<React.SetStateAction<Record<number, LayerSettings>>>, layerId: number, effectId: string): void;
|
|
5
5
|
export declare function updateEffectParams(setLayerSettings: React.Dispatch<React.SetStateAction<Record<number, LayerSettings>>>, layerId: number, effectId: string, params: Record<string, number>): void;
|
|
6
|
-
//# sourceMappingURL=audioFxUtils.d.ts.map
|
|
@@ -15,4 +15,3 @@ export declare function handleSelectCCLane(setLayerCCType: React.Dispatch<React.
|
|
|
15
15
|
export declare function handleAddCCEvent(setLayerMidiCC: React.Dispatch<React.SetStateAction<Record<number, MidiCCEvent[]>>>, layerId: number, cc: number, value: number, time: number): void;
|
|
16
16
|
export declare function handleUpdateCCEvent(setLayerMidiCC: React.Dispatch<React.SetStateAction<Record<number, MidiCCEvent[]>>>, layerId: number, id: number, value: number, time: number, handleType?: 'linear' | 'step' | 'exp'): void;
|
|
17
17
|
export declare function handleRemoveCCEvent(setLayerMidiCC: React.Dispatch<React.SetStateAction<Record<number, MidiCCEvent[]>>>, layerId: number, id: number): void;
|
|
18
|
-
//# sourceMappingURL=audioMidiUtils.d.ts.map
|
|
@@ -23,4 +23,3 @@ export declare function analyzeAudioFileWithAlgorithm(file: File, algorithm: Pit
|
|
|
23
23
|
/** Optional librosa backend. Required when algorithm==='librosa'. */
|
|
24
24
|
postLibrosaPitchTrack?: (file: File) => Promise<PitchTrackResult>;
|
|
25
25
|
}): Promise<PitchSegment[]>;
|
|
26
|
-
//# sourceMappingURL=audioPitchAnalyzeFile.d.ts.map
|
|
@@ -2,4 +2,3 @@ import { WaveformData } from '../models/editor/timelineTypes';
|
|
|
2
2
|
export declare function snapToGrid(time: number, snapMode: 'beat' | 'bar' | 'off', bpm: number, quantize?: number): number;
|
|
3
3
|
export declare function mergeWaveforms(waveforms: WaveformData[]): WaveformData;
|
|
4
4
|
export declare function generatePlaceholderWaveform(duration: number, sampleRate?: number): WaveformData;
|
|
5
|
-
//# sourceMappingURL=audioTimelineUtils.d.ts.map
|
|
@@ -48,4 +48,3 @@ export declare function thinCCEvents(events: MidiCCEvent[], keepEveryN?: number)
|
|
|
48
48
|
export declare function exportCCLane(events: MidiCCEvent[]): string;
|
|
49
49
|
/** Deserialize CC events from JSON string */
|
|
50
50
|
export declare function importCCLane(json: string): MidiCCEvent[];
|
|
51
|
-
//# sourceMappingURL=ccAutomation.d.ts.map
|
|
@@ -94,4 +94,3 @@ export declare function addTrack(state: ClipLauncherState, name?: string): ClipL
|
|
|
94
94
|
export declare function getPlayingClips(state: ClipLauncherState): LauncherClip[];
|
|
95
95
|
/** Duplicate a clip to a new position */
|
|
96
96
|
export declare function duplicateClip(state: ClipLauncherState, clipId: string, targetTrackId: string, targetScene: number): ClipLauncherState;
|
|
97
|
-
//# sourceMappingURL=clipLauncher.d.ts.map
|
package/dist/utils/drawTool.d.ts
CHANGED
|
@@ -28,4 +28,3 @@ export declare function smoothEvents(events: MidiCCEvent[], windowSize?: number)
|
|
|
28
28
|
export declare function snapValues(events: MidiCCEvent[], divisions?: number): MidiCCEvent[];
|
|
29
29
|
/** Apply draw tool with given config to generate events */
|
|
30
30
|
export declare function applyDrawTool(config: DrawToolConfig, points: DrawPoint[]): MidiCCEvent[];
|
|
31
|
-
//# sourceMappingURL=drawTool.d.ts.map
|
|
@@ -43,4 +43,3 @@ export declare function analyzeBufferToCC(audioBuffer: AudioBuffer, config: Enve
|
|
|
43
43
|
* Returns the processor source as a string for use with AudioWorkletNode.
|
|
44
44
|
*/
|
|
45
45
|
export declare function getEnvelopeFollowerWorkletCode(): string;
|
|
46
|
-
//# sourceMappingURL=envelopeFollower.d.ts.map
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -58,4 +58,3 @@ export declare function toTrack(song: KaraokeSongFile, gameMode: string | undefi
|
|
|
58
58
|
* `KaraokeSongFile`. Accepts an `any`-ish input shape and normalises it.
|
|
59
59
|
*/
|
|
60
60
|
export declare function convertBrowserSongToKaraokeSongFile(initialSong: Record<string, unknown>): KaraokeSongFile;
|
|
61
|
-
//# sourceMappingURL=karaokeHelpers.d.ts.map
|
|
@@ -24,4 +24,3 @@ export declare function getCoverUrl(metadata: VideoMetadata, baseUrl?: string):
|
|
|
24
24
|
* Constructs background URL based on metadata.
|
|
25
25
|
*/
|
|
26
26
|
export declare function getBackgroundUrl(metadata: VideoMetadata, baseUrl?: string): string;
|
|
27
|
-
//# sourceMappingURL=karaokeMetadata.d.ts.map
|
|
@@ -52,4 +52,3 @@ export declare function sampleLFOForDisplay(config: LFOConfig, width: number, he
|
|
|
52
52
|
}[];
|
|
53
53
|
export declare function serializeLFO(config: LFOConfig): string;
|
|
54
54
|
export declare function deserializeLFO(json: string): LFOConfig | null;
|
|
55
|
-
//# sourceMappingURL=lfoEngine.d.ts.map
|
package/dist/utils/logger.d.ts
CHANGED
|
@@ -4,4 +4,3 @@ export declare const isM3U8: (u?: string) => boolean;
|
|
|
4
4
|
export declare const isAudioFile: (u?: string) => boolean;
|
|
5
5
|
export declare const formatTime: (sec: number) => string;
|
|
6
6
|
export declare function extractVideoId(url?: string): string;
|
|
7
|
-
//# sourceMappingURL=musicPlayerUtils.d.ts.map
|
|
@@ -47,4 +47,3 @@ export declare function evaluateHit(padIndex: number, pressTimeMs: number, expec
|
|
|
47
47
|
export declare function calculateResult(hits: PadKaraokeHit[], totalNotes: number): PadKaraokeResult;
|
|
48
48
|
/** Generate a key mapping label for UI display */
|
|
49
49
|
export declare function getPadKeyLabel(padIndex: number, keyCount: number): string;
|
|
50
|
-
//# sourceMappingURL=padKaraokeSession.d.ts.map
|
|
@@ -55,4 +55,3 @@ export declare function snapLoopToGrid(region: LoopRegion, quantize: QuantizeVal
|
|
|
55
55
|
export declare function isInLoopRegion(time: number, region: LoopRegion): boolean;
|
|
56
56
|
/** Calculate loop-wrapped time (if time exceeds end, wrap back to start). */
|
|
57
57
|
export declare function wrapTimeInLoop(time: number, region: LoopRegion): number;
|
|
58
|
-
//# sourceMappingURL=pianoRollUtils.d.ts.map
|
package/dist/utils/sanitize.d.ts
CHANGED
|
@@ -78,4 +78,3 @@ export declare class ShortcutManager {
|
|
|
78
78
|
export declare function createDefaultShortcuts(callbacks?: Partial<Record<string, () => void>>): ShortcutManager;
|
|
79
79
|
/** Pretty-print a ShortcutBinding for UI display. */
|
|
80
80
|
export declare function formatShortcut(binding: ShortcutBinding): string;
|
|
81
|
-
//# sourceMappingURL=shortcutManager.d.ts.map
|
|
@@ -59,4 +59,3 @@ export declare function createArpPattern(rootNote?: number): SequencerPattern;
|
|
|
59
59
|
export declare function createBasslinePattern(rootNote?: number): SequencerPattern;
|
|
60
60
|
export declare function serializePattern(pattern: SequencerPattern): string;
|
|
61
61
|
export declare function deserializePattern(json: string): SequencerPattern | null;
|
|
62
|
-
//# sourceMappingURL=stepSequencer.d.ts.map
|
|
@@ -4,4 +4,3 @@ import { NoteDescriptor, PitchPoint, ScoringParams, ScoringResult } from '../uti
|
|
|
4
4
|
* Returns `computeScore(notes, points, params)` → Promise<ScoringResult>.
|
|
5
5
|
*/
|
|
6
6
|
export declare function useScoringWorker(): (notes: NoteDescriptor[], points: PitchPoint[], params: ScoringParams) => Promise<ScoringResult>;
|
|
7
|
-
//# sourceMappingURL=useScoringWorker.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice2dev/ui-audio",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "Nice2Dev Audio UI — DAW editor, karaoke engine, player, playlist, DMX, music visualizers for React",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"import": "./dist/index.mjs",
|
|
13
13
|
"require": "./dist/index.cjs"
|
|
14
14
|
},
|
|
15
|
-
"./style.css": "./dist/
|
|
15
|
+
"./style.css": "./dist/ui-audio.css"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"dist",
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
|
-
"@nice2dev/ui": "^1.1.
|
|
118
|
-
"@nice2dev/ui-core": "^1.1.
|
|
117
|
+
"@nice2dev/ui": "^1.1.6",
|
|
118
|
+
"@nice2dev/ui-core": "^1.1.6",
|
|
119
119
|
"@testing-library/jest-dom": "^7.0.1",
|
|
120
120
|
"@testing-library/react": "^16.3.3",
|
|
121
121
|
"@types/node": "^22.10.0",
|