/tg/ Station 13 - Modules - TypesVar Details

synth

Vars

beats_per_minThe beats per minute of the song
is_playingWhether a song is currently playing
note_decayIf set the last held note will decay
note_shiftNote shift
playStarts playing the song.
repetitionsHow many times the song will be played.
selected_instrumentThe list of instruments which sound can be synthesized.
songThe song, represented in latin alphabet A to G, that'll be played when play is triggered.
started_playingSent when a new song has started playing
stopStop playing the song.
stopped_playingSent when a song has finished playing
sustain_modeSustain Mode
sustain_valueThe value of the above
synthThe synthesizer this circut is attached to.
volumeThe volume of the song
volume_dropoffNotes with volume below this threshold will be dead

Var Details

beats_per_min

The beats per minute of the song

is_playing

Whether a song is currently playing

note_decay

If set the last held note will decay

note_shift

Note shift

play

Starts playing the song.

repetitions

How many times the song will be played.

selected_instrument

The list of instruments which sound can be synthesized.

song

The song, represented in latin alphabet A to G, that'll be played when play is triggered.

started_playing

Sent when a new song has started playing

stop

Stop playing the song.

stopped_playing

Sent when a song has finished playing

sustain_mode

Sustain Mode

sustain_value

The value of the above

synth

The synthesizer this circut is attached to.

volume

The volume of the song

volume_dropoff

Notes with volume below this threshold will be dead