@onjmin/dtm 0.1.86 → 0.1.87

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/dist/index.d.mts CHANGED
@@ -456,6 +456,11 @@ type StreamVoiceTrack = {
456
456
  * — klattフォールバックには効かない。
457
457
  */
458
458
  breathiness?: number;
459
+ /**
460
+ * オクターブダブル ON/OFF。既定false。ONにすると各音節を1オクターブ下(控えめな音量)で
461
+ * 同時に重ねて発音し、声に厚みを足す(オクターブユニゾン/ダブリング)。
462
+ */
463
+ octaveDouble?: boolean;
459
464
  /** 発音順(startSec昇順)の歌唱ノート列。 */
460
465
  notes: StreamVoiceNote[];
461
466
  };
@@ -675,6 +680,7 @@ type LyricSyncData = {
675
680
  vocalDelay?: number;
676
681
  vocalGender?: number;
677
682
  vocalBreathiness?: number;
683
+ vocalOctaveDouble?: boolean;
678
684
  };
679
685
  /** パッチ送受信用ノートデータ(ローカルIDを持たない)。 */
680
686
  type NoteData = {
@@ -840,6 +846,13 @@ type LyricTrack = {
840
846
  * MMLでは `@@n klatt h70 …` のように h トークンで付与する。
841
847
  */
842
848
  breathiness?: number;
849
+ /**
850
+ * オクターブダブル ON/OFF。既定false。
851
+ * ONにすると各音節を1オクターブ下(控えめな音量)で同時に重ねて発音し、声に厚みを足す
852
+ * (オクターブユニゾン/ダブリング)。
853
+ * MMLでは `@@n klatt w1 …` のように w トークンで付与する。
854
+ */
855
+ octaveDouble?: boolean;
843
856
  /** 正規化済み音節列 */
844
857
  syllables: LyricSyllable[];
845
858
  /**
@@ -865,6 +878,20 @@ type PlayDrumEvent = {
865
878
  duration: number;
866
879
  };
867
880
  type ParseMidiFn = (bytes: Uint8Array) => unknown | Promise<unknown>;
881
+ /**
882
+ * 1回の play() 呼び出しで使うフェードのスケジュール(絶対 AudioContext 時刻、秒)。
883
+ * いずれも未指定ならそちらのフェードは掛けない(曲頭から再生していない/フェード長0等)。
884
+ */
885
+ type FadeScheduleParams = {
886
+ /** フェードイン開始時刻(通常は再生アンカー時刻と同じ)。 */
887
+ fadeInStartAt?: number;
888
+ /** フェードイン完了時刻(この時刻に音量1へ到達)。 */
889
+ fadeInEndAt?: number;
890
+ /** フェードアウト開始時刻(この時刻までは音量1を維持)。 */
891
+ fadeOutStartAt?: number;
892
+ /** フェードアウト完了時刻(この時刻に音量0へ到達、通常は曲の終端)。 */
893
+ fadeOutEndAt?: number;
894
+ };
868
895
  /**
869
896
  * 永続化対象の表示・出力設定。利用側がブラウザ再訪時に復元する用途に使う。
870
897
  * (ノートやMML本体ではなく、エディタの見え方/出力の挙動の設定)
@@ -929,6 +956,16 @@ type DawOptions = {
929
956
  * テンポ同期エフェクト(ディレイ等)が実時間へ再計算するために使う。
930
957
  */
931
958
  onBpmChange?: (bpm: number) => void;
959
+ /** 曲頭のフェードイン長(秒)。既定0(フェードなし)。範囲0〜10。 */
960
+ fadeInSec?: number;
961
+ /** 曲尾のフェードアウト長(秒)。既定0(フェードなし)。範囲0〜10。 */
962
+ fadeOutSec?: number;
963
+ /**
964
+ * play() のたびに、今回の再生で使うフェードのスケジュール(絶対 AudioContext 時刻)を
965
+ * 通知する。`params` が null ならフェードを解除し音量を1へ戻す(pause/stop時)。
966
+ * 実際のゲイン自動化は呼び出し側(studio)が担う。
967
+ */
968
+ onScheduleFade?: (params: FadeScheduleParams | null) => void;
932
969
  /**
933
970
  * 表示・出力設定(ズーム / 和音分解モード / 和音伴奏トラック無視)が変化したときに呼ばれる。
934
971
  * 利用側が選択状態を永続化する用途に使う。
@@ -1486,6 +1523,12 @@ declare const applyMonophonic: (targetCore: MMLCore, chordCore: MMLCore, options
1486
1523
  * 全トラックのノートを一括でステップシフトする(負方向で範囲外は削除)。
1487
1524
  */
1488
1525
  declare const shiftNotes: (cores: MMLCore[], shiftSteps: number) => void;
1526
+ /**
1527
+ * 全トラックのノートを一括で移調する(半音単位)。歌唱ピッチもノート由来なので、
1528
+ * 歌詞トラックの歌声も一緒に移調される。MIDI範囲(0-127)を超える場合はクランプする
1529
+ * (音域外に飛んで無音・破綻するのを防ぐ)。
1530
+ */
1531
+ declare const transposeNotes: (cores: MMLCore[], semitones: number) => void;
1489
1532
 
1490
1533
  type MidiTrackAnalysis = {
1491
1534
  index: number;
@@ -1616,6 +1659,14 @@ type MmlMeta = {
1616
1659
  delay?: number;
1617
1660
  /** マスタディレイの音価("4"|"8"|"8d"|"16")。`#delaydiv=` で埋め込む。省略時は"8"。 */
1618
1661
  delayDivision?: string;
1662
+ /**
1663
+ * 曲頭のフェードイン長を10倍した整数(秒 → 0〜100)。`#fadein=` で埋め込む。省略時は0。
1664
+ */
1665
+ fadeIn?: number;
1666
+ /**
1667
+ * 曲尾のフェードアウト長を10倍した整数(秒 → 0〜100)。`#fadeout=` で埋め込む。省略時は0。
1668
+ */
1669
+ fadeOut?: number;
1619
1670
  /** DAWの動作モード(simple | advanced) */
1620
1671
  mode?: "simple" | "advanced";
1621
1672
  /**
@@ -1992,6 +2043,10 @@ type DtmStudioOptions = {
1992
2043
  delayAmount?: number;
1993
2044
  /** マスタディレイの音価(既定 "8" = 8分音符)。 */
1994
2045
  delayDivision?: DelayDivision;
2046
+ /** 曲頭のフェードイン長(秒)。既定0(フェードなし)。 */
2047
+ fadeInSec?: number;
2048
+ /** 曲尾のフェードアウト長(秒)。既定0(フェードなし)。 */
2049
+ fadeOutSec?: number;
1995
2050
  /**
1996
2051
  * 最終出力先の AudioNode。未指定時は audioCtx.destination(スピーカー)。
1997
2052
  * MediaStreamAudioDestinationNode や GainNode を指定できます。
@@ -2274,4 +2329,4 @@ declare const createSynth: (ctx: AudioContext, destination?: AudioNode, tone?: S
2274
2329
 
2275
2330
  declare const VOICE_IMAGES: Record<string, string>;
2276
2331
 
2277
- export { type AddNoteOptions, type AnyDrumPattern, type ApplyChordOptions, type ChordPatternType, type ChordPlacement, type ChordPlayerInstance, type ConsumedSyllable, type CoreEventHandlers, type CustomVocalDef, DAW_CSS, DEFAULT_BPM, DEFAULT_GATE, DEFAULT_PAN, DEFAULT_PLAYBACK_VELOCITY, DEFAULT_STEPS_PER_BAR, DEFAULT_VELOCITY, DEFAULT_VOCAL_VOLUME, DRUM_FONT, DRUM_KEYS, DRUM_PATTERNS, type DawInstance, type DawMode, type DawOptions, type DawViewState, type DrumPattern, type DrumPatternDef, type DtmStudio, type DtmStudioEngines, type DtmStudioOptions, type ExportMidiOptions, GM_INSTRUMENT_NAMES, INSTRUMENT_PRESETS, type InstrumentPreset, KOE_BASE_URL, KOE_VOICEBANKS, KOE_VOICEBANK_LABELS, KOE_VOICEBANK_TERMS, type KoeVoiceOptions, LinkedList, type LoopConfig, type LoopPoint, type LyricSyllable, type LyricSyncData, type LyricTrack, type LyricsConductor, MAX_VOCAL_VOLUME, MMLCore, type MMLDisplayToken, type MMLNotePlacement, MML_END_MARKER, type MidiExtraction, type MidiNotePlacement, MidiSearchClient, type MidiSearchConfig, type MidiTrackAnalysis, type MmlMeta, type MmlPlayback, type MmlPlayerInstance, type MmlPlayerOptions, type ModeSwitchInstance, type ModeSwitchOptions, type MountChordPlayerOptions, type MountEditorOptions, type MountPlayerOptions, type Note, type NoteData, type NoteRemove, PITCH_MAP, PREWARM_NOTES, type ParseMMLOptions, type ParseMidiFn, type ParsedMML, type PianoRollInstance, type PianoRollOptions, type PicotuneSearchParams, type PicotuneSong, type PitchToken, type PlayChordsOptions, type PlayDrumEvent, type PlayMmlOptions, type PlayNoteEvent, type PlayNoteOptions, type PlayPlacementsOptions, type PlaySingingMmlOptions, type PlaybackCue, type PlaybackState, type PresetSelectInstance, type PresetSelectOptions, type PreviewSoundCallback, type RenderConfig, type Sequencer, type SequencerOptions, type SequencerTrack, type SingingVoices, type SingingVoicesOptions, type StreamPlaybackOptions, type StreamVoiceNote, type StreamVoiceTrack, type Synth, TRACKS_ADVANCED, TRACKS_SIMPLE, type ToolMode, type TrackConfig, VIBRATO_MIN_SEC, VOICE_IMAGES, VOICE_IMAGE_KEY, type VoiceExpression, type VoiceModel, type VoiceRegistry, analyzeMidiTracks, applyHarmonicFilter, applyMonophonic, buildChordPlacements, buildDrumPatternJson, buildNameToKeyMapping, collectPitchTokens, createAudioContext, createDtmStudio, createKlattVoice, createKoeVoice, createLyricsConductor, createPianoRoll, createSequencer, createSingingVoices, createSynth, createVoiceRegistry, decodeMml, decomposeToMonophonic, drawGrid, drawHeader, drawKeyboard, drawNotes, drawSelectedNotes, drawSelectionRect, encodeMml, exportMIDI, extractDrumPatternFromNotes, extractMidiDrumPattern, extractMidiPlacements, extractMidiPlacementsByTrack, formatMmlMeta, freqFromPitch, generateRandomPattern, getDrawOffset, getDrumPatternKeys, getGridCanvas, getGridContext, getGridPosition, getHeaderCanvas, getMidiBPM, getRenderConfig, getXY, icon, init, injectStyles, isChordHeavyTrack, isPlausibleMidiTranscription, isValidHttpUrl, koeUrl, mountChordPlayer, mountDAW, mountMmlPlayer, normalizeDrumPatterns, normalizeLyrics, onClick, panToStereo, parseCustomVocals, parseLyrics, parseMML, parseMmlMeta, playChords, playMML, playNote, playPlacements, playSingingMML, resolveDrumPattern, resolveLoopPoint, setBackgroundActive, setDrawOffset, shiftNotes, showLoadingOverlay, stripCustomVocals, stripLyrics, stripMmlMeta, vocalVolumeToGain };
2332
+ export { type AddNoteOptions, type AnyDrumPattern, type ApplyChordOptions, type ChordPatternType, type ChordPlacement, type ChordPlayerInstance, type ConsumedSyllable, type CoreEventHandlers, type CustomVocalDef, DAW_CSS, DEFAULT_BPM, DEFAULT_GATE, DEFAULT_PAN, DEFAULT_PLAYBACK_VELOCITY, DEFAULT_STEPS_PER_BAR, DEFAULT_VELOCITY, DEFAULT_VOCAL_VOLUME, DRUM_FONT, DRUM_KEYS, DRUM_PATTERNS, type DawInstance, type DawMode, type DawOptions, type DawViewState, type DrumPattern, type DrumPatternDef, type DtmStudio, type DtmStudioEngines, type DtmStudioOptions, type ExportMidiOptions, type FadeScheduleParams, GM_INSTRUMENT_NAMES, INSTRUMENT_PRESETS, type InstrumentPreset, KOE_BASE_URL, KOE_VOICEBANKS, KOE_VOICEBANK_LABELS, KOE_VOICEBANK_TERMS, type KoeVoiceOptions, LinkedList, type LoopConfig, type LoopPoint, type LyricSyllable, type LyricSyncData, type LyricTrack, type LyricsConductor, MAX_VOCAL_VOLUME, MMLCore, type MMLDisplayToken, type MMLNotePlacement, MML_END_MARKER, type MidiExtraction, type MidiNotePlacement, MidiSearchClient, type MidiSearchConfig, type MidiTrackAnalysis, type MmlMeta, type MmlPlayback, type MmlPlayerInstance, type MmlPlayerOptions, type ModeSwitchInstance, type ModeSwitchOptions, type MountChordPlayerOptions, type MountEditorOptions, type MountPlayerOptions, type Note, type NoteData, type NoteRemove, PITCH_MAP, PREWARM_NOTES, type ParseMMLOptions, type ParseMidiFn, type ParsedMML, type PianoRollInstance, type PianoRollOptions, type PicotuneSearchParams, type PicotuneSong, type PitchToken, type PlayChordsOptions, type PlayDrumEvent, type PlayMmlOptions, type PlayNoteEvent, type PlayNoteOptions, type PlayPlacementsOptions, type PlaySingingMmlOptions, type PlaybackCue, type PlaybackState, type PresetSelectInstance, type PresetSelectOptions, type PreviewSoundCallback, type RenderConfig, type Sequencer, type SequencerOptions, type SequencerTrack, type SingingVoices, type SingingVoicesOptions, type StreamPlaybackOptions, type StreamVoiceNote, type StreamVoiceTrack, type Synth, TRACKS_ADVANCED, TRACKS_SIMPLE, type ToolMode, type TrackConfig, VIBRATO_MIN_SEC, VOICE_IMAGES, VOICE_IMAGE_KEY, type VoiceExpression, type VoiceModel, type VoiceRegistry, analyzeMidiTracks, applyHarmonicFilter, applyMonophonic, buildChordPlacements, buildDrumPatternJson, buildNameToKeyMapping, collectPitchTokens, createAudioContext, createDtmStudio, createKlattVoice, createKoeVoice, createLyricsConductor, createPianoRoll, createSequencer, createSingingVoices, createSynth, createVoiceRegistry, decodeMml, decomposeToMonophonic, drawGrid, drawHeader, drawKeyboard, drawNotes, drawSelectedNotes, drawSelectionRect, encodeMml, exportMIDI, extractDrumPatternFromNotes, extractMidiDrumPattern, extractMidiPlacements, extractMidiPlacementsByTrack, formatMmlMeta, freqFromPitch, generateRandomPattern, getDrawOffset, getDrumPatternKeys, getGridCanvas, getGridContext, getGridPosition, getHeaderCanvas, getMidiBPM, getRenderConfig, getXY, icon, init, injectStyles, isChordHeavyTrack, isPlausibleMidiTranscription, isValidHttpUrl, koeUrl, mountChordPlayer, mountDAW, mountMmlPlayer, normalizeDrumPatterns, normalizeLyrics, onClick, panToStereo, parseCustomVocals, parseLyrics, parseMML, parseMmlMeta, playChords, playMML, playNote, playPlacements, playSingingMML, resolveDrumPattern, resolveLoopPoint, setBackgroundActive, setDrawOffset, shiftNotes, showLoadingOverlay, stripCustomVocals, stripLyrics, stripMmlMeta, transposeNotes, vocalVolumeToGain };
package/dist/index.d.ts CHANGED
@@ -456,6 +456,11 @@ type StreamVoiceTrack = {
456
456
  * — klattフォールバックには効かない。
457
457
  */
458
458
  breathiness?: number;
459
+ /**
460
+ * オクターブダブル ON/OFF。既定false。ONにすると各音節を1オクターブ下(控えめな音量)で
461
+ * 同時に重ねて発音し、声に厚みを足す(オクターブユニゾン/ダブリング)。
462
+ */
463
+ octaveDouble?: boolean;
459
464
  /** 発音順(startSec昇順)の歌唱ノート列。 */
460
465
  notes: StreamVoiceNote[];
461
466
  };
@@ -675,6 +680,7 @@ type LyricSyncData = {
675
680
  vocalDelay?: number;
676
681
  vocalGender?: number;
677
682
  vocalBreathiness?: number;
683
+ vocalOctaveDouble?: boolean;
678
684
  };
679
685
  /** パッチ送受信用ノートデータ(ローカルIDを持たない)。 */
680
686
  type NoteData = {
@@ -840,6 +846,13 @@ type LyricTrack = {
840
846
  * MMLでは `@@n klatt h70 …` のように h トークンで付与する。
841
847
  */
842
848
  breathiness?: number;
849
+ /**
850
+ * オクターブダブル ON/OFF。既定false。
851
+ * ONにすると各音節を1オクターブ下(控えめな音量)で同時に重ねて発音し、声に厚みを足す
852
+ * (オクターブユニゾン/ダブリング)。
853
+ * MMLでは `@@n klatt w1 …` のように w トークンで付与する。
854
+ */
855
+ octaveDouble?: boolean;
843
856
  /** 正規化済み音節列 */
844
857
  syllables: LyricSyllable[];
845
858
  /**
@@ -865,6 +878,20 @@ type PlayDrumEvent = {
865
878
  duration: number;
866
879
  };
867
880
  type ParseMidiFn = (bytes: Uint8Array) => unknown | Promise<unknown>;
881
+ /**
882
+ * 1回の play() 呼び出しで使うフェードのスケジュール(絶対 AudioContext 時刻、秒)。
883
+ * いずれも未指定ならそちらのフェードは掛けない(曲頭から再生していない/フェード長0等)。
884
+ */
885
+ type FadeScheduleParams = {
886
+ /** フェードイン開始時刻(通常は再生アンカー時刻と同じ)。 */
887
+ fadeInStartAt?: number;
888
+ /** フェードイン完了時刻(この時刻に音量1へ到達)。 */
889
+ fadeInEndAt?: number;
890
+ /** フェードアウト開始時刻(この時刻までは音量1を維持)。 */
891
+ fadeOutStartAt?: number;
892
+ /** フェードアウト完了時刻(この時刻に音量0へ到達、通常は曲の終端)。 */
893
+ fadeOutEndAt?: number;
894
+ };
868
895
  /**
869
896
  * 永続化対象の表示・出力設定。利用側がブラウザ再訪時に復元する用途に使う。
870
897
  * (ノートやMML本体ではなく、エディタの見え方/出力の挙動の設定)
@@ -929,6 +956,16 @@ type DawOptions = {
929
956
  * テンポ同期エフェクト(ディレイ等)が実時間へ再計算するために使う。
930
957
  */
931
958
  onBpmChange?: (bpm: number) => void;
959
+ /** 曲頭のフェードイン長(秒)。既定0(フェードなし)。範囲0〜10。 */
960
+ fadeInSec?: number;
961
+ /** 曲尾のフェードアウト長(秒)。既定0(フェードなし)。範囲0〜10。 */
962
+ fadeOutSec?: number;
963
+ /**
964
+ * play() のたびに、今回の再生で使うフェードのスケジュール(絶対 AudioContext 時刻)を
965
+ * 通知する。`params` が null ならフェードを解除し音量を1へ戻す(pause/stop時)。
966
+ * 実際のゲイン自動化は呼び出し側(studio)が担う。
967
+ */
968
+ onScheduleFade?: (params: FadeScheduleParams | null) => void;
932
969
  /**
933
970
  * 表示・出力設定(ズーム / 和音分解モード / 和音伴奏トラック無視)が変化したときに呼ばれる。
934
971
  * 利用側が選択状態を永続化する用途に使う。
@@ -1486,6 +1523,12 @@ declare const applyMonophonic: (targetCore: MMLCore, chordCore: MMLCore, options
1486
1523
  * 全トラックのノートを一括でステップシフトする(負方向で範囲外は削除)。
1487
1524
  */
1488
1525
  declare const shiftNotes: (cores: MMLCore[], shiftSteps: number) => void;
1526
+ /**
1527
+ * 全トラックのノートを一括で移調する(半音単位)。歌唱ピッチもノート由来なので、
1528
+ * 歌詞トラックの歌声も一緒に移調される。MIDI範囲(0-127)を超える場合はクランプする
1529
+ * (音域外に飛んで無音・破綻するのを防ぐ)。
1530
+ */
1531
+ declare const transposeNotes: (cores: MMLCore[], semitones: number) => void;
1489
1532
 
1490
1533
  type MidiTrackAnalysis = {
1491
1534
  index: number;
@@ -1616,6 +1659,14 @@ type MmlMeta = {
1616
1659
  delay?: number;
1617
1660
  /** マスタディレイの音価("4"|"8"|"8d"|"16")。`#delaydiv=` で埋め込む。省略時は"8"。 */
1618
1661
  delayDivision?: string;
1662
+ /**
1663
+ * 曲頭のフェードイン長を10倍した整数(秒 → 0〜100)。`#fadein=` で埋め込む。省略時は0。
1664
+ */
1665
+ fadeIn?: number;
1666
+ /**
1667
+ * 曲尾のフェードアウト長を10倍した整数(秒 → 0〜100)。`#fadeout=` で埋め込む。省略時は0。
1668
+ */
1669
+ fadeOut?: number;
1619
1670
  /** DAWの動作モード(simple | advanced) */
1620
1671
  mode?: "simple" | "advanced";
1621
1672
  /**
@@ -1992,6 +2043,10 @@ type DtmStudioOptions = {
1992
2043
  delayAmount?: number;
1993
2044
  /** マスタディレイの音価(既定 "8" = 8分音符)。 */
1994
2045
  delayDivision?: DelayDivision;
2046
+ /** 曲頭のフェードイン長(秒)。既定0(フェードなし)。 */
2047
+ fadeInSec?: number;
2048
+ /** 曲尾のフェードアウト長(秒)。既定0(フェードなし)。 */
2049
+ fadeOutSec?: number;
1995
2050
  /**
1996
2051
  * 最終出力先の AudioNode。未指定時は audioCtx.destination(スピーカー)。
1997
2052
  * MediaStreamAudioDestinationNode や GainNode を指定できます。
@@ -2274,4 +2329,4 @@ declare const createSynth: (ctx: AudioContext, destination?: AudioNode, tone?: S
2274
2329
 
2275
2330
  declare const VOICE_IMAGES: Record<string, string>;
2276
2331
 
2277
- export { type AddNoteOptions, type AnyDrumPattern, type ApplyChordOptions, type ChordPatternType, type ChordPlacement, type ChordPlayerInstance, type ConsumedSyllable, type CoreEventHandlers, type CustomVocalDef, DAW_CSS, DEFAULT_BPM, DEFAULT_GATE, DEFAULT_PAN, DEFAULT_PLAYBACK_VELOCITY, DEFAULT_STEPS_PER_BAR, DEFAULT_VELOCITY, DEFAULT_VOCAL_VOLUME, DRUM_FONT, DRUM_KEYS, DRUM_PATTERNS, type DawInstance, type DawMode, type DawOptions, type DawViewState, type DrumPattern, type DrumPatternDef, type DtmStudio, type DtmStudioEngines, type DtmStudioOptions, type ExportMidiOptions, GM_INSTRUMENT_NAMES, INSTRUMENT_PRESETS, type InstrumentPreset, KOE_BASE_URL, KOE_VOICEBANKS, KOE_VOICEBANK_LABELS, KOE_VOICEBANK_TERMS, type KoeVoiceOptions, LinkedList, type LoopConfig, type LoopPoint, type LyricSyllable, type LyricSyncData, type LyricTrack, type LyricsConductor, MAX_VOCAL_VOLUME, MMLCore, type MMLDisplayToken, type MMLNotePlacement, MML_END_MARKER, type MidiExtraction, type MidiNotePlacement, MidiSearchClient, type MidiSearchConfig, type MidiTrackAnalysis, type MmlMeta, type MmlPlayback, type MmlPlayerInstance, type MmlPlayerOptions, type ModeSwitchInstance, type ModeSwitchOptions, type MountChordPlayerOptions, type MountEditorOptions, type MountPlayerOptions, type Note, type NoteData, type NoteRemove, PITCH_MAP, PREWARM_NOTES, type ParseMMLOptions, type ParseMidiFn, type ParsedMML, type PianoRollInstance, type PianoRollOptions, type PicotuneSearchParams, type PicotuneSong, type PitchToken, type PlayChordsOptions, type PlayDrumEvent, type PlayMmlOptions, type PlayNoteEvent, type PlayNoteOptions, type PlayPlacementsOptions, type PlaySingingMmlOptions, type PlaybackCue, type PlaybackState, type PresetSelectInstance, type PresetSelectOptions, type PreviewSoundCallback, type RenderConfig, type Sequencer, type SequencerOptions, type SequencerTrack, type SingingVoices, type SingingVoicesOptions, type StreamPlaybackOptions, type StreamVoiceNote, type StreamVoiceTrack, type Synth, TRACKS_ADVANCED, TRACKS_SIMPLE, type ToolMode, type TrackConfig, VIBRATO_MIN_SEC, VOICE_IMAGES, VOICE_IMAGE_KEY, type VoiceExpression, type VoiceModel, type VoiceRegistry, analyzeMidiTracks, applyHarmonicFilter, applyMonophonic, buildChordPlacements, buildDrumPatternJson, buildNameToKeyMapping, collectPitchTokens, createAudioContext, createDtmStudio, createKlattVoice, createKoeVoice, createLyricsConductor, createPianoRoll, createSequencer, createSingingVoices, createSynth, createVoiceRegistry, decodeMml, decomposeToMonophonic, drawGrid, drawHeader, drawKeyboard, drawNotes, drawSelectedNotes, drawSelectionRect, encodeMml, exportMIDI, extractDrumPatternFromNotes, extractMidiDrumPattern, extractMidiPlacements, extractMidiPlacementsByTrack, formatMmlMeta, freqFromPitch, generateRandomPattern, getDrawOffset, getDrumPatternKeys, getGridCanvas, getGridContext, getGridPosition, getHeaderCanvas, getMidiBPM, getRenderConfig, getXY, icon, init, injectStyles, isChordHeavyTrack, isPlausibleMidiTranscription, isValidHttpUrl, koeUrl, mountChordPlayer, mountDAW, mountMmlPlayer, normalizeDrumPatterns, normalizeLyrics, onClick, panToStereo, parseCustomVocals, parseLyrics, parseMML, parseMmlMeta, playChords, playMML, playNote, playPlacements, playSingingMML, resolveDrumPattern, resolveLoopPoint, setBackgroundActive, setDrawOffset, shiftNotes, showLoadingOverlay, stripCustomVocals, stripLyrics, stripMmlMeta, vocalVolumeToGain };
2332
+ export { type AddNoteOptions, type AnyDrumPattern, type ApplyChordOptions, type ChordPatternType, type ChordPlacement, type ChordPlayerInstance, type ConsumedSyllable, type CoreEventHandlers, type CustomVocalDef, DAW_CSS, DEFAULT_BPM, DEFAULT_GATE, DEFAULT_PAN, DEFAULT_PLAYBACK_VELOCITY, DEFAULT_STEPS_PER_BAR, DEFAULT_VELOCITY, DEFAULT_VOCAL_VOLUME, DRUM_FONT, DRUM_KEYS, DRUM_PATTERNS, type DawInstance, type DawMode, type DawOptions, type DawViewState, type DrumPattern, type DrumPatternDef, type DtmStudio, type DtmStudioEngines, type DtmStudioOptions, type ExportMidiOptions, type FadeScheduleParams, GM_INSTRUMENT_NAMES, INSTRUMENT_PRESETS, type InstrumentPreset, KOE_BASE_URL, KOE_VOICEBANKS, KOE_VOICEBANK_LABELS, KOE_VOICEBANK_TERMS, type KoeVoiceOptions, LinkedList, type LoopConfig, type LoopPoint, type LyricSyllable, type LyricSyncData, type LyricTrack, type LyricsConductor, MAX_VOCAL_VOLUME, MMLCore, type MMLDisplayToken, type MMLNotePlacement, MML_END_MARKER, type MidiExtraction, type MidiNotePlacement, MidiSearchClient, type MidiSearchConfig, type MidiTrackAnalysis, type MmlMeta, type MmlPlayback, type MmlPlayerInstance, type MmlPlayerOptions, type ModeSwitchInstance, type ModeSwitchOptions, type MountChordPlayerOptions, type MountEditorOptions, type MountPlayerOptions, type Note, type NoteData, type NoteRemove, PITCH_MAP, PREWARM_NOTES, type ParseMMLOptions, type ParseMidiFn, type ParsedMML, type PianoRollInstance, type PianoRollOptions, type PicotuneSearchParams, type PicotuneSong, type PitchToken, type PlayChordsOptions, type PlayDrumEvent, type PlayMmlOptions, type PlayNoteEvent, type PlayNoteOptions, type PlayPlacementsOptions, type PlaySingingMmlOptions, type PlaybackCue, type PlaybackState, type PresetSelectInstance, type PresetSelectOptions, type PreviewSoundCallback, type RenderConfig, type Sequencer, type SequencerOptions, type SequencerTrack, type SingingVoices, type SingingVoicesOptions, type StreamPlaybackOptions, type StreamVoiceNote, type StreamVoiceTrack, type Synth, TRACKS_ADVANCED, TRACKS_SIMPLE, type ToolMode, type TrackConfig, VIBRATO_MIN_SEC, VOICE_IMAGES, VOICE_IMAGE_KEY, type VoiceExpression, type VoiceModel, type VoiceRegistry, analyzeMidiTracks, applyHarmonicFilter, applyMonophonic, buildChordPlacements, buildDrumPatternJson, buildNameToKeyMapping, collectPitchTokens, createAudioContext, createDtmStudio, createKlattVoice, createKoeVoice, createLyricsConductor, createPianoRoll, createSequencer, createSingingVoices, createSynth, createVoiceRegistry, decodeMml, decomposeToMonophonic, drawGrid, drawHeader, drawKeyboard, drawNotes, drawSelectedNotes, drawSelectionRect, encodeMml, exportMIDI, extractDrumPatternFromNotes, extractMidiDrumPattern, extractMidiPlacements, extractMidiPlacementsByTrack, formatMmlMeta, freqFromPitch, generateRandomPattern, getDrawOffset, getDrumPatternKeys, getGridCanvas, getGridContext, getGridPosition, getHeaderCanvas, getMidiBPM, getRenderConfig, getXY, icon, init, injectStyles, isChordHeavyTrack, isPlausibleMidiTranscription, isValidHttpUrl, koeUrl, mountChordPlayer, mountDAW, mountMmlPlayer, normalizeDrumPatterns, normalizeLyrics, onClick, panToStereo, parseCustomVocals, parseLyrics, parseMML, parseMmlMeta, playChords, playMML, playNote, playPlacements, playSingingMML, resolveDrumPattern, resolveLoopPoint, setBackgroundActive, setDrawOffset, shiftNotes, showLoadingOverlay, stripCustomVocals, stripLyrics, stripMmlMeta, transposeNotes, vocalVolumeToGain };