midi

ANSI or OEM Codepage when using MME and DirectMusic?

Hello, I noticed that when reading MIDI port names from MME, the names are multi-byte strings encoded using the ANSI Codepage, which my app uses by default. When receiving those names from the DirectMusic driver, the names are wide-character strings encoded with the OEM Codepage. See this article by Raymond Chen for a quick refresher on...

How does Midi TEMPO message apply to other tracks?

A fairly simple question for which I have a guess, but I can't find a definitive answer anywhere. The background: I have a multi-track midi file with TEMPO controls in the first track. I need to translate the ABSOLUTE_TICK count in other tracks to "Seconds" (fractional seconds offset from the beginning of the midi file). I have the fo...

Does anyone have any experience with playing .midi files through midi->wav conversion or the like on the iPhone?

Does anyone have any experience with playing .midi files through midi->wav conversion or the like on the iPhone? ...

Extra bytes in .mid files

Hi everyone. I'm trying to read information from a .mid file, but I keep seeing extra bytes that don't seem to be part of any midi messages. I'm not sure how to predict/deal with these and it's throwing everything else off in my project. Any suggestions? Here's a few examples: 4d 54 72 6b 00 00 04 48 Track Header 00 c0 19 ...

Reading MIDI Files

What is the best way to read a MIDI file (chronologically) with multiple tracks? (Java) Note: I don't want to play the MIDI file, just read the messages. Couple ideas: Is it safe to assume there are no note events shorter than the 1/64th note? Or should I visit every track and only move to the next tick after all other ticks tracks ...

Midi MediaElement support in Silverlight 3

Hello all, I am trying to build a small silverlight application to support some midi files as well. I've tried using the Media element, but I don't think that it can read midi files. Does any of you know a workaround, without the need to convert the midi file? ...

How to convert midi to wav \ mp3 in c#

Hello all, I've start a small project which includes working with Midi files. I've been wondering, does any of you know of a c# \vb.net code that peforms that cast between midi and wav files? ...

Internet Explorer 8 won't play midi files

Hi all, I am building a small web application to support midi files. I've noticed a strange thing. When I try browsing the content of my website and navigating to a midi file inside it Internet Explorer won't show me the midi file player. Instead I see a broken image. Safari, Chrome and even Firefox do support it. I've installed several...

iPhone USB transfer cable->MIDI?

I'm just wondering if this is possible (I think not)... The iPhone has a 30 pin connector cable to USB. It "talks" USB already. Is it possible to talk to a MIDI device (i.e. a keyboard with USB) using the cable with the current API? Ideally, one could plug the iPhone directly into the USB port of a MIDI keyboard and then talk to the ke...

Java applet to display and play midi files

Hello all, I am looking for a java applet to be embedded in a web page and be able to present notes or tabs based on midi files. I would also be very happy if it could be able to play these files. Does any of you know of such an applet? perhaps some kind of an open source project ongoing somewhere? ...

animating a midi file

can someone explain to me how this was done: http://www.youtube.com/watch?v=ipzR9bhei%5Fo&NR=1&feature=fvwp what tool did this person use to analyze the midi file? was it a midi file? how did they turn it into this kind of animation? is it possible to make an application like this in vb.net? ...

How to "slow down" a MIDI file (ideally in Python)?

I have background music for some songs available in both .MID and .KAR formats, but in each case it's being played somewhat faster than I'd like. What's the simplest way to create either .MID or .KAR files with the same content but at a slower tempo -- say, one slowed down by 20% or so, another by 15%, a third by 25%, and so on? Ideally...

Safely echoing MIDI data in C#

As a side project, I am implementing a MIDI matrix to interconnect a number of MIDI keyboards with sound sources. The key requirement here is to echo MIDI data received on an input port to a selected output port. Having created the necessary P/Invoke declarations & wrappers, I notice that the Win32 MIDI documentation for MidiInProc state...

Java MIDI - getting data from piano?

I've inherited a Java project that used an old C++ dll to receive MIDI data from a piano connected to the computer. Now that Java has built-in support for MIDI devices, I want to get rid of the legacy C++ dll and just use pure Java. Does Java support receiving data from a piano connected to the computer? I've searched Google for example...

reading midi input

hi, is there a module to read midi input (live) with python? ...

Getting input from MIDI devices live (Python)

I've got a trigger finger (MIDI tablet) and I want to be able to read its input live and make python execute actions depending on the pressed key. I need it for Windows, and preferably working with python 2.5 + Thanks ...

Can Silverlight communicate with a MIDI instrument?

Can Silverlight communicate with a MIDI instrument connected to the machine running the Silverlight application? In- or out-browser. ...

Arduino : sending MIDI up the USB

I'm interested in making an Arduino based MIDI controller to talk to my computer. Looking at other examples of Arduino MIDI (eg. http://itp.nyu.edu/physcomp/Labs/MIDIOutput), they all seem to wire up a dedicated 5 pin DIN. Which makes sense as this is the original cable to connect keyboards, expanders and sequencers together. However, I...

How to set MIDI out transmitter?

Hello, I'm using a Java library called jMusic to create some sounds. I'm just trying it out for now so I've made this simple program. When I try to run it, I get the following exception: run: Midi System Unavailable:javax.sound.midi.MidiUnavailableException: MIDI OUT transmitter not available BUILD SUCCESSFUL (total time: 2 seconds) I...

Play single midi woodblock note on Java?

I'm planning to create my own metronome (woodblock instrument) using Java that could set its bpm, volume, etc. And I have tried over 16 channels (MIDI 1.0 specification) obtained from getChannels() but there is no woodblock heard at all. Here's the code taken from http://www.jsresources.org /* * Turn the note on on MIDI channel 1...