Music
PreviewScores as numbered-notation (jianpu) text or as note and beat nodes, and MIDI files
262 nodes in 23 categories
- Ships with
- Divooka ExploreDivooka Compute
- Support tier
- Tier 2 (proposed)
- Package
- Music
Music
Scores in numbered notation or as note and beat nodes, MIDI files in and out, and SoundFonts: render any of them, or generated music, into audio clips.
Euterpea
AccelerandoQuickening evenly so the phrase lasts 1 - amount times as long (Euterpea's Accelerando).AccentEvery note struck harder or softer by a factor (Euterpea's Dyn (Accent x)).ArticulateEach note sounding for only part of its length - 0.5 is staccato, 1 legato - while the rhythm stays where it was.ChordPieces of music all at once (Euterpea's chord).Chord OfA chord built on a root: a triad, a seventh, a suspension.CrescendoGrowing louder evenly across the phrase, ending 1 + amount times as loud (Euterpea's Crescendo).CutThe first part of the music, up to a length (Euterpea's cut).Diatonic TransposeEvery 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.DiminuendoGrowing softer evenly across the phrase, ending 1 - amount times as loud (Euterpea's Diminuendo).DrumA drum hit on the General MIDI kit.DynamicsPlayed softer or louder: a MIDI velocity, 1 to 127.From MIDIMusic read out of a MIDI document - each channel a part on its instrument (Euterpea's fromMidi).From ScoreMusic read out of a score written in Cantus numbered notation, so it can be transposed, repeated or combined like any other music.InstrumentPlayed on a General MIDI instrument (Euterpea's instrument); the innermost instrument a note is inside wins.InvertThe melody upside down about its first note (Euterpea's invert): a step up becomes a step down.Key SignatureThe music in a key: its ornaments and diatonic transpositions step through that key's scale (Euterpea's KeySig).LegatoEvery note held over into the next (Euterpea's Legato).LengthHow long the music lasts, as a fraction of a whole note (Euterpea's dur): 1 is a bar of 4/4.LinePieces of music one after another (Euterpea's line).LoudnessThe phrase played at a written dynamic, ppp to fff (Euterpea's StdLoudness).NoteA note: a pitch held for a note value.Note OfA note written as text: a pitch such as C4, F#3 or Bb2, and a length such as 1/4, 3/16, 1/4.NotesA 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.OffsetThe music after a stretch of silence (Euterpea's offset) - how a canon's second voice enters late.OrnamentEvery note of the phrase ornamented - a trill, a mordent, a turn, a rolled chord - with neighbours from the key in force.PerformThe music as the notes it plays: when each starts, how long it sounds, which key, how hard, on what (Euterpea's perform).RemoveThe music without its first part, up to a length (Euterpea's remove).RepeatThe music several times over (Euterpea's times).RestSilence for a note value.RetrogradeThe music backwards in time (Euterpea's retro).RitardandoSlowing evenly so the phrase lasts 1 + amount times as long; what follows starts that much later (Euterpea's Ritardando).Save MIDISaves the music as a Standard MIDI File, creating the folder if it is not there (Euterpea's writeMidi).ScaleThe notes of a scale, rising from its tonic, each for a note value.Scale LengthsEvery note's length multiplied, without changing the tempo marking (Euterpea's scaleDurations): 2 doubles each length.SecondsHow long the music lasts in seconds at a tempo.SlurredEvery note but the last held over into the next, as under a slur (Euterpea's Slurred).StaccatoEvery note of the phrase short, sounding for a fraction of its length (Euterpea's Staccato).TempoPlayed faster or slower (Euterpea's tempo): 2 is twice as fast and half as long, 1/2 half as fast.ThenOne piece, then another (Euterpea's :+:).To MIDIThe music as a MIDI document: one track per instrument, drums on channel 10 (Euterpea's toMidi).TransposeEvery note moved up or down by semitones (Euterpea's transpose); 12 is an octave.WithTwo pieces at once (Euterpea's :=:).
Music
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
Pattern
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.
Music Event
Make Music EventOne note as it sounds: when, how long, which key, how hard, on what.DeconstructEqualsInstrumentThe General MIDI instrument; ignored for drums.KeyMIDI key; for drums, the drum.LengthSeconds it sounds.PercussionWhether it is played on the drum kit.StartSeconds from the beginning.VelocityMIDI velocity, 1 to 127.Get Hash CodeTo String0.50 s C4 0.25 s v100 AcousticGrandPiano.Op EqualityOp Inequality
Patterns
Alternate PatternsPatterns played one a cycle in turn: verse, verse, chorus.ArpeggiateEvery chord played as an arpeggio across its own time.DegradeSteps dropped at random, the same ones every time for the same seed: a hi-hat line that breathes.EuclidA pattern spread over some steps by Euclid's algorithm, the rhythm of much of the world's music: 3 over 8 is the tresillo.EveryEvery 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.FastA pattern played faster: 2 fits it twice into each cycle.Iterate PatternEach cycle starts a step further into the pattern, so it walks round on itself.OffA 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.PalindromeA pattern forwards one cycle and backwards the next.PatternReads 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, ..PlyEvery step played several times in its own time: a quarter note becomes two eighths.Reverse PatternEach cycle of a pattern played backwards.Scale PatternA 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.Shift PatternA pattern moved later in time by a fraction of a cycle; a negative amount moves it earlier.SlowA pattern played slower: 2 spreads it over two cycles.Stack PatternsPatterns played together: drums, bass and chords as one groove.SwingSwing: in each beat-sized slice of the cycle, the off-beat is pushed late.Pattern To MusicSome cycles of a pattern as music, for the Euterpea nodes, Render Music and Play Part.Transpose PatternEvery note of a pattern moved by some semitones; drums stay.
Musical Score
MeasuresActual data stored as Measures.Make Musical ScoreBeats Per MeasureHow many beats in a measure; Numerator in time signature,Beat Step SizeBeat size for a unit beat; denominator in time signature, Actual beat count is beat size divided by note duration (1, 2, 4, 8 etc.).BpmHow many beats per minute, decides tempo.Measure Size In SecondsDuration of a measure in secondsTotal SecondsTotal duration of the entire scoreVocalsA list of vocals referencing WAV files and function like notesGet Beat Size In FloatsGet how many samples is required for a bit as deteremined by sample rate.Get Measure Size In FloatsGet how many samples is required for each measure.Get Total SamplesTotal number of samples as determined by sample rate throughout the duration of the music piece.
Note
Make NoteEqualsBase StepThe step size that corresponds to one such note.Measure Fraction DurationDurations of note in fractional number of (any) beat size.Get PitchesGet VelocityGet Duration UnitsGet Hash CodeGet Relative ScaleHow many (reference) beats is this note.To StringOp EqualityOp Inequality
Sound Font Preset
Make Sound Font PresetOne preset of a SoundFont: where it sits and what it is called.DeconstructEqualsBank0 to 127 for melodic sounds, 128 for drum kits.Is Drum KitWhether this is a drum kit, played by key rather than by pitch.NameThe name the font gives it.ProgramThe program number within the bank, 0 to 127; for General MIDI fonts, the General MIDI instrument.Get Hash CodeTo String0:0 Grand Piano.Op EqualityOp Inequality
Rendering
Default Sample RateThe rate everything renders at unless asked otherwise.Music StylesThe styles Render Generated Music composes in.Render Generated MusicComposes a piece in a style and renders it through a SoundFont.Render MIDIRenders a MIDI document built in the graph through a SoundFont.Render MIDI BytesRenders a Standard MIDI File already in memory through a SoundFont.Render MIDI On FM ChipRenders a MIDI document built in the graph on an emulated OPL FM chip.Render MIDI FileRenders a Standard MIDI File through a SoundFont.Render MIDI On FMRenders a Standard MIDI File on an emulated Yamaha OPL FM chip - the sound of 1990s PC games - with its General MIDI instrument bank.Render MusicRenders music written with the Euterpea nodes through a SoundFont: every instrument it names, drums on the General MIDI kit.Render Music On FMRenders music written with the Euterpea nodes on an emulated OPL FM chip.Render NoteOne note played on one SoundFont preset: pressed, held, then released and left to ring.Render Preset NoteOne note played on a preset found with Find Preset or Presets.Render ScoreRenders a score sheet through a SoundFont: every part on its instrument, drums on the drum channel, vocal samples mixed in where the score places them.Render Score TextRenders a score written in Cantus numbered notation, such as [C C G G] [A A G/2], through a SoundFont.
Score Sheet MIDI Writer
Sound Font Bank
NameThe font's name.PathThe file it came from, or null for a font made in memory.PlayerThe font as MeltySynth reads it, for rendering.PresetsEvery preset, by bank then program.RecordsThe font as the format stores it, for listing and editing.Size In BytesThe size of the .sf2 file.To BytesA copy of the .sf2 file's bytes.To StringGeneralUser GS v2.0.3 · 287 presets · 30.8 MB.From BytesA bank over the bytes of an .sf2 file, checked to be one.LoadThe bank for a file on disk, read once and shared while the file is unchanged.
Instrument Map
DrumsWhat plays the drums; the default SoundFont's kit when null.FallbackWhat plays every program not mapped; the default SoundFont's preset for it when null.ProgramsThe programs given an instrument of their own.ResolveThe instrument for a program, or for the drums.To StringWithThis map with one more program given an instrument.With DrumsThis map with its drums on an instrument.With FallbackThis map with everything unmapped on an instrument.EmptyA map with nothing in it: every program on the default SoundFont.
Live Music
Add Live TrackAdds a track to a live session: another pattern on another instrument, in time with the rest from the next cycle.Record LiveStarts recording what a live session plays, from the next block.Render LiveRuns the live engine offline: a pattern on an instrument for some cycles, rendered exactly as the device would hear it, into a clip.Set Live TempoChanges a live session's tempo while it plays.Set Live Track LevelSets one track's level while it plays; 0 mutes it.Start LiveStarts playing a pattern on the audio device, looping until it is stopped.Stop LiveStops a live session.Stop RecordingStops recording a live session and gives back what was heard since Record Live, as a clip for the mixer or a file.Update LiveSwaps what a track of a live session plays without stopping it, on the same beat grid: at the start of the next cycle unless told otherwise, so a phrase is never cut off halfway.
SoundFonts
Default SoundFontThe General MIDI SoundFont that ships with Divooka: GeneralUser GS, 287 presets covering every General MIDI instrument and drum kit.Describe SoundFontA font's name, preset count, size and the text it stores about itself: author, copyright, comments.Find PresetThe first preset whose name contains the given text, ignoring case - "piano", "strings", "kit".Load SoundFontOpens a SoundFont 2 file.Load SoundFont BytesReads a SoundFont that is already in memory - an asset, a download, an attachment.PresetsEvery preset in a font, by bank and program.Save SoundFontSaves a font as an .sf2 file, creating the folder if it is not there.Trim SoundFontA smaller font holding only the chosen presets and the instruments and samples they use - for shipping the three sounds a piece plays instead of the whole bank.
Instruments
FM InstrumentA General MIDI voice on an emulated OPL FM chip.Play PartMusic played on one instrument, whatever instruments it names: a part, ready for the mixer.Plucked InstrumentA plucked string: each note a burst of noise ringing at its pitch, dying away high harmonics first, damped when the key lifts.Preset InstrumentAny preset of a SoundFont - another bank's variation, or a drum kit, which plays by key.Sampler InstrumentA recording played at every pitch: the root note at its own speed, the rest faster or slower.SoundFont InstrumentA General MIDI instrument from a SoundFont.Synth InstrumentA subtractive synthesizer: detuned band-limited oscillators through a resonant ladder filter that the envelope opens.Wavetable InstrumentA wavetable synthesizer: each note plays the table at its pitch while the envelope sweeps the position, so the timbre moves as the note sounds.
Live Session
DisposeStops the device and the transport.Cycle BeatsBeats a cycle lasts.InstrumentWhat the first track plays on.Is PlayingWhether it is still sounding.Is RecordingWhether what it plays is being recorded.PatternWhat the first track plays.TracksThe tracks' names, in the order they were added.To String
Songs
Instrument MapAn instrument map: what plays the drums and what plays every program not mapped.Map InstrumentA map with one more program given its own instrument: the song's bass on a synth, its strings on a sampler.MIDI Song PartsA MIDI file played part by part, at its own tempo.MIDI TempoThe tempo a MIDI file starts at, for playing music read from it with From MIDI at the speed it was written.Play MIDI SongA MIDI file played as it is written - its own tempo changes and program changes - with every instrument on what the map gives it.Play SongA piece of music played with every instrument it names, each on what the map gives it.Song PartsA piece of music played part by part: one clip for each instrument it names and one for its drums, all as long as the song, ready for Arrange Song or a Mix Track each.