@onjmin/dtm 2.1.10 → 2.1.11
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 +83 -7
- package/dist/index.d.ts +83 -7
- package/dist/index.js +1062 -763
- package/dist/index.mjs +1062 -763
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -741,13 +741,29 @@ declare const buildSectionPlan: (kinds: SectionKind[], templateName?: string) =>
|
|
|
741
741
|
* ## 引いて、測って、選ぶ
|
|
742
742
|
*
|
|
743
743
|
* {@link DRAW_COUNT} 本の候補を独立に引き、{@link HARD} に触れたものだけを捨てて、
|
|
744
|
-
*
|
|
745
|
-
*
|
|
744
|
+
* 残りから**確率的に**引く({@link evaluate}・{@link SELECT_TEMPERATURE})。合否ではなく
|
|
745
|
+
* 点数にしてあるのは「構造は良いが休符率が 0.09 だったので捨てる」を避けるため。
|
|
746
|
+
* 最大値を必ず取っていた頃は、**引く本数を増やすほど分布が狭まっていた**——
|
|
747
|
+
* 順次進行の幅が 0.25〜0.86(1本)→ 0.32〜0.65(40本)と、採点式の頂点1点へ収束する。
|
|
746
748
|
*
|
|
747
749
|
* 採点の目標帯({@link CORPUS_BANDS})は**人間が書いたMIDIから実測した分布**で、手で
|
|
748
|
-
* 決めた定数ではない。較正は `scripts/calibrate-corpus.ts
|
|
749
|
-
*
|
|
750
|
-
*
|
|
750
|
+
* 決めた定数ではない。較正は `scripts/calibrate-corpus.ts`。
|
|
751
|
+
*
|
|
752
|
+
* ## 「中央値へ寄せる」のをやめた理由
|
|
753
|
+
*
|
|
754
|
+
* 以前は帯の内側にも中央値へ向かう傾斜を付けていた(`centeredBand`)。全項目が帯の端へ
|
|
755
|
+
* 同時に寄った曲を弾くためだったが、**目標帯は21項目を独立に採った周辺分布**なので、
|
|
756
|
+
* その中央値は「どの曲でもない平均的な一点」でしかない。コーパス91本を自分の帯で
|
|
757
|
+
* 測り直すと、人間の曲は中央値で**10項目が帯の外**にあり、素点の中央値は 0.673——
|
|
758
|
+
* **生成物(0.851)のほうが較正元より高い点を取っていた**。選抜を完全に切っても
|
|
759
|
+
* 生成物 0.970 対 人間 0.921 で、選抜ではなく採点式そのものが中央を報酬にしていた。
|
|
760
|
+
*
|
|
761
|
+
* そこで周辺分布の項目は「人間の範囲に居るか」の確認だけに格下げし(`plausibleBand`)、
|
|
762
|
+
* 「人間が書いた曲の形か」の判断は**項目の組み合わせ**——コーパス91本のうち
|
|
763
|
+
* **いちばん近い1曲との距離**(`nearestProfileDistance`、重み `typicality`)——へ渡した。
|
|
764
|
+
* 中央から離れることではなく、**人が1本も居ない場所に居ること**を罰する形にしてある。
|
|
765
|
+
* さらに、人間の曲が普通いくつの軸を外すかを実測して {@link DEVIATION_BUDGET} とし、
|
|
766
|
+
* その本数だけは減点を見逃す。検算は `scripts/check-evaluator.ts`。
|
|
751
767
|
*
|
|
752
768
|
* 指標に最適化した結果として全曲が同じ統計値へ寄るのを防ぐため、直近に作った曲との
|
|
753
769
|
* 距離も加点する({@link ComposeOptions.recent})。
|
|
@@ -759,6 +775,33 @@ declare const buildSectionPlan: (kinds: SectionKind[], templateName?: string) =>
|
|
|
759
775
|
* 前後を比べる。耳で確かめるときは `scripts/export-samples.ts` で .mid を書き出す。
|
|
760
776
|
*/
|
|
761
777
|
|
|
778
|
+
/**
|
|
779
|
+
* 曲の**展開の仕方**。
|
|
780
|
+
*
|
|
781
|
+
* - `motif` … 2小節のモチーフを反復・セクエンツ・オクターブ上げの3通りに変形して
|
|
782
|
+
* 展開する。J-POPの歌モノの作り。
|
|
783
|
+
* - `ostinato` … **同じ型を曲全体で回す。**変形しない。対比は編曲(ドラム・楽器・
|
|
784
|
+
* レイヤ)の側が担う。
|
|
785
|
+
* - `through` … **通し作曲。**同じ楽句を再現せず、書き進める。
|
|
786
|
+
* 反復が戻ってこない側の作り。
|
|
787
|
+
*
|
|
788
|
+
* ## なぜ要るか
|
|
789
|
+
*
|
|
790
|
+
* 初版は `motif` しか無く、しかも小節の役割が**セクション種別で決め打ち**だった
|
|
791
|
+
* (サビは必ず `climax` =オクターブ上げ、それ以外はほぼ `sequence`)。その結果、
|
|
792
|
+
* 生成系の反復プロファイルが**上にも下にも詰まった**狭い帯に固定されていた。
|
|
793
|
+
*
|
|
794
|
+
* 自己相似 sim1 の生成系レンジ 0.31〜0.76/sim4 0.58〜0.86
|
|
795
|
+
*
|
|
796
|
+
* 実測(`scripts/compare-reach.ts`)で、採点を完全に切って1500本引いても
|
|
797
|
+
* コーパス91本のうち27本へ到達できず、**その原因の1位が sim4/sim8 の各19本**だった。
|
|
798
|
+
* 通し作曲(低い側)にも静的なリフ(高い側・ヤツメ穴の sim1 は 0.97)にもなれない。
|
|
799
|
+
* 採点式をどう直してもこれは出ないので、生成の型そのものを増やす。
|
|
800
|
+
*
|
|
801
|
+
* `ostinato` を入れて上限を開けた後も、未到達26本の原因1位は依然 sim系だった
|
|
802
|
+
* (下側が空いたまま)。そこで `through` を足して反復の**下限**も開けている。
|
|
803
|
+
*/
|
|
804
|
+
type MelodyForm = "motif" | "ostinato" | "through";
|
|
762
805
|
type ComposedNote = {
|
|
763
806
|
startStep: number;
|
|
764
807
|
pitchUnits: Units;
|
|
@@ -839,6 +882,11 @@ type ComposeOptions = {
|
|
|
839
882
|
* 省略時は "any"(全24調からランダム抽選)。
|
|
840
883
|
*/
|
|
841
884
|
baseKey?: string;
|
|
885
|
+
/**
|
|
886
|
+
* 展開の仕方(`"auto"` | `"motif"` | `"ostinato"`)。省略時は `"auto"` で曲ごとに引く。
|
|
887
|
+
* `"ostinato"` は同じ型を曲全体で回すリフ主体の作り。{@link MelodyForm}
|
|
888
|
+
*/
|
|
889
|
+
form?: string;
|
|
842
890
|
/**
|
|
843
891
|
* 音階の指定(`"auto"` | `"any"` | 音階ID)。省略時は `"auto"` で、
|
|
844
892
|
* ベース調の長短に合わせて陽音階(長調)/民謡音階(短調)を使う——
|
|
@@ -865,6 +913,8 @@ type ComposeResult = {
|
|
|
865
913
|
scaleId: ComposeScaleId;
|
|
866
914
|
/** 曲の音階の表示ラベル(例: "琉球音階")。 */
|
|
867
915
|
scaleLabel: string;
|
|
916
|
+
/** 曲の展開の仕方。{@link MelodyForm} */
|
|
917
|
+
form: MelodyForm;
|
|
868
918
|
/** 雰囲気カテゴリのラベル(該当する場合)。 */
|
|
869
919
|
moodLabel?: string;
|
|
870
920
|
/** 曲のテンポ(BPM)。 */
|
|
@@ -2806,6 +2856,32 @@ type InstrumentPreset = {
|
|
|
2806
2856
|
* 別トラックへ書き分けること**。
|
|
2807
2857
|
*/
|
|
2808
2858
|
chorusLead: string;
|
|
2859
|
+
/**
|
|
2860
|
+
* 伴奏の2色目。**同じ進行を別の奏法で鳴らす層を、別の音色にするため**にある。
|
|
2861
|
+
*
|
|
2862
|
+
* 上級者モードは伴奏を t7〜t9 の3本に書き分けていて、奏法(`ChordPatternType`)は
|
|
2863
|
+
* 実際に別のリズムになっている——発音位置の一致は中央 Jaccard 0.13、ほぼ完全一致は
|
|
2864
|
+
* 4%しかない。にもかかわらず**t6〜t10 の5本すべてが `chord` の1楽器**だったため、
|
|
2865
|
+
* せっかく書き分けた層が同じ音色で重なって団子になっていた。
|
|
2866
|
+
* `chord` と喧嘩しない、かつ他のスロットと被らないものを選ぶこと。
|
|
2867
|
+
*/
|
|
2868
|
+
chordAlt: string;
|
|
2869
|
+
/**
|
|
2870
|
+
* ウワモノ(装飾)の楽器。高い位置で薄く鳴らす、きらびやかな音。
|
|
2871
|
+
* ここも以前は `chord` を使い回していた。
|
|
2872
|
+
*/
|
|
2873
|
+
sparkle: string;
|
|
2874
|
+
/**
|
|
2875
|
+
* ベースの2色目。**セクションでベースの音色を替える**ために使う。
|
|
2876
|
+
* t4 が静かな側、t5 が盛り上がる側を持ち、**同じ音を二度鳴らさずに**
|
|
2877
|
+
* 境目で音色だけが入れ替わる。`bass` と喧嘩しない同族を選ぶこと。
|
|
2878
|
+
*/
|
|
2879
|
+
bassAlt: string;
|
|
2880
|
+
/**
|
|
2881
|
+
* ハモリの2色目。同じくセクションで音色を替えるため(t2 が静かな側、
|
|
2882
|
+
* t12 が盛り上がる側)。ハモリは声部なので、声もの・柔らかい持続音が合う。
|
|
2883
|
+
*/
|
|
2884
|
+
harmonyAlt: string;
|
|
2809
2885
|
};
|
|
2810
2886
|
declare const INSTRUMENT_PRESETS: Record<string, InstrumentPreset>;
|
|
2811
2887
|
/**
|
|
@@ -3928,7 +4004,7 @@ type Synth = {
|
|
|
3928
4004
|
type SynthTone = {
|
|
3929
4005
|
/** オシレータ波形。既定 "square" */
|
|
3930
4006
|
wave?: OscillatorType;
|
|
3931
|
-
/** アタック秒(0
|
|
4007
|
+
/** アタック秒(0 でも {@link MIN_ATTACK_SEC} だけは掛かる)。既定 0 */
|
|
3932
4008
|
attack?: number;
|
|
3933
4009
|
/** true でピアノ/ギター的な指数減衰(持続音でなく減衰音になる) */
|
|
3934
4010
|
decay?: boolean;
|
|
@@ -3958,4 +4034,4 @@ declare const encodeWavPCM16: (channels: Float32Array[], sampleRate: number) =>
|
|
|
3958
4034
|
/** Float32Array のチャンクを1本へ連結する。 */
|
|
3959
4035
|
declare const concatFloat32: (chunks: Float32Array[]) => Float32Array;
|
|
3960
4036
|
|
|
3961
|
-
export { A4_HZ, A4_UNITS, type AddNoteOptions, type AnyDrumPattern, type ApplyChordOptions, BLUES_SCALE, BREATH_MARK, type Band, CENTS_PER_UNIT, COMPOSE_KEYS, COMPOSE_MOOD_GROUPS, COMPOSE_SCALES, COMPOSE_SCALE_IDS, CORPUS_BANDS, CORPUS_SIZE, type ChordPatternType, type ChordPlacement, type ChordPlayerInstance, type ComposeKeyTarget, type ComposeMoodGroup, type ComposeMoodId, type ComposeOptions, type ComposeResult, type ComposeScale, type ComposeScaleId, type ComposeStats, type ComposedNote, type ConsumedSyllable, type CoreEventHandlers, type CustomVocalDef, DAW_CSS, DEFAULT_BPM, DEFAULT_EDO, DEFAULT_GATE, DEFAULT_PAN, DEFAULT_PLAYBACK_VELOCITY, DEFAULT_SECTIONS, 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, EDO31_NAMES, type Edo, type ExportMidiOptions, type ExportMidiTrack, FADE_IN_MARK, FADE_OUT_MARK, type FadeScheduleParams, GLOBAL_STORAGE_KEYS, GM_BRIGHT_CEILING, GM_INSTRUMENT_NAMES, GM_INSTRUMENT_RANGE, type GlobalStorageKey, HARMONIC_MINOR_SCALE, HUNGARIAN_SCALE, INSTRUMENT_PRESETS, type InstrumentPreset, KEY_COUNT, KOE_BASE_URL, KOE_VOICEBANKS, KOE_VOICEBANK_LABELS, KOE_VOICEBANK_TERMS, type KeyMode, type KoeVoiceOptions, LinkedList, type LoopConfig, type LoopPoint, type LyricSyllable, type LyricSyllableKind, type LyricSyncData, type LyricTrack, type LyricsConductor, MACRO_STORAGE_KEYS, MAJOR_KEY_IDS, MAJOR_SCALE, MAX_VOCAL_VOLUME, MICRO_STEP, MINOR_KEY_IDS, MMLCore, type MMLDisplayToken, type MMLNotePlacement, MML_END_MARKER, type MacroStorageKey, type MetricNote, type MetricOptions, type MidiExtraction, type MidiNote, 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, type OctaveUnisonMode, PITCH_ENCODING_VERSION, PITCH_MAP, PITCH_RANGE_END, PITCH_RANGE_START, PORTAMENTO_MARK, PREWARM_NOTES, type ParseMMLOptions, type ParseMidiFn, type ParsedMML, type PianoRollInstance, type PianoRollOptions, type PicotuneSearchParams, type PicotuneSong, type PitchSegment, type PitchToken, type PlacedSection, type PlayChordsOptions, type PlayDrumEvent, type PlayMmlOptions, type PlayNoteEvent, type PlayNoteOptions, type PlayPlacementsOptions, type PlaySingingMmlOptions, type PlaybackCue, type PlaybackState, type PresetSelectInstance, type PresetSelectOptions, type PreviewSoundCallback, REST_MARK, type RenderConfig, type Renderer, type ResolvedComposeKey, SECTION_LABELS, SECTION_ORDER, SECTION_SPECS, STOP_MARK, type ScaleDegree, type SectionKind, type SectionSpec, type Sequencer, type SequencerOptions, type SequencerTrack, type SingingVoices, type SingingVoicesOptions, type StreamPlaybackOptions, type StreamVoiceNote, type StreamVoiceNoteOptions, type StreamVoiceTrack, type StructureFeatures, type Synth, TIE_MARK, TIE_MERGE_MAX_SEC, TRACKS_ADVANCED, TRACKS_SIMPLE, type TensionFeatures, type TieSourceNote, type TonicCenter, type TonicDegree, type ToolMode, type TrackConfig, UNITS_PER_EDO31_DEGREE, UNITS_PER_OCTAVE, UNITS_PER_SEMITONE, type Units, VIBRATO_MIN_SEC, VOICE_IMAGES, VOICE_IMAGE_KEY, type VoiceExpression, type VoiceModel, type VoiceRegistry, addUnits, analyzeMidiTracks, applyHarmonicFilter, applyMonophonic, band, buildChordPlacements, buildDrumPatternJson, buildNameToKeyMapping, buildSectionPlan, buildStreamVoiceNotes, chromaticStep, collectPitchTokens, complementarity, composeSong, concatFloat32, createAudioContext, createDtmStudio, createKlattVoice, createKoeVoice, createLyricsConductor, createPianoRoll, createRenderer, createSequencer, createSingingVoices, createSynth, createVoiceRegistry, decodeMml, decomposeToMonophonic, displayKana, durationEntropy, encodeMml, encodeWavPCM16, exportMIDI, extractDrumPatternFromNotes, extractMidiDrumPattern, extractMidiPlacements, extractMidiPlacementsByTrack, featureDistance, featureVector, fifthToStep, fifthToUnits, fitInstrumentOctave, formatMmlMeta, freqFromPitch, generateRandomPattern, getComposeKeyDescription, getComposeScaleDescription, getDrumPatternKeys, getMidiBPM, icon, injectStyles, isChordHeavyTrack, isNaturalLetter, isPlausibleMidiTranscription, isValidHttpUrl, keyCountFor, koeUrl, midiNote, midiToUnits, mountChordPlayer, mountDAW, mountMmlPlayer, naturalStep, normalizeDrumPatterns, normalizeLyrics, panToStereo, parseCustomVocals, parseLyrics, parseMML, parseMmlMeta, pitchV1ToUnits, playChords, playMML, playNote, playPlacements, playSingingMML, programOfInstrumentName, readGlobalBool, readGlobalNumber, readGlobalSetting, readMacroSections, readMacroSetting, resolveCenter, resolveComposeKey, resolveComposeScale, resolveDrumPattern, resolveLoopPoint, scaleDegrees, scaleSize, semitonesToUnits, shiftNotes, showLoadingOverlay, spelledToUnits, spellingToUnits, stripCustomVocals, stripLyrics, stripMmlMeta, structureFeatures, syllablesToText, tensionFeatures, transposeNotes, units, unitsPerRow, unitsPerStep, unitsToHz, unitsToMidi, unitsToMidiDetune, unitsToPitchV1, vocalVolumeToGain, writeGlobalSetting, writeMacroSections, writeMacroSetting };
|
|
4037
|
+
export { A4_HZ, A4_UNITS, type AddNoteOptions, type AnyDrumPattern, type ApplyChordOptions, BLUES_SCALE, BREATH_MARK, type Band, CENTS_PER_UNIT, COMPOSE_KEYS, COMPOSE_MOOD_GROUPS, COMPOSE_SCALES, COMPOSE_SCALE_IDS, CORPUS_BANDS, CORPUS_SIZE, type ChordPatternType, type ChordPlacement, type ChordPlayerInstance, type ComposeKeyTarget, type ComposeMoodGroup, type ComposeMoodId, type ComposeOptions, type ComposeResult, type ComposeScale, type ComposeScaleId, type ComposeStats, type ComposedNote, type ConsumedSyllable, type CoreEventHandlers, type CustomVocalDef, DAW_CSS, DEFAULT_BPM, DEFAULT_EDO, DEFAULT_GATE, DEFAULT_PAN, DEFAULT_PLAYBACK_VELOCITY, DEFAULT_SECTIONS, 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, EDO31_NAMES, type Edo, type ExportMidiOptions, type ExportMidiTrack, FADE_IN_MARK, FADE_OUT_MARK, type FadeScheduleParams, GLOBAL_STORAGE_KEYS, GM_BRIGHT_CEILING, GM_INSTRUMENT_NAMES, GM_INSTRUMENT_RANGE, type GlobalStorageKey, HARMONIC_MINOR_SCALE, HUNGARIAN_SCALE, INSTRUMENT_PRESETS, type InstrumentPreset, KEY_COUNT, KOE_BASE_URL, KOE_VOICEBANKS, KOE_VOICEBANK_LABELS, KOE_VOICEBANK_TERMS, type KeyMode, type KoeVoiceOptions, LinkedList, type LoopConfig, type LoopPoint, type LyricSyllable, type LyricSyllableKind, type LyricSyncData, type LyricTrack, type LyricsConductor, MACRO_STORAGE_KEYS, MAJOR_KEY_IDS, MAJOR_SCALE, MAX_VOCAL_VOLUME, MICRO_STEP, MINOR_KEY_IDS, MMLCore, type MMLDisplayToken, type MMLNotePlacement, MML_END_MARKER, type MacroStorageKey, type MelodyForm, type MetricNote, type MetricOptions, type MidiExtraction, type MidiNote, 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, type OctaveUnisonMode, PITCH_ENCODING_VERSION, PITCH_MAP, PITCH_RANGE_END, PITCH_RANGE_START, PORTAMENTO_MARK, PREWARM_NOTES, type ParseMMLOptions, type ParseMidiFn, type ParsedMML, type PianoRollInstance, type PianoRollOptions, type PicotuneSearchParams, type PicotuneSong, type PitchSegment, type PitchToken, type PlacedSection, type PlayChordsOptions, type PlayDrumEvent, type PlayMmlOptions, type PlayNoteEvent, type PlayNoteOptions, type PlayPlacementsOptions, type PlaySingingMmlOptions, type PlaybackCue, type PlaybackState, type PresetSelectInstance, type PresetSelectOptions, type PreviewSoundCallback, REST_MARK, type RenderConfig, type Renderer, type ResolvedComposeKey, SECTION_LABELS, SECTION_ORDER, SECTION_SPECS, STOP_MARK, type ScaleDegree, type SectionKind, type SectionSpec, type Sequencer, type SequencerOptions, type SequencerTrack, type SingingVoices, type SingingVoicesOptions, type StreamPlaybackOptions, type StreamVoiceNote, type StreamVoiceNoteOptions, type StreamVoiceTrack, type StructureFeatures, type Synth, TIE_MARK, TIE_MERGE_MAX_SEC, TRACKS_ADVANCED, TRACKS_SIMPLE, type TensionFeatures, type TieSourceNote, type TonicCenter, type TonicDegree, type ToolMode, type TrackConfig, UNITS_PER_EDO31_DEGREE, UNITS_PER_OCTAVE, UNITS_PER_SEMITONE, type Units, VIBRATO_MIN_SEC, VOICE_IMAGES, VOICE_IMAGE_KEY, type VoiceExpression, type VoiceModel, type VoiceRegistry, addUnits, analyzeMidiTracks, applyHarmonicFilter, applyMonophonic, band, buildChordPlacements, buildDrumPatternJson, buildNameToKeyMapping, buildSectionPlan, buildStreamVoiceNotes, chromaticStep, collectPitchTokens, complementarity, composeSong, concatFloat32, createAudioContext, createDtmStudio, createKlattVoice, createKoeVoice, createLyricsConductor, createPianoRoll, createRenderer, createSequencer, createSingingVoices, createSynth, createVoiceRegistry, decodeMml, decomposeToMonophonic, displayKana, durationEntropy, encodeMml, encodeWavPCM16, exportMIDI, extractDrumPatternFromNotes, extractMidiDrumPattern, extractMidiPlacements, extractMidiPlacementsByTrack, featureDistance, featureVector, fifthToStep, fifthToUnits, fitInstrumentOctave, formatMmlMeta, freqFromPitch, generateRandomPattern, getComposeKeyDescription, getComposeScaleDescription, getDrumPatternKeys, getMidiBPM, icon, injectStyles, isChordHeavyTrack, isNaturalLetter, isPlausibleMidiTranscription, isValidHttpUrl, keyCountFor, koeUrl, midiNote, midiToUnits, mountChordPlayer, mountDAW, mountMmlPlayer, naturalStep, normalizeDrumPatterns, normalizeLyrics, panToStereo, parseCustomVocals, parseLyrics, parseMML, parseMmlMeta, pitchV1ToUnits, playChords, playMML, playNote, playPlacements, playSingingMML, programOfInstrumentName, readGlobalBool, readGlobalNumber, readGlobalSetting, readMacroSections, readMacroSetting, resolveCenter, resolveComposeKey, resolveComposeScale, resolveDrumPattern, resolveLoopPoint, scaleDegrees, scaleSize, semitonesToUnits, shiftNotes, showLoadingOverlay, spelledToUnits, spellingToUnits, stripCustomVocals, stripLyrics, stripMmlMeta, structureFeatures, syllablesToText, tensionFeatures, transposeNotes, units, unitsPerRow, unitsPerStep, unitsToHz, unitsToMidi, unitsToMidiDetune, unitsToPitchV1, vocalVolumeToGain, writeGlobalSetting, writeMacroSections, writeMacroSetting };
|
package/dist/index.d.ts
CHANGED
|
@@ -741,13 +741,29 @@ declare const buildSectionPlan: (kinds: SectionKind[], templateName?: string) =>
|
|
|
741
741
|
* ## 引いて、測って、選ぶ
|
|
742
742
|
*
|
|
743
743
|
* {@link DRAW_COUNT} 本の候補を独立に引き、{@link HARD} に触れたものだけを捨てて、
|
|
744
|
-
*
|
|
745
|
-
*
|
|
744
|
+
* 残りから**確率的に**引く({@link evaluate}・{@link SELECT_TEMPERATURE})。合否ではなく
|
|
745
|
+
* 点数にしてあるのは「構造は良いが休符率が 0.09 だったので捨てる」を避けるため。
|
|
746
|
+
* 最大値を必ず取っていた頃は、**引く本数を増やすほど分布が狭まっていた**——
|
|
747
|
+
* 順次進行の幅が 0.25〜0.86(1本)→ 0.32〜0.65(40本)と、採点式の頂点1点へ収束する。
|
|
746
748
|
*
|
|
747
749
|
* 採点の目標帯({@link CORPUS_BANDS})は**人間が書いたMIDIから実測した分布**で、手で
|
|
748
|
-
* 決めた定数ではない。較正は `scripts/calibrate-corpus.ts
|
|
749
|
-
*
|
|
750
|
-
*
|
|
750
|
+
* 決めた定数ではない。較正は `scripts/calibrate-corpus.ts`。
|
|
751
|
+
*
|
|
752
|
+
* ## 「中央値へ寄せる」のをやめた理由
|
|
753
|
+
*
|
|
754
|
+
* 以前は帯の内側にも中央値へ向かう傾斜を付けていた(`centeredBand`)。全項目が帯の端へ
|
|
755
|
+
* 同時に寄った曲を弾くためだったが、**目標帯は21項目を独立に採った周辺分布**なので、
|
|
756
|
+
* その中央値は「どの曲でもない平均的な一点」でしかない。コーパス91本を自分の帯で
|
|
757
|
+
* 測り直すと、人間の曲は中央値で**10項目が帯の外**にあり、素点の中央値は 0.673——
|
|
758
|
+
* **生成物(0.851)のほうが較正元より高い点を取っていた**。選抜を完全に切っても
|
|
759
|
+
* 生成物 0.970 対 人間 0.921 で、選抜ではなく採点式そのものが中央を報酬にしていた。
|
|
760
|
+
*
|
|
761
|
+
* そこで周辺分布の項目は「人間の範囲に居るか」の確認だけに格下げし(`plausibleBand`)、
|
|
762
|
+
* 「人間が書いた曲の形か」の判断は**項目の組み合わせ**——コーパス91本のうち
|
|
763
|
+
* **いちばん近い1曲との距離**(`nearestProfileDistance`、重み `typicality`)——へ渡した。
|
|
764
|
+
* 中央から離れることではなく、**人が1本も居ない場所に居ること**を罰する形にしてある。
|
|
765
|
+
* さらに、人間の曲が普通いくつの軸を外すかを実測して {@link DEVIATION_BUDGET} とし、
|
|
766
|
+
* その本数だけは減点を見逃す。検算は `scripts/check-evaluator.ts`。
|
|
751
767
|
*
|
|
752
768
|
* 指標に最適化した結果として全曲が同じ統計値へ寄るのを防ぐため、直近に作った曲との
|
|
753
769
|
* 距離も加点する({@link ComposeOptions.recent})。
|
|
@@ -759,6 +775,33 @@ declare const buildSectionPlan: (kinds: SectionKind[], templateName?: string) =>
|
|
|
759
775
|
* 前後を比べる。耳で確かめるときは `scripts/export-samples.ts` で .mid を書き出す。
|
|
760
776
|
*/
|
|
761
777
|
|
|
778
|
+
/**
|
|
779
|
+
* 曲の**展開の仕方**。
|
|
780
|
+
*
|
|
781
|
+
* - `motif` … 2小節のモチーフを反復・セクエンツ・オクターブ上げの3通りに変形して
|
|
782
|
+
* 展開する。J-POPの歌モノの作り。
|
|
783
|
+
* - `ostinato` … **同じ型を曲全体で回す。**変形しない。対比は編曲(ドラム・楽器・
|
|
784
|
+
* レイヤ)の側が担う。
|
|
785
|
+
* - `through` … **通し作曲。**同じ楽句を再現せず、書き進める。
|
|
786
|
+
* 反復が戻ってこない側の作り。
|
|
787
|
+
*
|
|
788
|
+
* ## なぜ要るか
|
|
789
|
+
*
|
|
790
|
+
* 初版は `motif` しか無く、しかも小節の役割が**セクション種別で決め打ち**だった
|
|
791
|
+
* (サビは必ず `climax` =オクターブ上げ、それ以外はほぼ `sequence`)。その結果、
|
|
792
|
+
* 生成系の反復プロファイルが**上にも下にも詰まった**狭い帯に固定されていた。
|
|
793
|
+
*
|
|
794
|
+
* 自己相似 sim1 の生成系レンジ 0.31〜0.76/sim4 0.58〜0.86
|
|
795
|
+
*
|
|
796
|
+
* 実測(`scripts/compare-reach.ts`)で、採点を完全に切って1500本引いても
|
|
797
|
+
* コーパス91本のうち27本へ到達できず、**その原因の1位が sim4/sim8 の各19本**だった。
|
|
798
|
+
* 通し作曲(低い側)にも静的なリフ(高い側・ヤツメ穴の sim1 は 0.97)にもなれない。
|
|
799
|
+
* 採点式をどう直してもこれは出ないので、生成の型そのものを増やす。
|
|
800
|
+
*
|
|
801
|
+
* `ostinato` を入れて上限を開けた後も、未到達26本の原因1位は依然 sim系だった
|
|
802
|
+
* (下側が空いたまま)。そこで `through` を足して反復の**下限**も開けている。
|
|
803
|
+
*/
|
|
804
|
+
type MelodyForm = "motif" | "ostinato" | "through";
|
|
762
805
|
type ComposedNote = {
|
|
763
806
|
startStep: number;
|
|
764
807
|
pitchUnits: Units;
|
|
@@ -839,6 +882,11 @@ type ComposeOptions = {
|
|
|
839
882
|
* 省略時は "any"(全24調からランダム抽選)。
|
|
840
883
|
*/
|
|
841
884
|
baseKey?: string;
|
|
885
|
+
/**
|
|
886
|
+
* 展開の仕方(`"auto"` | `"motif"` | `"ostinato"`)。省略時は `"auto"` で曲ごとに引く。
|
|
887
|
+
* `"ostinato"` は同じ型を曲全体で回すリフ主体の作り。{@link MelodyForm}
|
|
888
|
+
*/
|
|
889
|
+
form?: string;
|
|
842
890
|
/**
|
|
843
891
|
* 音階の指定(`"auto"` | `"any"` | 音階ID)。省略時は `"auto"` で、
|
|
844
892
|
* ベース調の長短に合わせて陽音階(長調)/民謡音階(短調)を使う——
|
|
@@ -865,6 +913,8 @@ type ComposeResult = {
|
|
|
865
913
|
scaleId: ComposeScaleId;
|
|
866
914
|
/** 曲の音階の表示ラベル(例: "琉球音階")。 */
|
|
867
915
|
scaleLabel: string;
|
|
916
|
+
/** 曲の展開の仕方。{@link MelodyForm} */
|
|
917
|
+
form: MelodyForm;
|
|
868
918
|
/** 雰囲気カテゴリのラベル(該当する場合)。 */
|
|
869
919
|
moodLabel?: string;
|
|
870
920
|
/** 曲のテンポ(BPM)。 */
|
|
@@ -2806,6 +2856,32 @@ type InstrumentPreset = {
|
|
|
2806
2856
|
* 別トラックへ書き分けること**。
|
|
2807
2857
|
*/
|
|
2808
2858
|
chorusLead: string;
|
|
2859
|
+
/**
|
|
2860
|
+
* 伴奏の2色目。**同じ進行を別の奏法で鳴らす層を、別の音色にするため**にある。
|
|
2861
|
+
*
|
|
2862
|
+
* 上級者モードは伴奏を t7〜t9 の3本に書き分けていて、奏法(`ChordPatternType`)は
|
|
2863
|
+
* 実際に別のリズムになっている——発音位置の一致は中央 Jaccard 0.13、ほぼ完全一致は
|
|
2864
|
+
* 4%しかない。にもかかわらず**t6〜t10 の5本すべてが `chord` の1楽器**だったため、
|
|
2865
|
+
* せっかく書き分けた層が同じ音色で重なって団子になっていた。
|
|
2866
|
+
* `chord` と喧嘩しない、かつ他のスロットと被らないものを選ぶこと。
|
|
2867
|
+
*/
|
|
2868
|
+
chordAlt: string;
|
|
2869
|
+
/**
|
|
2870
|
+
* ウワモノ(装飾)の楽器。高い位置で薄く鳴らす、きらびやかな音。
|
|
2871
|
+
* ここも以前は `chord` を使い回していた。
|
|
2872
|
+
*/
|
|
2873
|
+
sparkle: string;
|
|
2874
|
+
/**
|
|
2875
|
+
* ベースの2色目。**セクションでベースの音色を替える**ために使う。
|
|
2876
|
+
* t4 が静かな側、t5 が盛り上がる側を持ち、**同じ音を二度鳴らさずに**
|
|
2877
|
+
* 境目で音色だけが入れ替わる。`bass` と喧嘩しない同族を選ぶこと。
|
|
2878
|
+
*/
|
|
2879
|
+
bassAlt: string;
|
|
2880
|
+
/**
|
|
2881
|
+
* ハモリの2色目。同じくセクションで音色を替えるため(t2 が静かな側、
|
|
2882
|
+
* t12 が盛り上がる側)。ハモリは声部なので、声もの・柔らかい持続音が合う。
|
|
2883
|
+
*/
|
|
2884
|
+
harmonyAlt: string;
|
|
2809
2885
|
};
|
|
2810
2886
|
declare const INSTRUMENT_PRESETS: Record<string, InstrumentPreset>;
|
|
2811
2887
|
/**
|
|
@@ -3928,7 +4004,7 @@ type Synth = {
|
|
|
3928
4004
|
type SynthTone = {
|
|
3929
4005
|
/** オシレータ波形。既定 "square" */
|
|
3930
4006
|
wave?: OscillatorType;
|
|
3931
|
-
/** アタック秒(0
|
|
4007
|
+
/** アタック秒(0 でも {@link MIN_ATTACK_SEC} だけは掛かる)。既定 0 */
|
|
3932
4008
|
attack?: number;
|
|
3933
4009
|
/** true でピアノ/ギター的な指数減衰(持続音でなく減衰音になる) */
|
|
3934
4010
|
decay?: boolean;
|
|
@@ -3958,4 +4034,4 @@ declare const encodeWavPCM16: (channels: Float32Array[], sampleRate: number) =>
|
|
|
3958
4034
|
/** Float32Array のチャンクを1本へ連結する。 */
|
|
3959
4035
|
declare const concatFloat32: (chunks: Float32Array[]) => Float32Array;
|
|
3960
4036
|
|
|
3961
|
-
export { A4_HZ, A4_UNITS, type AddNoteOptions, type AnyDrumPattern, type ApplyChordOptions, BLUES_SCALE, BREATH_MARK, type Band, CENTS_PER_UNIT, COMPOSE_KEYS, COMPOSE_MOOD_GROUPS, COMPOSE_SCALES, COMPOSE_SCALE_IDS, CORPUS_BANDS, CORPUS_SIZE, type ChordPatternType, type ChordPlacement, type ChordPlayerInstance, type ComposeKeyTarget, type ComposeMoodGroup, type ComposeMoodId, type ComposeOptions, type ComposeResult, type ComposeScale, type ComposeScaleId, type ComposeStats, type ComposedNote, type ConsumedSyllable, type CoreEventHandlers, type CustomVocalDef, DAW_CSS, DEFAULT_BPM, DEFAULT_EDO, DEFAULT_GATE, DEFAULT_PAN, DEFAULT_PLAYBACK_VELOCITY, DEFAULT_SECTIONS, 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, EDO31_NAMES, type Edo, type ExportMidiOptions, type ExportMidiTrack, FADE_IN_MARK, FADE_OUT_MARK, type FadeScheduleParams, GLOBAL_STORAGE_KEYS, GM_BRIGHT_CEILING, GM_INSTRUMENT_NAMES, GM_INSTRUMENT_RANGE, type GlobalStorageKey, HARMONIC_MINOR_SCALE, HUNGARIAN_SCALE, INSTRUMENT_PRESETS, type InstrumentPreset, KEY_COUNT, KOE_BASE_URL, KOE_VOICEBANKS, KOE_VOICEBANK_LABELS, KOE_VOICEBANK_TERMS, type KeyMode, type KoeVoiceOptions, LinkedList, type LoopConfig, type LoopPoint, type LyricSyllable, type LyricSyllableKind, type LyricSyncData, type LyricTrack, type LyricsConductor, MACRO_STORAGE_KEYS, MAJOR_KEY_IDS, MAJOR_SCALE, MAX_VOCAL_VOLUME, MICRO_STEP, MINOR_KEY_IDS, MMLCore, type MMLDisplayToken, type MMLNotePlacement, MML_END_MARKER, type MacroStorageKey, type MetricNote, type MetricOptions, type MidiExtraction, type MidiNote, 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, type OctaveUnisonMode, PITCH_ENCODING_VERSION, PITCH_MAP, PITCH_RANGE_END, PITCH_RANGE_START, PORTAMENTO_MARK, PREWARM_NOTES, type ParseMMLOptions, type ParseMidiFn, type ParsedMML, type PianoRollInstance, type PianoRollOptions, type PicotuneSearchParams, type PicotuneSong, type PitchSegment, type PitchToken, type PlacedSection, type PlayChordsOptions, type PlayDrumEvent, type PlayMmlOptions, type PlayNoteEvent, type PlayNoteOptions, type PlayPlacementsOptions, type PlaySingingMmlOptions, type PlaybackCue, type PlaybackState, type PresetSelectInstance, type PresetSelectOptions, type PreviewSoundCallback, REST_MARK, type RenderConfig, type Renderer, type ResolvedComposeKey, SECTION_LABELS, SECTION_ORDER, SECTION_SPECS, STOP_MARK, type ScaleDegree, type SectionKind, type SectionSpec, type Sequencer, type SequencerOptions, type SequencerTrack, type SingingVoices, type SingingVoicesOptions, type StreamPlaybackOptions, type StreamVoiceNote, type StreamVoiceNoteOptions, type StreamVoiceTrack, type StructureFeatures, type Synth, TIE_MARK, TIE_MERGE_MAX_SEC, TRACKS_ADVANCED, TRACKS_SIMPLE, type TensionFeatures, type TieSourceNote, type TonicCenter, type TonicDegree, type ToolMode, type TrackConfig, UNITS_PER_EDO31_DEGREE, UNITS_PER_OCTAVE, UNITS_PER_SEMITONE, type Units, VIBRATO_MIN_SEC, VOICE_IMAGES, VOICE_IMAGE_KEY, type VoiceExpression, type VoiceModel, type VoiceRegistry, addUnits, analyzeMidiTracks, applyHarmonicFilter, applyMonophonic, band, buildChordPlacements, buildDrumPatternJson, buildNameToKeyMapping, buildSectionPlan, buildStreamVoiceNotes, chromaticStep, collectPitchTokens, complementarity, composeSong, concatFloat32, createAudioContext, createDtmStudio, createKlattVoice, createKoeVoice, createLyricsConductor, createPianoRoll, createRenderer, createSequencer, createSingingVoices, createSynth, createVoiceRegistry, decodeMml, decomposeToMonophonic, displayKana, durationEntropy, encodeMml, encodeWavPCM16, exportMIDI, extractDrumPatternFromNotes, extractMidiDrumPattern, extractMidiPlacements, extractMidiPlacementsByTrack, featureDistance, featureVector, fifthToStep, fifthToUnits, fitInstrumentOctave, formatMmlMeta, freqFromPitch, generateRandomPattern, getComposeKeyDescription, getComposeScaleDescription, getDrumPatternKeys, getMidiBPM, icon, injectStyles, isChordHeavyTrack, isNaturalLetter, isPlausibleMidiTranscription, isValidHttpUrl, keyCountFor, koeUrl, midiNote, midiToUnits, mountChordPlayer, mountDAW, mountMmlPlayer, naturalStep, normalizeDrumPatterns, normalizeLyrics, panToStereo, parseCustomVocals, parseLyrics, parseMML, parseMmlMeta, pitchV1ToUnits, playChords, playMML, playNote, playPlacements, playSingingMML, programOfInstrumentName, readGlobalBool, readGlobalNumber, readGlobalSetting, readMacroSections, readMacroSetting, resolveCenter, resolveComposeKey, resolveComposeScale, resolveDrumPattern, resolveLoopPoint, scaleDegrees, scaleSize, semitonesToUnits, shiftNotes, showLoadingOverlay, spelledToUnits, spellingToUnits, stripCustomVocals, stripLyrics, stripMmlMeta, structureFeatures, syllablesToText, tensionFeatures, transposeNotes, units, unitsPerRow, unitsPerStep, unitsToHz, unitsToMidi, unitsToMidiDetune, unitsToPitchV1, vocalVolumeToGain, writeGlobalSetting, writeMacroSections, writeMacroSetting };
|
|
4037
|
+
export { A4_HZ, A4_UNITS, type AddNoteOptions, type AnyDrumPattern, type ApplyChordOptions, BLUES_SCALE, BREATH_MARK, type Band, CENTS_PER_UNIT, COMPOSE_KEYS, COMPOSE_MOOD_GROUPS, COMPOSE_SCALES, COMPOSE_SCALE_IDS, CORPUS_BANDS, CORPUS_SIZE, type ChordPatternType, type ChordPlacement, type ChordPlayerInstance, type ComposeKeyTarget, type ComposeMoodGroup, type ComposeMoodId, type ComposeOptions, type ComposeResult, type ComposeScale, type ComposeScaleId, type ComposeStats, type ComposedNote, type ConsumedSyllable, type CoreEventHandlers, type CustomVocalDef, DAW_CSS, DEFAULT_BPM, DEFAULT_EDO, DEFAULT_GATE, DEFAULT_PAN, DEFAULT_PLAYBACK_VELOCITY, DEFAULT_SECTIONS, 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, EDO31_NAMES, type Edo, type ExportMidiOptions, type ExportMidiTrack, FADE_IN_MARK, FADE_OUT_MARK, type FadeScheduleParams, GLOBAL_STORAGE_KEYS, GM_BRIGHT_CEILING, GM_INSTRUMENT_NAMES, GM_INSTRUMENT_RANGE, type GlobalStorageKey, HARMONIC_MINOR_SCALE, HUNGARIAN_SCALE, INSTRUMENT_PRESETS, type InstrumentPreset, KEY_COUNT, KOE_BASE_URL, KOE_VOICEBANKS, KOE_VOICEBANK_LABELS, KOE_VOICEBANK_TERMS, type KeyMode, type KoeVoiceOptions, LinkedList, type LoopConfig, type LoopPoint, type LyricSyllable, type LyricSyllableKind, type LyricSyncData, type LyricTrack, type LyricsConductor, MACRO_STORAGE_KEYS, MAJOR_KEY_IDS, MAJOR_SCALE, MAX_VOCAL_VOLUME, MICRO_STEP, MINOR_KEY_IDS, MMLCore, type MMLDisplayToken, type MMLNotePlacement, MML_END_MARKER, type MacroStorageKey, type MelodyForm, type MetricNote, type MetricOptions, type MidiExtraction, type MidiNote, 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, type OctaveUnisonMode, PITCH_ENCODING_VERSION, PITCH_MAP, PITCH_RANGE_END, PITCH_RANGE_START, PORTAMENTO_MARK, PREWARM_NOTES, type ParseMMLOptions, type ParseMidiFn, type ParsedMML, type PianoRollInstance, type PianoRollOptions, type PicotuneSearchParams, type PicotuneSong, type PitchSegment, type PitchToken, type PlacedSection, type PlayChordsOptions, type PlayDrumEvent, type PlayMmlOptions, type PlayNoteEvent, type PlayNoteOptions, type PlayPlacementsOptions, type PlaySingingMmlOptions, type PlaybackCue, type PlaybackState, type PresetSelectInstance, type PresetSelectOptions, type PreviewSoundCallback, REST_MARK, type RenderConfig, type Renderer, type ResolvedComposeKey, SECTION_LABELS, SECTION_ORDER, SECTION_SPECS, STOP_MARK, type ScaleDegree, type SectionKind, type SectionSpec, type Sequencer, type SequencerOptions, type SequencerTrack, type SingingVoices, type SingingVoicesOptions, type StreamPlaybackOptions, type StreamVoiceNote, type StreamVoiceNoteOptions, type StreamVoiceTrack, type StructureFeatures, type Synth, TIE_MARK, TIE_MERGE_MAX_SEC, TRACKS_ADVANCED, TRACKS_SIMPLE, type TensionFeatures, type TieSourceNote, type TonicCenter, type TonicDegree, type ToolMode, type TrackConfig, UNITS_PER_EDO31_DEGREE, UNITS_PER_OCTAVE, UNITS_PER_SEMITONE, type Units, VIBRATO_MIN_SEC, VOICE_IMAGES, VOICE_IMAGE_KEY, type VoiceExpression, type VoiceModel, type VoiceRegistry, addUnits, analyzeMidiTracks, applyHarmonicFilter, applyMonophonic, band, buildChordPlacements, buildDrumPatternJson, buildNameToKeyMapping, buildSectionPlan, buildStreamVoiceNotes, chromaticStep, collectPitchTokens, complementarity, composeSong, concatFloat32, createAudioContext, createDtmStudio, createKlattVoice, createKoeVoice, createLyricsConductor, createPianoRoll, createRenderer, createSequencer, createSingingVoices, createSynth, createVoiceRegistry, decodeMml, decomposeToMonophonic, displayKana, durationEntropy, encodeMml, encodeWavPCM16, exportMIDI, extractDrumPatternFromNotes, extractMidiDrumPattern, extractMidiPlacements, extractMidiPlacementsByTrack, featureDistance, featureVector, fifthToStep, fifthToUnits, fitInstrumentOctave, formatMmlMeta, freqFromPitch, generateRandomPattern, getComposeKeyDescription, getComposeScaleDescription, getDrumPatternKeys, getMidiBPM, icon, injectStyles, isChordHeavyTrack, isNaturalLetter, isPlausibleMidiTranscription, isValidHttpUrl, keyCountFor, koeUrl, midiNote, midiToUnits, mountChordPlayer, mountDAW, mountMmlPlayer, naturalStep, normalizeDrumPatterns, normalizeLyrics, panToStereo, parseCustomVocals, parseLyrics, parseMML, parseMmlMeta, pitchV1ToUnits, playChords, playMML, playNote, playPlacements, playSingingMML, programOfInstrumentName, readGlobalBool, readGlobalNumber, readGlobalSetting, readMacroSections, readMacroSetting, resolveCenter, resolveComposeKey, resolveComposeScale, resolveDrumPattern, resolveLoopPoint, scaleDegrees, scaleSize, semitonesToUnits, shiftNotes, showLoadingOverlay, spelledToUnits, spellingToUnits, stripCustomVocals, stripLyrics, stripMmlMeta, structureFeatures, syllablesToText, tensionFeatures, transposeNotes, units, unitsPerRow, unitsPerStep, unitsToHz, unitsToMidi, unitsToMidiDetune, unitsToPitchV1, vocalVolumeToGain, writeGlobalSetting, writeMacroSections, writeMacroSetting };
|