UML Class Diagram #11
Pinned
meganindya
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Engine
using Music Blocks' jargon
Notes
Except
Turtle
(and therebyPainter
,Singer
, andState
), all the rest of the classes are singleton.The
InstructionDataStructure
(block tree) is present in the pool shared by the engine and the client, i.e. outside the engine, and so isTone.js
.The
GATEWAY
is the component responsible for any communication external to the engine.The
State
andStateTransitionUtils
(utilities to work on aState
object) form the feature API (all available programming features of Music Blocks, basically a library). This can be exposed to the client via a middleware in the broker.The
HotspotCompiler
pre-processes non-interactive instructions by traversing theInstructionDataStructure
and generates a variable-based (someState
properties including the first dispatch time are variables) schedule; theInterpreter
actually executes the instructions and uses the compiled schedules generated by theHotspotCompiler
, resulting in a faster and lightweight dynamic execution.@walterbender opinions?
Beta Was this translation helpful? Give feedback.
All reactions