Midium - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

Midium

Description:

support for wav, midi and Mp3. useful regardless of musical ability ... Enables music effects processing. Midium Program. sampletrack = open('sample.mp3' ... – PowerPoint PPT presentation

Number of Views:24
Avg rating:3.0/5.0
Slides: 25
Provided by: Jac6181
Category:
Tags: midium

less

Transcript and Presenter's Notes

Title: Midium


1
The Music Processing Language
2
  • Da Quan Rong

Project Manager
3
The Midium Factor
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 gt 100)
  • wait(4)
  • changeSpeed(sampletrack,1.2)
  • endwhile
  • wait(3)
  • stop(sampletrack)

7
Application Domain
  • programming language platform
  • synthesizer

8
  • Michael Brotzman

System Architect
9
Architecture
Midium
Model
Disc
Midium Source Program
Controller
View
Output
10
Controller
Controller
State Manager
Model
Midium Source Program
Interpreter
Lexer
Grammar
View
11
Model
Model
Disc
Controller
DAO
View
12
View
Controller
View
Effects Engine
Synthesizer
Model
Player
Output
13
  • Mikhail Aronov

Language Guru
14
File Types in Midium

.mm
.trk
.mp
15
Source Program File
  • Main.mm
  • t open(track1.trk)
  • while (t.realDuration gt 2.0)
  • play(t)
  • changeSpeed(t, .5)
  • endwhile

16
Track File
  • 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

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
18
  • Jacquilene Jacob

Tester and Validator
19
Program Functions
  • system functions
  • effect functions

20
System Functions
Sample.mm t open(track1.trk) while
(t.realDuration gt 2.0) play(t) changeSpeed(t,
.5) endwhile
  • stop
  • print
  • match
  • contains
  • wait
  • startSynth
  • stopSynth

21
Effects
Sample.mm t open(track1.trk) while
(t.realDuration gt 2.0) play(t) changeSpeed(t,
.5) endwhile
  • filter
  • fade
  • loop
  • compress
  • reverse

22
Testing and validation
Test cases
Effects
System functions
Interpreter
23
If you want to play with music
24
  • simple
  • flexible
  • powerful
  • AND
  • no semi-colons!
Write a Comment
User Comments (0)
About PowerShow.com