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.
-
instruction sequence
will be available from block-tree.Music
Rhythm
Note
State
time signature
(duration, measure)Action
dot
(works ontime signature
) || what about multiplenote
blocks in adot
?tie
(works ontime signature
of 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 signature
of 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 onkey
andmode
)scalar step down
(works onkey
andmode
)play pitch
Intervals
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 onmode
andpitch signature
)semi-tone interval
(works onmode
andpitch signature
)scalar interval measure
(works oninstruction sequence
andmode
)semi-tone interval measure
(works oninstruction sequence
andmode
)doubly
(works onintervals list
)set temperament
(works onpitch signature
andmode
)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.js
utility that works on synth corresponding toinstrument
andeffects list
)chorus
(tone.js
utility that works on synth corresponding toinstrument
andeffects list
)phaser
(tone.js
utility that works on synth corresponding toinstrument
andeffects list
)tremolo
(tone.js
utility that works on synth corresponding toinstrument
andeffects list
)distortion
(tone.js
utility that works on synth corresponding toinstrument
andeffects list
)harmonic
(tone.js
utility 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 drum
Logic
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 anevent
fromaction map
)event
s.boxes
heaps
dictionaries
Art & Interaction
Graphics
State
position
(x-coordinate, y-coordinate)heading
(angle)spline constraints
(values)Action
draw on canvas
Pen
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 canvas
Media
State
CanvasContext properties
Actions
file actions
CanvasContext
utilitiesSensors
State
cursor state
cursor position
(x-coordinate, y-coordinate)AudioContext properties
Action
interaction effect
Ensemble
State
mouse name
(name)mouse list
(names)mouse reference lists
(object in view)Action
dispatch mouse event
Beta Was this translation helpful? Give feedback.
All reactions