元编程参考文档

音乐

预览

以简谱文本或音符与节拍节点写成的乐谱,以及 MIDI 文件

Methodox Wiki 上的使用指南

23 个类别,共 262 个节点

所属发行版
元编程(教育版)元编程(专业版)
支持等级
第 2 级(拟定)
所属包
音乐
音乐

以简谱文本或音符与节拍节点写成的乐谱、MIDI 文件的读写,以及 SoundFont:把它们或生成的音乐渲染为音频片段。

Euterpea 音乐

渐快Quickening evenly so the phrase lasts 1 - amount times as long (Euterpea's Accelerando).重音Every note struck harder or softer by a factor (Euterpea's Dyn (Accent x)).奏法Each note sounding for only part of its length - 0.5 is staccato, 1 legato - while the rhythm stays where it was.和弦Pieces of music all at once (Euterpea's chord).和弦(根音)A chord built on a root: a triad, a seventh, a suspension.渐强Growing louder evenly across the phrase, ending 1 + amount times as loud (Euterpea's Crescendo).截取The first part of the music, up to a length (Euterpea's cut).自然音阶移调Every note moved by steps of the key's scale rather than by semitones: up a third in C major moves C to E and D to F.渐弱Growing softer evenly across the phrase, ending 1 - amount times as loud (Euterpea's Diminuendo).鼓A drum hit on the General MIDI kit.力度Played softer or louder: a MIDI velocity, 1 to 127.从 MIDI 读取Music read out of a MIDI document - each channel a part on its instrument (Euterpea's fromMidi).从乐谱读取Music read out of a score written in Cantus numbered notation, so it can be transposed, repeated or combined like any other music.乐器Played on a General MIDI instrument (Euterpea's instrument); the innermost instrument a note is inside wins.倒影The melody upside down about its first note (Euterpea's invert): a step up becomes a step down.调号The music in a key: its ornaments and diatonic transpositions step through that key's scale (Euterpea's KeySig).连奏Every note held over into the next (Euterpea's Legato).长度How long the music lasts, as a fraction of a whole note (Euterpea's dur): 1 is a bar of 4/4.连接Pieces of music one after another (Euterpea's line).力度记号The phrase played at a written dynamic, ppp to fff (Euterpea's StdLoudness).音符A note: a pitch held for a note value.音符(文本)A note written as text: a pitch such as C4, F#3 or Bb2, and a length such as 1/4, 3/16, 1/4.音符序列A line of notes written as text, one after another: pitches and lengths separated by spaces, each note pitch:length (the length defaulting to the one before), and r for a rest - C4:qn E4 G4 C5:hn r:qn.延后The music after a stretch of silence (Euterpea's offset) - how a canon's second voice enters late.装饰音Every note of the phrase ornamented - a trill, a mordent, a turn, a rolled chord - with neighbours from the key in force.演奏The music as the notes it plays: when each starts, how long it sounds, which key, how hard, on what (Euterpea's perform).去除开头The music without its first part, up to a length (Euterpea's remove).重复The music several times over (Euterpea's times).休止符Silence for a note value.逆行The music backwards in time (Euterpea's retro).渐慢Slowing evenly so the phrase lasts 1 + amount times as long; what follows starts that much later (Euterpea's Ritardando).保存 MIDISaves the music as a Standard MIDI File, creating the folder if it is not there (Euterpea's writeMidi).音阶The notes of a scale, rising from its tonic, each for a note value.缩放时值Every note's length multiplied, without changing the tempo marking (Euterpea's scaleDurations): 2 doubles each length.秒数How long the music lasts in seconds at a tempo.圆滑奏Every note but the last held over into the next, as under a slur (Euterpea's Slurred).断奏Every note of the phrase short, sounding for a fraction of its length (Euterpea's Staccato).速度Played faster or slower (Euterpea's tempo): 2 is twice as fast and half as long, 1/2 half as fast.然后One piece, then another (Euterpea's :+:).转为 MIDIThe music as a MIDI document: one track per instrument, drums on channel 10 (Euterpea's toMidi).移调Every note moved up or down by semitones (Euterpea's transpose); 12 is an octave.同时Two pieces at once (Euterpea's :=:).

音乐

