@soundweave/music-theory
v1.0.2
Published
Scales, chords, motifs, and intensity helpers for SoundWeave
Readme
@soundweave/music-theory
Soundweave 音乐理论的基础模块和实用工具,包括音阶、和弦、乐句和强度变换。
主要功能
- 音高和音符名称的操作
- 音阶定义和音高生成
- 和弦质量、和弦结构和和弦进行辅助功能
- 乐句变换(移调、倒置、反转、节奏缩放)
- 变奏生成(节奏、旋律、稀疏化、密集化、重音)
- 强度等级推导(低、中、高、张力、明亮)
主要导出内容
音阶和音高
import {
SCALES, pitchClass, octave, midiNote, noteName,
scalePitchClasses, isInScale, snapToScale,
transposeDiatonic,
} from "@soundweave/music-theory";和弦
import {
chordPitches, diatonicChord, diatonicChords,
chordPalette, generatePadVoicing, generateBassLine,
arpeggiateChord, progressionFromDegrees,
} from "@soundweave/music-theory";乐句变换
import {
transpose, invert, reverse, octaveShift,
rhythmScale, duplicateWithVariation, transposeAndSnap,
} from "@soundweave/music-theory";强度
import {
lowIntensity, midIntensity, highIntensity,
deriveIntensity, addTension, brighten,
} from "@soundweave/music-theory";依赖项
无 — 这是一个不依赖任何其他包的基础模块。
