@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
|
@@ -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
|
|
@@ -23,4 +23,3 @@ export declare const NiceKaraokeSelectionMode: React.FC<NiceKaraokeSelectionMode
|
|
|
23
23
|
/** Hook: can the given player currently pick a song? */
|
|
24
24
|
export declare function useCanPickSong(mode: SongSelectionMode, activePlayerIndex: number, hostIndex: number, playerIndex: number): boolean;
|
|
25
25
|
export default NiceKaraokeSelectionMode;
|
|
26
|
-
//# sourceMappingURL=KaraokeSelectionMode.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
|
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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -9,4 +9,3 @@ export type RipplesState = {
|
|
|
9
9
|
items: Ripple[];
|
|
10
10
|
};
|
|
11
11
|
export declare function drawColorRipples(g: CanvasRenderingContext2D, w: number, h: number, energy: number, baseHue: number, stateRef: React.MutableRefObject<RipplesState | null>): void;
|
|
12
|
-
//# sourceMappingURL=ColorRipplesMode.d.ts.map
|
|
@@ -11,4 +11,3 @@ export type FireplaceState = {
|
|
|
11
11
|
t: number;
|
|
12
12
|
};
|
|
13
13
|
export declare function drawCozyFireplace(g: CanvasRenderingContext2D, w: number, h: number, bins: Uint8Array, energy: number, baseHue: number, stateRef: React.MutableRefObject<FireplaceState | null>): void;
|
|
14
|
-
//# sourceMappingURL=CozyFireplaceMode.d.ts.map
|
|
@@ -15,4 +15,3 @@ export type ImageTornadoState = {
|
|
|
15
15
|
};
|
|
16
16
|
export declare function ensureTornadoState(stateRef: React.MutableRefObject<ImageTornadoState | null>, urls: string[], count: number, w: number, h: number): Promise<void>;
|
|
17
17
|
export declare function drawImageTornado(g: CanvasRenderingContext2D, w: number, h: number, energy: number, baseHue: number, stateRef: React.MutableRefObject<ImageTornadoState | null>, _urls: string[], _count: number): void;
|
|
18
|
-
//# sourceMappingURL=ImageTornadoMode.d.ts.map
|
|
@@ -10,4 +10,3 @@ export type LavaBlobState = {
|
|
|
10
10
|
blobs: LavaBlob[];
|
|
11
11
|
};
|
|
12
12
|
export declare function drawLavaLamp(g: CanvasRenderingContext2D, w: number, h: number, energy: number, baseHue: number, stateRef: React.MutableRefObject<LavaBlobState | null>): void;
|
|
13
|
-
//# sourceMappingURL=LavaLampMode.d.ts.map
|
|
@@ -8,4 +8,3 @@ export type TrianglesState = {
|
|
|
8
8
|
};
|
|
9
9
|
export declare function drawNeonTriangles(g: CanvasRenderingContext2D, w: number, h: number, energy: number, baseHue: number, stateRef: React.MutableRefObject<TrianglesState | null>): void;
|
|
10
10
|
export {};
|
|
11
|
-
//# sourceMappingURL=NeonTrianglesMode.d.ts.map
|