Designing a Music Scripting Language Casey Mihaloew Computer Systems Lab 2008-2009.

Slides:



Advertisements
Similar presentations
Music Terms & Symbol Review
Advertisements

Final Review 8th grade Band 4th quarter Time Signature Indicates the of beats per measure.
Music Terms & Symbol Review
Music is Science A Childrens Concert for Orchestra Featuring: Douglas P. Droste Artistic Director, Muncie Symphony Orchestra Dr. Patrick Herak Adjunct.
Designing a Music Scripting Language Casey Mihaloew Computer Systems Lab
Int 2 Multimedia Revision. Digitised Sound Analogue sound recorded from person, or real instruments.
Brass Family Hayden Braxton January 2007 How sound is produced in the Brass family The sound is produced by the player buzzing his or her lips and by.
1. If this standing wave is 3.2 m long, what is the wavelength? (2.56 m)
You are an acoustic engineer. You have recorded a pure note of music that is described mathematically as f ( t ) = 20 sin (880  t ), where t is time in.
Elements of Music. Harmony Two or more notes together Two or more notes together Chord – three or more notes at one time Chord – three or more notes at.
AN INTRODUCTION TO PRAAT Tina John M.A. Institute of Phonetics and digital Speech Processing - University Kiel Institute of Phonetics and Speech Processing.
Dr. Jie ZouPHY Chapter 8 (Hall) Sound Spectra.
The Stars and Stripes Forever
EE2F2 - Music Technology 11. Physical Modelling Introduction Some ‘expressive instruments don’t sound very convincing when sampled Examples: wind or.
EE2F2 - Music Technology 8. Subtractive Synthesis.
Object Orientated Data Topic 5: Multimedia Technology.
Pitch Pitch can be described as being how high or low the sound is heard. Pitch is determined by the speed or frequency of the vibration which is causing.
infinity-project.org Engineering education for today’s classroom 53 Design Problem - Digital Band Build a digital system that can create music of any.
Designing a Music Scripting Language Casey Mihaloew TJHSST Computer Systems Lab Abstract: The problem addressed in this project is finding a.
Midi files Here we look at another way of dealing with sound on a computer the use of Midi files. The the Midi file differs from the “wav” file, because.
‘EINE KLEINE NACHTMUSIK’
Making music Consider music as structured sound Components include –Pitch –Duration –Instrument –Stereo direction Each attribute has a set of possible.
The Musical Elements.
Final Review 7th grade Band 4th quarter Time Signature Indicates the number of beats per measure.
TJHSST Computer Systems Lab Senior Research Project Designing a Music Scripting Language Casey Mihaloew Abstract: The problem addressed in this.
Song Pro Retro Alex Harper. Contents of Presentation Inspiration Basic Concept Speaker Module.sng file structure Song Pro Retro: Light Song Pro Retro:
Which instruments are members of the percussion family? A.) violin, viola, cello B.) xylophone, snare drum bass drum C.) oboe, bassoon, clarinet,
Creating Soundtracks and more with GarageBand. Timeline Track HeaderTrack Mixer Transport Controls Instrument Fx & Loop Browser Time display/tuner Master.
1 CSC 221: Introduction to Programming Fall 2012 Functions & Modules  standard modules: math, random  Python documentation, help  user-defined functions,
13.3. Harmonics A vibrating string will produce standing waves whose frequencies depend upon the length of the string. Harmonics Video 2:34.
CSA2050: Introduction to Computational Linguistics Part of Speech (POS) Tagging II Transformation Based Tagging Brill (1995)
Matlab Basics Tutorial. Vectors Let's start off by creating something simple, like a vector. Enter each element of the vector (separated by a space) between.
Object Orientated Data Topic 5: Multimedia Technology.
Computers and Scientific Thinking David Reed, Creighton University Functions and Libraries 1.
Skill 1: Classifying a Polynomial Function by Equation and Graph Mrs. Castro.
Chapter 12 Sound Hr Physics. Sound  Vibrations in matter. No one need be around to hear it.  Composed of Compressions & Rarefactions.  Compressions.
Computer Science 1 Week 11. This Week... QBasic While Loops QBasic While Loops Audio Basics Audio Basics.
MULTIMEDIA INPUT / OUTPUT TECHNOLOGIES INTRODUCTION 6/1/ A.Aruna, Assistant Professor, Faculty of Information Technology.
Temple University Training Acoustic Models Using SphinxTrain Jaykrishna Shukla, Mubin Amehed, and Cara Santin Department of Electrical and Computer Engineering.
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
TJHSST Computer Systems Lab Senior Research Project Designing a Music Scripting Language Casey Mihaloew Abstract: The problem addressed in this.
The Physics of Music Waves
1/27/2016Tech I Lighting Unit1 Sound: Properties and Functions Technical Theatre I.
Sound Quality.
Musical Terms for Choir Make sure you know how these are used!!!
Music Terms & Symbol Review. Measure Clef A symbol that assigns pitches to the staff.
ICS312 Introduction to Compilers Set 23. What is a Compiler? A compiler is software (a program) that translates a high-level programming language to machine.
TJHSST Computer Systems Lab Senior Research Project Designing a Music Scripting Language Casey Mihaloew Abstract: The problem addressed in this.
STEREO Sonification Project D. Bithell, R. Morales, L. M. Peticolas, N. Craig Space Sciences Laboratory (SSL) Center for New Music and Audio Technologies.
Elements of Music. Clefs  Found at the beginning of music.  Tell the player whether to read treble clef or bass clef.  Treble also called G clef. 
Music terms!. Music 1Music 2Music 3Music 4Music
ELEMENTS OF MUSIC.  Listening to music for a music class is different than just listening to your favourite song on the radio.  You need to listen for.
KS3 End of Year Exams Music Revision.
Chapter 15 - C++ As A "Better C"
Elements of music All forms of music from all societies and cultures have common characteristics and elements Rhythm - How the beat is broken down Melody.
MUSIC HIGH SCHOOL – MADRIGAL
Level 1 - Making Music Instrumental “At a Glance”
Fanfare 3 Year 10 Composition.
A Melody Composer for both Tonal and Non-Tonal Languages
MUSICAL STRUCTURE ELEMENTS OF MUSIC.
Designing a Music Scripting Language Casey Mihaloew
Dahno DRUMP Programming language.
Writing functions in MATLAB
Implementation of a Functional Programming Language
Enhancing the Enlargement of Images
Musical Notes and Sine Waves
Matlab Basics Tutorial
Harmonics.
The Elements of Music.
The frequency (Hertz) of a sound
Presentation transcript:

