midi

Introduction to midi programming

So I have a little (musical) keyboard that has USB midi interface. I know you can program to this (many programs accept input from the midi device via USB interface) but where do you begin to program a midi device? Ideally I'm looking for a platform-independent api, through Python or something. ...

c++ / c confusion

Im trying to make a small app in c++ that saves midifiles with this library. http://musicnote.sourceforge.net/docs/html/index.html The sample code that is given on the homepage looks like this. #include "MusicNoteLib.h" void main() { MusicNoteLib::Player player; // Create the Player Object player.Play("C D E F ...

Play MIDI on client thru web?

Hello! I read this post, which explains how to play MIDI. I need to make a web-application that plays MIDI sequnces on users demand. How to do this? Should I simply make a Silverlight player that plays a MIDI file? So how do I transfer the file to the player? Or else, maybe there is a way to interact with the client's MIDI system. NOTE...

What is the structure of a MIDI file?

Hello! I want to manually have a function that creates a MIDI file according to users demands, for example. User write 2 patches that contain 8 bars of 4 quarters of A4 (Concert A - 440hz) and C4 (each as a seperated channel) on 120 speed, at velocity 100, instrument piano (01) and patch 49 or whatever. How should the MIDI file look l...

Magnifying tool on MIDI files?

Hello! I am searching for any interactive tool out there that will help me read and write MIDI files, just by entering binary data. I mean, when I write binary in the binary pane, it tells me in the other pane when I've entered and vice versa. I read this page, and there were mentioned a few programs: "REC.EXE", "DEC.EXE" and "MIDINOT...

How would I go about programatically interacting with VST(i) Plugins to synthesize audio?

Take, for example, the VSTi Triforce, by Tweakbench. When loaded up in any VST host on the market, it allows the host to send a (presumably MIDI) signal to the VSTi. The VSTi will then process that signal and output synthesized audio as created by a software instrument within the VSTi. For example, sending an A4 (MIDI note, I believe)...

Soundbank for Java

I am working on a Java applet that uses javax.sound.midi.sequencer to play a MIDI sequence. In order for this to work, the visitor needs to have a soundbank installed on his/her computer. Apparently, the Windows JRE doesn't come with a soundbank, and one has to be downloaded separately from http://java.sun.com/products/java-media/sound/...

Simulating a MIDI device - Windows

Hi, I need some advice on windows programming, MIDI and WDM. I am trying to write a small application that will sit in the sys tray and be advertised to the system as a MIDI In/Out device so that MIDI programs can send to it and it will convert the messages into a different format. I have been reading Cant's WDM book and scouring for...

Virtual drivers with Windows Driver Model - where to begin?

I've never written drivers before but I'm starting an open-source project that involves creating virtual MIDI ports that will send the MIDI data over a network. For this, I presume I would be creating some sort of virtual driver using WDM (unless it's possible with kernel hooks?) - but being a beginner to driver development I don't know...

.NET API for music programming?

In short words I am looking for a .NET translation of JFugue. Update I realize that there is no real .NET alternative for JFugue, the posts bellow are always great as a guideline for one who wants to develop it by his own. Thanks for all of you. Note: I want to emphsize that my search is on the transcription part, not the playing part,...

How to send MIDI or OSC signals to a Mac application from my iOS application?

I'm thinking of writing an iPhone/iPad application to emulate a MIDI controller. I know there are already quite a few available but I still want to do my own. I have several questions about that: I know a little bit about MIDI, but I've recently heard about OSC. Obviously MIDI is supported by almost all DJ software applications, but do...

How to write chords with MIDI?

Hello! How do I write a chord, i.e. a NoteOn of seveal notes on each above the other at the same time line? What should be the message for this chord. ...

Test driver built from DMusUART sample doesn't show up as a MIDI port to other programs

Hi, Since an earlier question regarding creating a virtual MIDI device (so I can direct MIDI to applications on same PC):- I have tried to build a test driver using the adapter shown in the DDK sample "MPU401" and created a Miniport modelled (almost exactly) on the DMusUART sample. After blue-screening my PC a few times and probably d...

MIDI: Convert BPM to FPS delta time?

Hello! Given a BPM (beats per minute) MIDI delta time (leftmost bit off) with speed of 192: 0x00C0 I want to convert it to a FPS/TPM (frames per second / ticks per minute) delta time (leftmost bit on), but it should be the same (or the most accurate) speed value if you know what I mean. For more info about MIDI Delta Time please tak...

MIDI Program Change event.

Please take a look at Midi Event Commands, where it's explained that some events like Program Change take only one parameter. My question is then what do you send along with this event's 2nd parameter's byte, is it 0x00? or you just entirely omit it from the event which doesn't really make sense? ...

Sending a HTML email with a midi file that needs to play automatic on open

I'm trying to accomplish the following, I'm sending a HTML email using PHP Mailer that reads a html file and embedding a midi file within the HTML file, and it then sends out the email and then the midi file should start playing automatically once the email is opened, is this possible, since it does not seem to work, I'm using Evolution ...

how to convert sound wave to midi in c#

Does anyone know how to convert an analog sound wave to a midi file. I know that differs from wav to mp3 but thats not important for now. I only want to learn the basic logic of the conversion. if anyone can give me some article or some source code about it, I will appriciate it. ...

Why is there a velocity parameter for Note Off Events?

In MIDI note off event velocity can be specified as well, why? Always when a Note On event's velocity is zero, it basically represents a Note Off event? and vice versa, always when there is a NoteOff event it represents Note Off regardless of its velocity? I noticed in some MIDI files, instead of using Note Off events, there is anothe...

controlling VST instruments from Ruby

I've recently bought a copy of EZDrummer, a VST plugin that acts as a virtual drumkit. I'd really like to hook into it from Ruby code so that I can create loops and drum patterns programmatically. To be honest I am not sure even where to start. Presumably I have to create a VST host which can load the plugin and then hook into it somehow...

Generate live MIDI from Javascript.

Hello, I made some research and it seems that Javascript and MIDI are not going well together these days. At least so Google says. As stated in this topic: http://stackoverflow.com/questions/2761504/generating-midi-in-javascript, it is possible to create a file, either in Javascript or server-side, and play it like one would play a usu...