ArticulateEach note sounding for Fraction of its length - 0.5 staccato, 1 legato - while still taking its whole length in time.CutThe first Length of the music, a note crossing the cut shortened to end on it (Euterpea's cut).EqualsLengthHow long the music lasts, in whole notes, taking tempo changes into account (Euterpea's dur).Get Hash CodeIn KeyThe music in a key, which its ornaments and diatonic transposition read their steps from.InstrumentPlayed on a General MIDI instrument (Euterpea's instrument).InvertThe melody turned upside down about Axis - an interval up becomes the same interval down (Euterpea's invertAt); about the first note when no axis is given (invert).Map PitchesEvery pitch passed through Map, rests and structure unchanged (Euterpea's mMap over pitches).OffsetThe music after Delay of silence (Euterpea's offset).PercussionPlayed on the drum kit: every note's key chooses a drum.PerformThe music as timed events, at Beats Per Minute quarter notes a minute (Euterpea's perform with its default context: a grand piano at velocity 100, articulation 1).PhraseThe music played with Euterpea's phrase attributes, the last first.RangeThe lowest and highest key any note reaches, after transpositions; null for music with no notes.RemoveThe music without its first Length, a note crossing the cut shortened to begin on it (Euterpea's remove).RepeatThe music Times times over (Euterpea's times).RetrogradeThe music backwards in time (Euterpea's retro): a line reversed, and in a chord the shorter part shifted so every part still ends together.Scale LengthsEvery length multiplied by Factor, without a tempo marking (Euterpea's scaleDurations).TempoPlayed Factor times as fast (Euterpea's tempo); 2 is twice as fast and half as long.ThenThis, then Next.To MidiThe music as a Standard MIDI File document: a conductor track with the tempo, then one track per instrument, drums on channel 10 (Euterpea's toMidi).To StringThe music written as Euterpea writes it: c 4 qn :+: (e 4 qn :=: g 4 qn).TransposeEvery note Semitones higher (Euterpea's transpose).VelocityPlayed at a MIDI velocity, 1 (barely) to 127 (as hard as possible).WithThis and Other together.With CutBoth together, cut to the shorter (Euterpea's /=:).ChordEvery piece at once (Euterpea's chord).From MidiReads music out of a MIDI document: each channel's notes as a chord of lines, each note placed at its time by a rest before it, on the instrument its channel was set to; channel 10 is drums (Euterpea's fromMidi, simplified).EmptyNo music: a rest of no length, the identity of both Music.Then and Music.With.LineEach piece after the one before (Euterpea's line).Op EqualityOp Inequality

节奏型

ArpeggiateEvery chord - notes that start and end together - played one note after another across its own time, as Strudel's arp.DegradeSteps dropped at random with a probability, the same steps every time for the same seed, as degradeBy.EqualsEveryEvery Nth cycle - the first, then n later - Instead plays in its place, as every with a whole pattern for the function.FastThe pattern played Factor times in each cycle.Get Hash CodeIterEach cycle starts a further 1/N of the way into the pattern, as iter: four steps walk round one place a cycle.OffThe pattern with a copy of itself laid over it, Time cycles later and moved by Semitones, as off: an echo a fifth up, a canon.PalindromeForwards one cycle and backwards the next, as palindrome.PlyEvery step played Times times in its own time, as ply.QueryThe steps that start in [from, to), in cycles, in time order.ReverseEach cycle played backwards, as TidalCycles' rev: a step that started a quarter of the way in ends a quarter of the way from the end.ScaleThe pattern's notes read as degrees of a scale from Tonic: 0 is the tonic, 1 the next degree, 7 the octave in a seven-note scale - Strudel's n("0 2 4").scale("C:major"), so a pattern of numbers becomes a tune in any key.ShiftThe pattern moved later by some cycles - earlier for a negative amount - as ~>.SlowThe pattern spread over Factor cycles.SwingSwing: in every 1/Subdivision of a cycle, a step in the second half is pushed later by Amount of the subdivision, as swingBy.To MusicThe first Cycles cycles as music, a cycle lasting Cycle Length - a whole note, one bar of 4/4, unless said otherwise.To StringThe pattern as notation.TransposeEvery note moved by some semitones; drums stay where they are.AlternatePatterns played one a cycle in turn.EuclidA step spread over some steps by Euclid's algorithm, turned left by Rotation, as (3,8,2) in the notation.Op EqualityOp InequalityParseReads a pattern written in mini-notation.SequencePatterns sharing each cycle in turn, one step each.StackPatterns played together.

演奏事件

节奏型

轮换节奏型Patterns played one a cycle in turn: verse, verse, chorus.琶音化Every chord played as an arpeggio across its own time.随机删减Steps dropped at random, the same ones every time for the same seed: a hi-hat line that breathes.欧几里得节奏A pattern spread over some steps by Euclid's algorithm, the rhythm of much of the world's music: 3 over 8 is the tresillo.每隔Every nth cycle - the first, then every n after - another pattern plays instead: a fill at the end of a phrase, a variation every fourth bar.加快A pattern played faster: 2 fits it twice into each cycle.轮转节奏型Each cycle starts a step further into the pattern, so it walks round on itself.错位叠加A pattern with a copy of itself laid over it, a little later and moved in pitch: an echo, a canon, a harmony a step behind.回文A pattern forwards one cycle and backwards the next.节奏型Reads a pattern: steps share a cycle; [ ] groups, , stacks, < > alternates by cycle, * and / change speed, ! repeats, @ and _ lengthen, (3,8) spreads by Euclid, ? drops at random, | chooses at random, ..重复步Every step played several times in its own time: a quarter note becomes two eighths.反转节奏型Each cycle of a pattern played backwards.音阶节奏型A pattern of numbers read as degrees of a scale: "0 2 4 7" in C major is C E G C, and the same numbers in D Dorian are another tune.平移节奏型A pattern moved later in time by a fraction of a cycle; a negative amount moves it earlier.放慢A pattern played slower: 2 spreads it over two cycles.叠加节奏型Patterns played together: drums, bass and chords as one groove.摇摆Swing: in each beat-sized slice of the cycle, the off-beat is pushed late.节奏型转音乐Some cycles of a pattern as music, for the Euterpea nodes, Render Music and Play Part.移调节奏型Every note of a pattern moved by some semitones; drums stay.

乐谱

音符

音色预设

音乐渲染

乐谱 MIDI 写入器

音色库文件

乐器映射

现场演奏

音色库

乐器

现场会话

歌曲

乐谱 MIDI 读取器

歌曲声部

小节

Cantus 记谱

乐器

歌曲编排