Designing a Music Scripting Language Casey Mihaloew Computer Systems Lab

Introduction Turn a formatted text file into a sound file Take into account 4 parameters Volume Tempo Pitch Tone Have instant and gradual changes

Similar Projects LilyPond JMusic CMusic ChucK

Mapping Shortens music file Shown with parentheses Repeats Example ([C2:1],[C2:1],[C2:1],[C2:1])(staccato, tenuto) ([C2:1] staccato, [C2:1] tenuto, [C2:1] staccato, [C2:1] tenuto)

Example Input {import tempos} {import volumes} {def $i (tuba,trumpet,horn)} {(initInstr)$i$i} {$i(noteType basic)} {$i(timeSignature 4:4)} {$i(tempo $allegro)} {$i(volume $forte)} {$i(test)} {(tuba,trumpet,horn)( ([C2:1/2],[D2:7/2]), ([C4:1],[B3:3]), ([G3:4] tenuto), ([C2:3],[D2:1]), ([E4:2],[G4:2]), ([F3:1],[E3:1],[D3:1],[C3:1]) )} {$i(play)} Separate Line Imports Define Constants Instruments Notes

Example Parsing initInstr,tuba,tuba,... horn,play, tuba ins. tempo: volume: 0.6. time signature: 4 4 trumpet ins. tempo: volume: 0.6. time signature: 4 4 horn ins. tempo: volume: 0.6. time signature: 4 4 tuba ins. Start: 0.0. Stop: 0.25 for note 1/2 counts of C2( ) tuba ins. Start: Stop: 2.0 for note 7/2 counts of D2( ) tuba ins. Start: 2.0. Stop: 3.5 for note 3 counts of C2( ) tuba ins. Start: 3.5. Stop: 4.0 for note 1 counts of D2( ) trumpet ins. Start: 0.0. Stop: 0.5 for note 1 counts of C4( ) trumpet ins. Start: 0.5. Stop: 2.0 for note 3 counts of B3( ) trumpet ins. Start: 2.0. Stop: 3.0 for note 2 counts of E4( ) trumpet ins. Start: 3.0. Stop: 4.0 for note 2 counts of G4( ) horn ins. Start: 0.0. Stop: 2.0 for note 4 counts of G3( ) tenuto horn ins. Start: 2.0. Stop: 2.5 for note 1 counts of F3( ) horn ins. Start: 2.5. Stop: 3.0 for note 1 counts of E3( ) horn ins. Start: 3.0. Stop: 3.5 for note 1 counts of D3( ) horn ins. Start: 3.5. Stop: 4.0 for note 1 counts of C3( ) Current Output Parsed Program List of notes Instrument Start/end time Length Pitch Modifiers

Hierarchy

Generating Sound Additive Synthesis Global Time Variable Parameters Functions Simple Sine Waves Sounds bland Harmonics to be added AU Sound Format Predefined tempo and volume

Example Output

Improving Sound Note Decay/Shape Sound Harmonics Style Differentiation Gradual changes

Future Plans Mentioned in Improving Sound Fix mapping (differentiating between “,” and “)(“) More flexibility in note parsing Speed Up