Friday, April 27, 2007

Game Computing

Game consoles use high-end processors and graphics cards to provide the best game experience. The Xbox 360 now allows hobbyists to program and share games with XNA Game Studio Express

Labels: ,

car computers

Cars have certainly gotten more complex. Computers help control emissions and avoid a proliferation of wires to each component. See How Car Computers Work"

Labels:

Thursday, April 19, 2007

MIDI Files

MIDI does not sample the audio signal. It transmits codes that tell what note to play for how long and at what volume. The MIDI is the language of gods site has MIDI information and programs to manipulate MIDI files which are binary and cannot be read in a text editor. The MIDI File Disassembler/Assembler converts from MIDI to text or text to MIDI.

Bach's two-part invention 7 can be played and converted to text. We can edit the text file to make changes in the music and convert back to MIDI to play the changed piece. For example adding "| transpose = 12" to the Track 1 heading changes each note by trasposing it 12 tones higher. Their are 12 tones in an octave so this command will raise the sound ond octave higher. View the text and play the MIDI file.

The tempo is fast but changing BPM from 107 to 60 and omitting micros\quarter=555556 will slow it down. View the text and play the MIDI file. We can also change the pitch of notes. For fun I changed F#4 to A5 by creating the file pitchdata containing the line
F#4 = A5
and adding the command
| map="C:\Documents and Settings\art\Desktop\MIDI\pitchdata"
to the heading of track 1. View the text and play the MIDI file.

For reference look at the sheet music. All MIDI files are binary, but using a program we can display the numerical bytes, with annotations added, of the original MIDI file.

Labels: