Csound:MIDI File Player: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
The MIDI File Player Activity presents the user with folders full of MIDI files to perform. The first version is designed to play simple melodic songs (e.g. children's nursery rhymes).
The MIDI File Player Activity presents the user with folders full of MIDI files to perform. The first version is designed to play simple melodic songs (e.g. children's nursery rhymes).


Once the user selects a MIDI file, the activity parses the MIDI file into tracks. The user may select and view each track as a piano roll. Tracks may also be muted or soloed. Program changes recorded in the MIDI tracks change the General MIDI program for each track allowing for .
Once the user selects a MIDI file, the activity parses the MIDI file into tracks. The user may select and view each track as a piano roll. Tracks may also be muted or soloed. Program changes recorded in the MIDI tracks automatically change the General MIDI program for each track.


When the user presses the play button, the selected track begins to scroll along with the music as it performs the file. Both the piano roll keyboard and the on screen QWERTY keyboard keys light up as the song is played. Both keyboards may be played with the mouse, however, once selected, the QWERTY keyboard allows the user to press keys on the XO's keyboard to play along. The display reveals the mapping of keyboard keys to notes.
When the user presses the play button, the selected track begins to scroll along with the music as it performs the file. Both the piano roll keyboard and the on screen QWERTY keyboard keys light up as the song is played. Both keyboards may be played with the mouse, however, once selected, the QWERTY keyboard allows the user to press keys on the XO's keyboard to play along. The display reveals the mapping of keyboard keys to notes.


The Activity uses Csound as the sound engine. Csound uses the XO's General MIDI soundfont to generate the sound. (currently bundled with the Activity)
The Activity uses Csound as the sound engine. Csound uses the XO's General MIDI soundfont to generate the sound. (currently bundled with the Activity)


== Sources ==

[http://dev.laptop.org/git?p=activities/MIDI-file-player;a=summary git repo]


== Credits ==

Initial Design and Development: Greg Thompson

Idea: Dr. Richard Boulanger



[[Csound|Go back to the main Csound page]]
[[Csound|Go back to the main Csound page]]

Latest revision as of 08:28, 2 April 2008

Player small.png

The MIDI File Player Activity presents the user with folders full of MIDI files to perform. The first version is designed to play simple melodic songs (e.g. children's nursery rhymes).

Once the user selects a MIDI file, the activity parses the MIDI file into tracks. The user may select and view each track as a piano roll. Tracks may also be muted or soloed. Program changes recorded in the MIDI tracks automatically change the General MIDI program for each track.

When the user presses the play button, the selected track begins to scroll along with the music as it performs the file. Both the piano roll keyboard and the on screen QWERTY keyboard keys light up as the song is played. Both keyboards may be played with the mouse, however, once selected, the QWERTY keyboard allows the user to press keys on the XO's keyboard to play along. The display reveals the mapping of keyboard keys to notes.

The Activity uses Csound as the sound engine. Csound uses the XO's General MIDI soundfont to generate the sound. (currently bundled with the Activity)


Sources

git repo


Credits

Initial Design and Development: Greg Thompson

Idea: Dr. Richard Boulanger


Go back to the main Csound page