@nice2dev/ui-audio 1.1.5 → 1.1.7
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 +52 -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 +36 -36
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +6829 -6751
- 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 +4 -2
- package/dist/karaoke/KaraokeSessionJoin.d.ts +5 -3
- package/dist/karaoke/KaraokeSetupPanel.d.ts +5 -4
- 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 +9 -10
- 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 +1 -2
- 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 +1 -2
- package/dist/models/modelsPlaylistManager.d.ts +2 -3
- 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 +2 -4
- 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/ui-audio.css +1 -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 +1 -2
- 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
|
@@ -23,4 +23,3 @@ interface AudioPitchAnalyzerProps {
|
|
|
23
23
|
}
|
|
24
24
|
export default function AudioPitchAnalyzer({ onSegments, defaultCompareAll, externalFile, postPitch, postLibrosaPitchTrack: apiLibrosa, }: AudioPitchAnalyzerProps): React.JSX.Element;
|
|
25
25
|
export {};
|
|
26
|
-
//# sourceMappingURL=AudioPitchAnalyzer.d.ts.map
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { KaraokeSongFile } from '../models/modelsKaraoke';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
/** Props for {@link NiceKaraokeLyrics} — the scrolling, syllable-timed lyric view. */
|
|
4
|
+
export interface NiceKaraokeLyricsProps {
|
|
5
|
+
/**
|
|
6
|
+
* Parsed song. Optional: with no song the control renders its waiting state,
|
|
7
|
+
* which is what a manifest-driven preview needs.
|
|
8
|
+
*/
|
|
9
|
+
song?: KaraokeSongFile;
|
|
10
|
+
/**
|
|
11
|
+
* Playback position in seconds. Defaults to `0`, which renders the first
|
|
12
|
+
* verse with no sung-portion sweep — a static, presentable lyric.
|
|
13
|
+
*/
|
|
14
|
+
currentTime?: number;
|
|
6
15
|
}
|
|
7
|
-
declare const _default: React.NamedExoticComponent<
|
|
16
|
+
declare const _default: React.NamedExoticComponent<NiceKaraokeLyricsProps>;
|
|
8
17
|
export default _default;
|
|
9
|
-
//# sourceMappingURL=KaraokeLyrics.d.ts.map
|
|
@@ -7,7 +7,10 @@ export interface SelectionModePlayer {
|
|
|
7
7
|
}
|
|
8
8
|
export interface NiceKaraokeSelectionModeProps extends NiceBaseProps {
|
|
9
9
|
players: SelectionModePlayer[];
|
|
10
|
-
mode
|
|
10
|
+
/** Selection mode (controlled). Omit it to let the controller keep its own. */
|
|
11
|
+
mode?: SongSelectionMode;
|
|
12
|
+
/** Initial selection mode when uncontrolled. Defaults to free-for-all. */
|
|
13
|
+
defaultMode?: SongSelectionMode;
|
|
11
14
|
onModeChange?: (mode: SongSelectionMode) => void;
|
|
12
15
|
/** Seconds per turn in roundRobin (0 = no limit). */
|
|
13
16
|
turnTimeSec?: number;
|
|
@@ -23,4 +26,3 @@ export declare const NiceKaraokeSelectionMode: React.FC<NiceKaraokeSelectionMode
|
|
|
23
26
|
/** Hook: can the given player currently pick a song? */
|
|
24
27
|
export declare function useCanPickSong(mode: SongSelectionMode, activePlayerIndex: number, hostIndex: number, playerIndex: number): boolean;
|
|
25
28
|
export default NiceKaraokeSelectionMode;
|
|
26
|
-
//# sourceMappingURL=KaraokeSelectionMode.d.ts.map
|
|
@@ -15,8 +15,11 @@ export interface SessionJoinState {
|
|
|
15
15
|
noInputDevices: boolean;
|
|
16
16
|
}
|
|
17
17
|
export interface NiceKaraokeSessionJoinProps extends NiceBaseProps {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
/** Player roster (controlled). Omit it to let the panel keep its own. */
|
|
19
|
+
players?: NiceKaraokePlayer[];
|
|
20
|
+
/** Initial roster when uncontrolled. */
|
|
21
|
+
defaultPlayers?: NiceKaraokePlayer[];
|
|
22
|
+
onPlayersChange?: (players: NiceKaraokePlayer[]) => void;
|
|
20
23
|
gameMode?: string;
|
|
21
24
|
onGameModeChange?: (mode: string) => void;
|
|
22
25
|
gameModes?: NiceKaraokeGameModeOption[];
|
|
@@ -38,4 +41,3 @@ export interface NiceKaraokeSessionJoinProps extends NiceBaseProps {
|
|
|
38
41
|
}
|
|
39
42
|
export declare const NiceKaraokeSessionJoin: React.FC<NiceKaraokeSessionJoinProps>;
|
|
40
43
|
export default NiceKaraokeSessionJoin;
|
|
41
|
-
//# sourceMappingURL=KaraokeSessionJoin.d.ts.map
|
|
@@ -8,9 +8,11 @@ export interface NiceKaraokeGameModeOption {
|
|
|
8
8
|
label: React.ReactNode;
|
|
9
9
|
}
|
|
10
10
|
export interface NiceKaraokeSetupPanelProps extends NiceBaseProps {
|
|
11
|
-
/** Current player roster (controlled). */
|
|
12
|
-
players
|
|
13
|
-
|
|
11
|
+
/** Current player roster (controlled). Omit it to let the panel keep its own. */
|
|
12
|
+
players?: NiceKaraokePlayer[];
|
|
13
|
+
/** Initial roster when uncontrolled. */
|
|
14
|
+
defaultPlayers?: NiceKaraokePlayer[];
|
|
15
|
+
onPlayersChange?: (players: NiceKaraokePlayer[]) => void;
|
|
14
16
|
/** Selected game mode. */
|
|
15
17
|
gameMode?: string;
|
|
16
18
|
onGameModeChange?: (mode: string) => void;
|
|
@@ -28,4 +30,3 @@ export interface NiceKaraokeSetupPanelProps extends NiceBaseProps {
|
|
|
28
30
|
}
|
|
29
31
|
export declare const NiceKaraokeSetupPanel: React.FC<NiceKaraokeSetupPanelProps>;
|
|
30
32
|
export default NiceKaraokeSetupPanel;
|
|
31
|
-
//# sourceMappingURL=KaraokeSetupPanel.d.ts.map
|
|
@@ -24,4 +24,3 @@ export interface NiceKaraokeUploaderProps {
|
|
|
24
24
|
export declare function parseUltraStarText(text: string, fileName?: string): KaraokeSongFile;
|
|
25
25
|
export declare const NiceKaraokeUploader: React.FC<NiceKaraokeUploaderProps>;
|
|
26
26
|
export default NiceKaraokeUploader;
|
|
27
|
-
//# sourceMappingURL=KaraokeUploader.d.ts.map
|
|
@@ -3,19 +3,39 @@ import { default as React } from 'react';
|
|
|
3
3
|
import { NiceTranslateFn } from '../core/i18n';
|
|
4
4
|
import { KaraokeSongFile } from '../models/modelsKaraoke';
|
|
5
5
|
import { ComboResult, PitchPoint } from '../utils/karaokeScoring';
|
|
6
|
-
import { MicSettingsSnapshot, VerseRatingInput } from '../utils/vocalPerformanceMetrics';
|
|
6
|
+
import { MicSettingsSnapshot, VerseRatingInput, VocalPerformanceReport as ReportData } from '../utils/vocalPerformanceMetrics';
|
|
7
7
|
import { PlayerScoreEntry } from './KaraokeSummaryOverlay';
|
|
8
8
|
export interface NiceVocalPerformanceReportProps extends NiceBaseProps {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Precomputed reports — the **presentational** mode. Supply this and none of
|
|
11
|
+
* the live-session props below are needed: the control renders what you give
|
|
12
|
+
* it instead of recomputing from a karaoke session. `VocalPerformanceReport`
|
|
13
|
+
* is exported and plain JSON, so it round-trips through a manifest or an API.
|
|
14
|
+
*/
|
|
15
|
+
reports?: ReportData[];
|
|
16
|
+
/**
|
|
17
|
+
* Number of notes in the song, used for the combo-coverage figure. Only read
|
|
18
|
+
* in presentational mode; derived from `uploadedSong` otherwise. Defaults to
|
|
19
|
+
* 0, which renders combo coverage as 0%.
|
|
20
|
+
*/
|
|
21
|
+
noteCount?: number;
|
|
22
|
+
/** Parsed song. Required only when computing reports from a live session. */
|
|
23
|
+
uploadedSong?: KaraokeSongFile | null;
|
|
24
|
+
/** Per-player scores. Required only when computing reports from a live session. */
|
|
25
|
+
playerScores?: PlayerScoreEntry[];
|
|
26
|
+
/** Captured pitch per player. Required only when computing reports from a live session. */
|
|
27
|
+
livePitch?: Record<number, PitchPoint[]>;
|
|
28
|
+
/** Per-verse ratings. Required only when computing reports from a live session. */
|
|
29
|
+
liveVerseRatings?: VerseRatingInput[];
|
|
30
|
+
/** Combo result. Required only when computing reports from a live session. */
|
|
31
|
+
liveCombo?: ComboResult;
|
|
32
|
+
/** Scoring preset key. Defaults to `'normal'`. */
|
|
33
|
+
difficulty?: string;
|
|
34
|
+
/** Mic settings per player. Required only when computing reports from a live session. */
|
|
35
|
+
micSettings?: Record<number, MicSettingsSnapshot>;
|
|
36
|
+
/** Close handler. Optional: with none, the close button is not rendered. */
|
|
37
|
+
onClose?: () => void;
|
|
17
38
|
t?: NiceTranslateFn;
|
|
18
39
|
}
|
|
19
40
|
export declare const NiceVocalPerformanceReport: React.FC<NiceVocalPerformanceReportProps>;
|
|
20
41
|
export default NiceVocalPerformanceReport;
|
|
21
|
-
//# sourceMappingURL=VocalPerformanceReport.d.ts.map
|
|
@@ -27,4 +27,3 @@ export declare function loadCustomFont(fe: FontEntry): Promise<void>;
|
|
|
27
27
|
export declare function ensureFontLoaded(family: string): Promise<void>;
|
|
28
28
|
/** Find a font entry by family name */
|
|
29
29
|
export declare function findFontByFamily(family: string): FontEntry | undefined;
|
|
30
|
-
//# sourceMappingURL=fontCatalog.d.ts.map
|
|
@@ -54,4 +54,3 @@ export declare const ALL_CAP_STYLES: CapStyle[];
|
|
|
54
54
|
export declare const DEFAULT_CAP_STYLE: CapStyle;
|
|
55
55
|
/** Lookup cap style by name, falling back to Pill */
|
|
56
56
|
export declare function getCapStyleByName(name: string): CapStyle;
|
|
57
|
-
//# sourceMappingURL=glossyBarCaps.d.ts.map
|
|
@@ -62,4 +62,3 @@ export declare function renderGlossyBarSvg(opts: GlossyBarOptions): string;
|
|
|
62
62
|
* which is much more efficient for real-time karaoke timeline rendering.
|
|
63
63
|
*/
|
|
64
64
|
export declare function drawGlossyBarOnCanvas(ctx: CanvasRenderingContext2D, x: number, y: number, totalW: number, H: number, capStyle: CapStyle, color: string, highlight?: number, glow?: number, glass?: number, _pattern?: OverlayPattern | null, _patternColor?: string | null, patternOnly?: boolean, texturePattern?: CanvasPattern | null, overlayCanvasPattern?: CanvasPattern | null): void;
|
|
65
|
-
//# sourceMappingURL=glossyBarRenderer.d.ts.map
|
|
@@ -22,4 +22,3 @@ export interface AnimDrawParams {
|
|
|
22
22
|
/** Draw the alternative animation indicator based on the selected mode.
|
|
23
23
|
* Returns false if mode is 'ball' (caller should use existing code). */
|
|
24
24
|
export declare function drawAlternativeAnimation(mode: KaraokeAnimMode, params: AnimDrawParams): boolean;
|
|
25
|
-
//# sourceMappingURL=karaokeAnimations.d.ts.map
|
|
@@ -62,4 +62,3 @@ export declare function getActiveGradient(settings: KaraokeDisplaySettings): {
|
|
|
62
62
|
export declare function applyKaraokeDisplayVars(settings: KaraokeDisplaySettings): void;
|
|
63
63
|
/** Initialize karaoke display vars on app startup */
|
|
64
64
|
export declare function initKaraokeDisplaySettings(): void;
|
|
65
|
-
//# sourceMappingURL=karaokeDisplaySettings.d.ts.map
|
|
@@ -51,4 +51,3 @@ export declare const getActiveLyrics: (lyrics: KaraokeLine[], currentTime: numbe
|
|
|
51
51
|
* Finds active words to display based on the current time.
|
|
52
52
|
*/
|
|
53
53
|
export declare const getActiveWords: (verses: KaraokeVerse[], currentTime: number) => KaraokeWord[];
|
|
54
|
-
//# sourceMappingURL=karaokeLyrics.d.ts.map
|
|
@@ -17,4 +17,3 @@ export declare const parseNotes: (notes: string[], bpmOverride?: number) => Kara
|
|
|
17
17
|
* If no target note, returns raw MIDI value mod 12.
|
|
18
18
|
*/
|
|
19
19
|
export declare const hzToUltrastarPitch: (hz: number, targetNotePitch: number | null) => number;
|
|
20
|
-
//# sourceMappingURL=karaokeNoteParsing.d.ts.map
|
|
@@ -140,4 +140,3 @@ export declare function loadPlayerBarStyle(playerId?: number): PlayerBarStyle;
|
|
|
140
140
|
export declare function savePlayerBarStyle(style: PlayerBarStyle, playerId?: number): void;
|
|
141
141
|
/** @deprecated Use loadAllKaraokeSettings */
|
|
142
142
|
export declare function loadPlayerBarStyles(playerIds: number[]): Map<number, PlayerBarStyle>;
|
|
143
|
-
//# sourceMappingURL=karaokeSettings.d.ts.map
|
|
@@ -29,4 +29,3 @@ export declare function accuracyColor(frac: number): [number, number, number];
|
|
|
29
29
|
export declare function cssColorToHex(color: string): string;
|
|
30
30
|
/** Rounded rectangle path helper (does NOT call fill/stroke) */
|
|
31
31
|
export declare function roundedRect(ctx: CanvasRenderingContext2D, rx: number, ry: number, rw: number, rh: number, radius: number): void;
|
|
32
|
-
//# sourceMappingURL=karaokeTimelineTypes.d.ts.map
|
|
@@ -29,4 +29,3 @@ export declare function preloadTextures(urls: (string | null | undefined)[]): vo
|
|
|
29
29
|
* Automatically starts rendering the tile in the background if not cached.
|
|
30
30
|
*/
|
|
31
31
|
export declare function getOverlayCanvasPattern(ctx: CanvasRenderingContext2D, pattern: OverlayPattern, color: string, color2?: string | null): CanvasPattern | null;
|
|
32
|
-
//# sourceMappingURL=textureCache.d.ts.map
|
|
@@ -24,4 +24,3 @@ export declare const TEXTURE_CATEGORIES: TextureCategory[];
|
|
|
24
24
|
export declare const ALL_TEXTURES: TextureEntry[];
|
|
25
25
|
/** Find a texture entry by URL */
|
|
26
26
|
export declare function findTextureByUrl(url: string): TextureEntry | undefined;
|
|
27
|
-
//# sourceMappingURL=textureCatalog.d.ts.map
|
|
@@ -44,4 +44,3 @@ export declare const DRUM_PATTERN_NAMES: string[];
|
|
|
44
44
|
export { NOTE_NAMES };
|
|
45
45
|
/** Convenience alias for {@link generateSeed} matching the historical name. */
|
|
46
46
|
export declare const midiSeedGenerator: typeof generateSeed;
|
|
47
|
-
//# sourceMappingURL=midiSeedGenerator.d.ts.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
export type ControlId = {
|
|
2
|
-
kind:
|
|
2
|
+
kind: 'key';
|
|
3
3
|
note: number;
|
|
4
4
|
} | {
|
|
5
|
-
kind:
|
|
5
|
+
kind: 'pad';
|
|
6
6
|
note: number;
|
|
7
7
|
} | {
|
|
8
|
-
kind:
|
|
8
|
+
kind: 'knob';
|
|
9
9
|
cc: number;
|
|
10
10
|
index: number;
|
|
11
11
|
} | {
|
|
12
|
-
kind:
|
|
12
|
+
kind: 'fader';
|
|
13
13
|
cc: number;
|
|
14
14
|
} | {
|
|
15
|
-
kind:
|
|
15
|
+
kind: 'transport';
|
|
16
16
|
cc: number;
|
|
17
|
-
action:
|
|
17
|
+
action: 'play' | 'stop' | 'record' | 'rew' | 'ff' | 'loop';
|
|
18
18
|
} | {
|
|
19
|
-
kind:
|
|
19
|
+
kind: 'pitchbend';
|
|
20
20
|
} | {
|
|
21
|
-
kind:
|
|
21
|
+
kind: 'aftertouch';
|
|
22
22
|
};
|
|
23
23
|
export type OxygenLayout = {
|
|
24
24
|
name: string;
|
|
@@ -36,7 +36,6 @@ export type OxygenLayout = {
|
|
|
36
36
|
note: number;
|
|
37
37
|
label: string;
|
|
38
38
|
}[];
|
|
39
|
-
transport: Partial<Record<
|
|
39
|
+
transport: Partial<Record<'play' | 'stop' | 'record' | 'rew' | 'ff' | 'loop', number>>;
|
|
40
40
|
};
|
|
41
41
|
export declare const oxygen25mkiv: OxygenLayout;
|
|
42
|
-
//# sourceMappingURL=oxygen25Profile.d.ts.map
|
package/dist/models/index.d.ts
CHANGED
|
@@ -118,4 +118,3 @@ export declare function toFormDataDiffSinger(req: DiffSingerRequest): FormData;
|
|
|
118
118
|
export declare function toFormDataViSinger(req: ViSingerRequest): FormData;
|
|
119
119
|
export declare function toFormDataSoVits(req: SoVitsConvertRequest): FormData;
|
|
120
120
|
export declare function toFormDataRvc(req: RvcConvertRequest): FormData;
|
|
121
|
-
//# sourceMappingURL=modelsAiAudio.d.ts.map
|
|
@@ -47,7 +47,7 @@ export interface Pose3DSequenceResult {
|
|
|
47
47
|
frame_count: number;
|
|
48
48
|
frames: Pose3DFrame[];
|
|
49
49
|
}
|
|
50
|
-
export type PoseEngine =
|
|
50
|
+
export type PoseEngine = 'mediapipe' | 'openpose' | 'alphapose' | 'vitpose';
|
|
51
51
|
export interface Pose2DSequencePayload {
|
|
52
52
|
fps: number;
|
|
53
53
|
frames: Array<{
|
|
@@ -72,4 +72,3 @@ export declare const MIME: {
|
|
|
72
72
|
};
|
|
73
73
|
export declare const toFormDataImage: (file: File) => FormData;
|
|
74
74
|
export declare const toFormDataVideo: (file: File) => FormData;
|
|
75
|
-
//# sourceMappingURL=modelsAiVideo.d.ts.map
|
|
@@ -72,4 +72,3 @@ export interface TopSinging {
|
|
|
72
72
|
performedAt?: string;
|
|
73
73
|
}
|
|
74
74
|
export type GameMode = 'normal' | 'demo' | 'no-timeline' | 'no-lyrics' | 'no-music' | 'instrumental' | 'blind' | 'blind-no-timeline' | 'blind-instrumental' | 'editor' | 'pad';
|
|
75
|
-
//# sourceMappingURL=modelsKaraoke.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Platforms supported for account linking */
|
|
2
|
-
export type PlatformName =
|
|
2
|
+
export type PlatformName = 'spotify' | 'tidal' | 'youtube' | 'twitch' | 'google' | 'microsoft' | 'discord';
|
|
3
3
|
/** GET /api/platforms/accounts → ExternalAccountDto[] */
|
|
4
4
|
export interface ExternalAccountDto {
|
|
5
5
|
platform: PlatformName;
|
|
@@ -49,4 +49,3 @@ export interface NowPlayingDto {
|
|
|
49
49
|
/** External provider hint: "spotify" | "tidal" | "youtube" | null */
|
|
50
50
|
externalProvider?: string | null;
|
|
51
51
|
}
|
|
52
|
-
//# sourceMappingURL=modelsPlatforms.d.ts.map
|
|
@@ -111,7 +111,7 @@ export interface DynamicRule {
|
|
|
111
111
|
}
|
|
112
112
|
export type DynamicRuleGroup = {
|
|
113
113
|
id: string;
|
|
114
|
-
logic:
|
|
114
|
+
logic: 'and' | 'or';
|
|
115
115
|
rules: (DynamicRule | DynamicRuleGroup)[];
|
|
116
116
|
};
|
|
117
117
|
export interface ManagedPlaylist {
|
|
@@ -190,8 +190,7 @@ export interface PaneState {
|
|
|
190
190
|
viewMode: ViewMode;
|
|
191
191
|
}
|
|
192
192
|
export interface ClipboardState {
|
|
193
|
-
operation:
|
|
193
|
+
operation: 'copy' | 'cut';
|
|
194
194
|
sourcePlaylistId: string;
|
|
195
195
|
trackIds: string[];
|
|
196
196
|
}
|
|
197
|
-
//# sourceMappingURL=modelsPlaylistManager.d.ts.map
|
|
@@ -16,4 +16,3 @@ import { PlayerTrack } from './GenericPlayer';
|
|
|
16
16
|
export declare function nowPlayingToTrack(np: NowPlayingDto): PlayerTrack;
|
|
17
17
|
/** Check if a NowPlayingDto should be played via Spotify SDK */
|
|
18
18
|
export declare function isSpotifyPlayback(np: NowPlayingDto): boolean;
|
|
19
|
-
//# sourceMappingURL=nowPlayingAdapter.d.ts.map
|