Intrinsic States & Actions on States #9
Replies: 5 comments
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Added the rest of the palettes too. I think this is sort of an exhaustive list. We are currently storing transitory instructions as states too. The new state model will separate them and thus, we should have only around 50 states as compared to over 160. |
Beta Was this translation helpful? Give feedback.
-
For one note, I it can add the specified value. For the second, it subtracts the specified value ("swing value").
This being said, I'm not confident that this block is working properly at the moment. Also, we could consider simplifying its design by inferring input, such as: Assuming that the note value of the first note block contained is the note value operated on, thus removing the need for the second "note value" input. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
instruction sequencewill be available from block-tree.Music
Rhythm
Note
State
time signature(duration, measure)Action
dot(works ontime signature) || what about multiplenoteblocks in adot?tie(works ontime signatureof 2 same notes) || what about 2 mismatched notes, and all other wrong cases?multiply note value(works ontime signature)skip notes(works on theinstruction sequence)swing(works ontime signatureof 2 notes) || what about 1 note or more than 2 notes?Meter
Measure (bar)
State
measure(beat count, beat equivalent note)measure count(value)current measure(value)beat factor(value) || how is this calculated?notes played list(note values)Action
pickup( ? ) || what does this do?no clock( ? ) || what does this do?note counter(works oninstruction sequence)sum note values(works oninstruction sequence)Beat (click)
State
beats per minute(value, beat equivalent note)beat count(value)beat-based callback(beat type, event)Action
on every beat do(dispatchesevent)on strong beat do(dispatchesevent)on weak beat do(dispatchesevent)on every note do(dispatchesevent)Pitch
State
pitch signature(type, representation values)last pitch played(type, representation value)current pitch(type, representation value)Action
override accidental(works onpitch signature)scalar transpose(works onlast pitch played)semi-tone transpose(works onlast played pitch)register(works onpitch signature)invert(works onpitch signature)set pitch number offset(works onpitch signature)scalar step up(works onkeyandmode)scalar step down(works onkeyandmode)play pitchIntervals
Key
State
key(mode note pitch, mode)current key(mode note pitch)moveable do(yes or no)Mode
State
mode list(name, pitch numbers)current mode(name)intervals list(name, pitch numbers)Action
define mode(static utility)scalar interval(works onmodeandpitch signature)semi-tone interval(works onmodeandpitch signature)scalar interval measure(works oninstruction sequenceandmode)semi-tone interval measure(works oninstruction sequenceandmode)doubly(works onintervals list)set temperament(works onpitch signatureandmode)Tone
Synth
State
instrument(name)oscillator(modulation type)Action
FM Synth(works onoscillator)AM Synth(works onoscillator)Duo Synth(works onoscillator)Effects
State
effects list(name)partials list(weight)Action
vibrato(tone.jsutility that works on synth corresponding toinstrumentandeffects list)chorus(tone.jsutility that works on synth corresponding toinstrumentandeffects list)phaser(tone.jsutility that works on synth corresponding toinstrumentandeffects list)tremolo(tone.jsutility that works on synth corresponding toinstrumentandeffects list)distortion(tone.jsutility that works on synth corresponding toinstrumentandeffects list)harmonic(tone.jsutility that works on synth corresponding toinstrument,effects list, andpartials list)weighted partials( ? ) || what does this do?Volume
State
volume(100-scale value for all instruments/drums)instrument/drum-volume map(name: value)Action
crescendo(works onvolume)decrescendo(works onvolume)set panning( ? ) || what does this do?set synth volume(works oninstrument/drum-volume map)set drum volume(works oninstrument/drum-volume map)Drum
State
current drum(name)Action
play drumLogic
Most only maintain a dynamic state and work on the
instruction sequence.State
action map(name, event)boxes(name, value)heaps(name, data structure)dictionaries(name, data structure)Action
dispatch action(dispatches aneventfromaction map)events.boxesheapsdictionariesArt & Interaction
Graphics
State
position(x-coordinate, y-coordinate)heading(angle)spline constraints(values)Action
draw on canvasPen
State
color(100-scale value)lightness(100-scale value)saturation(100-scale value)hue(100-scale value)alpha(100-scale value)pen-size(100-scale value)pen state(up or down)fill state(yes or no)line type(solid or hollow)Action
effect canvasMedia
State
CanvasContext propertiesActions
file actionsCanvasContextutilitiesSensors
State
cursor statecursor position(x-coordinate, y-coordinate)AudioContext propertiesAction
interaction effectEnsemble
State
mouse name(name)mouse list(names)mouse reference lists(object in view)Action
dispatch mouse eventBeta Was this translation helpful? Give feedback.
All reactions