Download presentation
Presentation is loading. Please wait.
Published byGinger Booth Modified over 9 years ago
1
The Music Processing Language
2
Da Quan Rong
4
Midium scripting language composition and editing of music platform independent architecture support for wav, midi and Mp3 useful regardless of musical ability
5
Language Features Interpreted Java-based Enables music effects processing
6
Midium Program sampletrack = open("sample.mp3") play(sampletrack) while(sampletrack.realDuration > 100) wait(4) changeSpeed(sampletrack,1.2) endwhile wait(3) stop(sampletrack)
7
Application Domain programming language platform synthesizer
8
Michael Brotzman
9
Architecture Midium Source Program Controller Model Disc View Output Midium
10
Controller Midium Source Program Lexer Model View Controller Interpreter Grammar State Manager
11
Model Controller DAO View Model Disc
12
View Player Controller Model View Synthesizer Output Effects Engine
13
Mikhail Aronov
14
File Types in Midium. mm. trk.mp
15
Source Program File Main.mm t = open(“track1.trk”) while (t.realDuration >= 2.0) play(t) changeSpeed(t,.5) endwhile
16
Track File track1.trk 0.02.0 file1.mp3 2.05.0 file2.mp3 0.03.0 /home/PLT/file3.trk 1.0 3.0 file4.wav Wait TimeDuration Media file
17
Key Mapping File 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 Character File name/Path
18
Jacquilene Jacob
19
Program Functions system functions effect functions
20
System Functions stop print match contains wait startSynth stopSynth Sample.mm t = open(“track1.trk”) while (t.realDuration >= 2.0) play(t) changeSpeed(t,.5) endwhile open play
21
Effects filter fade loop compress reverse Sample.mm t = open(“track1.trk”) while (t.realDuration >= 2.0) play(t) changeSpeed(t,.5) endwhile changeSpeed
22
Testing and validation Test cases EffectsSystem functionsInterpreter
24
simple flexible powerful AND no semi-colons!
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.