7. Architecture of Synthesizer
Oscillator
Oscillator
MML
Mixer
Interpreter
Oscillator
Oscillator
Raw PCM
binary data
8. Music Macro Language
● Musical notation scores can translate to MML.
● Note : CDEFGAB and R
● + as #, - as ♭
● Musical Control
● Tempo T
● Volume V
● Octave O
● Default key on length L
9. How to generate MML to PCM data
MML String
Tokenizer Notation Generator
Sequence of Square Wave
Note instance Generator
RAW PCM
Binary data.
11. Let's see the code!
You can find the python source code at pasetebin.
Raw PCM data generator : http://pastebin.com/h2fxLACS
Sound Output Program : http://pastebin.com/gf0SXULY