FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Sound
(Moderators: pitaru, REAS)
   Analyzing MIDI files
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Analyzing MIDI files  (Read 609 times)
eggert


Analyzing MIDI files
« on: Dec 2nd, 2004, 12:27pm »

Hi people,
 
My problem is the following:
 
I am making a sort of a kareoki system with visual an aid.  I am using wav files as backing tracks.  
 
For the melody; I would like to play it in on a keyboard, save a MIDI file and draw a curve on the screen based on the notes played.
 
The problem is: how do I analyze that midi file? and extract the values for the notes..
 
I then have a sprite that moves constantly on the x-axis and I control the movement on the y-axis with the pitch of the voice (singing).  The objective is to use the curve (from the midifile) to help you sing in tune.
 
http://www.turbulence.org/Works/song/index.html is an example of a program analyzing midifiles
 
Any suggestions?
 
(hope somebody understands what I am trying to do here)
 
regards,  
Eggert
 
gll

WWW Email
Re: Analyzing MIDI files
« Reply #1 on: Dec 4th, 2004, 7:33am »

Hi, to read MIDI files, I planned to work with JMusic, you could take a look at this example;
 
http://jmusic.ci.qut.edu.au/jmtutorial/ReadUseMIDI.html
and http://jmusic.ci.qut.edu.au/jmtutorial/Constants.html
 
I don't know how Joon Yu did his applet?
 

guillaume LaBelle
Pages: 1 

« Previous topic | Next topic »