midi

Free software physically modeled piano?

Is there any free code online for a physically modeled (i.e. not sample-based) piano sound? Examples of commercial software include Pianoteq and the firmware for Roland's V-Piano. This is for an open-source digital piano project I'm working on. ...

Playing MIDI out in OS X, C++

How can I send MIDI messages out from a C++ program and have them play the sound from the General MIDI bank? I've looked around and there doesn't seem to be a simple answer, and my brain starts to melt after reading long manuals about CoreMIDI and things like that. I have a simple C++ game/synthesizer project, and all I want to do is, ...

Generate mp3 from midi

I need to generate MP3 files from MIDI files in batch. Is there a library that can do that? Preferably open source and written in .NET ...

Need a library that generates WAVE from Midi

I have about 80 compositions written in MIDI and I want to convert them in to WAVE using a sound library. So they can be played on all computers and sound the same. Is there a library that can automate this? Preferably in C#, but other programming languages are fine too. ...

Brain fail in understanding design patterns for designing a Real Time application

I've set myself the task of implementing a real time MIDI application. Like all the other software I've written to date, I began by coding. I implemented a tiny GUI (GTK2) application that can control the transport state of the Jack Audio Connection Kit and its clients. I have never written a real-time application before, and have only ...

Python interface for outputting MIDI files or text that's readable by audio programs

I am looking for a python package or library that will allow me to programmatically output a file format (e.g. MIDI) that can be read by audio/sound processing programs, like LogicPro or iDrum. What are the best options for this? thanks very much. ...

Open source MIDI libraries

Hi, I would like to know about open source libraries that could be used to perform some simple tasks on MIDI files: reading a file one note - or chord - at a time; extracting a given instrument to re-encode it separately in a new file; allow to produce a "customizable" score -- by that I mean that I should be able to alter the way the...

Create midi file

I am trying to create midi file. I have Array of values note pitch, velocity, note length. I need simple function somthing like this // Saves one track midi file public void SaveAsMidi(string fileName, int[] notes, int[] length, int velocity) { } Or maybe there is xml to midi or other api that I can use to save my data as midi...

Getting CoreMIDI to work in snow leopard with SimpleSynth

I have been trying to follow the steps in the book Ruby Practical Project - making music with ruby and was trying to get CoreMIDI and output some notes using SimpleSynth. I can connect to the destination but when i do something like midi = LiveMIDI.new midi.note_on(0, 60, 100) I get no output from the sound system. Has anyone tri...

Diff MIDI files

Does anybody know a library or application that is able to diff two versions of a MIDI file? ...

Actual note duration from MIDI duration

I'm currently implementing an application to perform some tasks on MIDI files, and my current problem is to output the notes I've read to a LilyPond file. I've merged note_on and note_off events to single notes object with absolute start and absolute duration, but I don't really see how to convert that duration to actual music notation...

Java: Embedding Soundbank file in JAR

If I have a soundbank stored in a JAR, how would I load that soundbank into my application using resource loading...? I'm trying to consolidate as much of a MIDI program into the jar file as I can, and the last thing I have to add is the soundbank file I'm using, as users won't have the soundbanks installed. I'm trying to put it into my...

Brainstorming - MIDI over LAN

I'm planning out a summer coding project for myself. I work with a lot of MIDI and have been researching it a lot. I know it's an old technology, but it works with a lot of music hardware/software so in my eyes, it's still viable. Anyway, I haven't ever worked with writing drivers or anything, so I don't know where I would start with thi...

How to play MIDI on the iPhone?

As far as I know, there is not native or third party library available to play MIDI on the iPhone. But there seem to be quite a few apps that do exactly that. What are they using? Any clues? ...

C++ MIDI file reading library

I'm trying to write some software to read a MIDI file into an internal data format and use it to control 3D simulated instruments. My biggest problem is reading the MIDI data in from a file, and I'd like to avoid writing all the import code. Does anyone know of a free (preferably Open Source), cross-platform MIDI file reading library? W...

Problem sending bytes greater than 127 to Java Sound's SysexMessage

I'm doing some work with the JavaSound API to send a MIDI System Exclusive (Sysex) message to an external MIDI device (an electronic keyboard). According to the Yamaha manual, the data to send to light up one of the keys is this series of bytes: F0 43 7F 00 00 03 00 41 F7. According to the JavaDoc on SysexMessage, the correct way to sen...

What is the best way to program MIDI for Windows?

I am looking to write a small program that receives input from an external device and then sends MIDI signals to any MIDI compatible software. What is the best way, from the MIDI perspective, to go about this? Are there any specific libraries I should look into? Thanks. ...

Dynamic Midi generation and playback on Android: Possible?

Strangely I find no support for Midi in Android. The only thing that comes close is the Jetplayer, but this only takes a existing .jet file. I want to dynamically generate a midi file with some intervals and play it. I even thought about just manually creating a .jet file with a tone and then transposing it with the jet player, but it ...

What happened to the Windows "Midi Mapper"?

I wrote a windows program many years ago, which created music by sending notes to the "midi mapper" (and thence to the midi-synth on my sound-card) Today, I have a soft-synth which, allegedly accepts midi information, so I'd assume it should be possible to use today's equivalent of a midi-mapper to route the midi output from my program ...

MidiSystem.getSequencer() returns Audio Device Unavailable

I've keep having an exception thrown, on and on. When i try to make a new Sequencer object, i keep getting the javax.sound.midi.MidiUnavailableException: Audio Device Unavailable exception. So, here's the code: import javax.sound.midi.*; public class MiniMusicPlayer1 { public static void main(String[] args) { try { Se...