240 likes | 373 Vues
The Music Processing Language. Da Quan Rong. Project Manager. The Midium Factor. Midium. scripting language composition and editing of music platform independent architecture support for wav, midi and Mp3 useful regardless of musical ability. Language Features. Interpreted Java-based
E N D
DaQuanRong Project Manager
Midium scripting language composition and editing of music platform independent architecture support for wav, midi and Mp3 useful regardless of musical ability
Language Features Interpreted Java-based Enables music effects processing
Midium Program sampletrack = open("sample.mp3") play(sampletrack) while(sampletrack.realDuration > 100) wait(4) changeSpeed(sampletrack,1.2) endwhile wait(3) stop(sampletrack)
Application Domain programming language platform synthesizer
Michael Brotzman System Architect
Architecture Midium Disc Model Midium Source Program Controller View Output
Controller Controller State Manager Model Midium Source Program Interpreter Lexer Grammar View
Model Model Disc Controller DAO View
View Controller View Effects Engine Synthesizer Model Player Output
Mikhail Aronov Language Guru
File Types in Midium .mm .trk .mp Source File Track File Keyboard mapping File
Source Program File • Main.mm t = open(“track1.trk”) while (t.realDuration >= 2.0) play(t) changeSpeed(t, .5) endwhile
Track File Wait Time • track1.trk 0.0 2.0 file1.mp3 2.0 5.0 file2.mp3 0.0 3.0 /home/PLT/file3.trk 1.0 3.0 file4.wav Duration Media file
Key Mapping File Character • sample.mp a 0.0 file1.mp3 b 2.0 file2.mp3 c 0.0 /home/PLT/file3.trk d 1.0 file4.wav Offset File name/Path
Jacquilene Jacob Tester and Validator
Program Functions system functions effect functions
System Functions Sample.mm t = open(“track1.trk”) while (t.realDuration >= 2.0) play(t) changeSpeed(t, .5) endwhile stop print match contains wait startSynth stopSynth open play
Effects Sample.mm t = open(“track1.trk”) while (t.realDuration >= 2.0) play(t) changeSpeed(t, .5) endwhile filter fade loop compress reverse changeSpeed
Testing and validation Test cases Interpreter System functions Effects
If you want to play with music
simple flexible powerful AND no semi-colons!