Questions tagged [midi]

MIDI (Musical Instrument Digital Interface) is a protocol used to allow music hardware, software and other equipment to communicate with each other.

MIDI is a widely-used protocol which can transmit note, controller, program, timing and vendor/hardware musical instrument specific (so called system exclusive/SysEx) information. The MIDI protocol can be used to allow your software to communicate with other MIDI-compatible software or hardware.

Some useful resources on the MIDI protocol:

1972 questions
6
votes
1 answer

Java MIDI Sequencer alternatives

I was trying to use the MIDI sequencer incorporated into the JVM (as told here, if anyone has an answer it's still welcome) and found that this sequencer implementations has several limitations, that range from being stuck to the Java MIDI…
hoheinzollern
  • 651
  • 6
  • 16
6
votes
2 answers

How do I get my teeth into iPhone MIDI

Sorry, this is a really basic question. Say I want to press buttons on my iPad, and have fruity loops ( on my MacBook ) play 'twinkle twinkle Little Star' How do I do this? What code to use? Could someone give an example? how do I set it up? Do…
P i
  • 29,020
  • 36
  • 159
  • 267
6
votes
1 answer

Play MIDI file from Common Lisp

Is it possible to play a MIDI file (existing on the hard drive) from Common Lisp? If so, how?
Paul Reiners
  • 8,576
  • 33
  • 117
  • 202
6
votes
0 answers

inconsistent midi naming when using multiple devices of the same type

I am facing an obscure behaviour of device naming when trying to use multiple USB midi devices of the same type of hardware. As this might be hardware/system/driver related, here is my general setup: host: Windows 8.1 x64 (tested on multiple…
mvo
  • 1,138
  • 10
  • 18
6
votes
3 answers

Simulating a MIDI device - Windows

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…
user380998
  • 61
  • 1
  • 3
6
votes
1 answer

Loading midi.js soundfonts dynamically

I just started using midi.js and so far it seems really neat. I am currently loading all of my sounds fonts at once like so: MIDI.loadPlugin({ soundfontUrl: "js/MIDI/soundfont/FluidR3_GM/", instrument: instruments, callback:…
Mike2012
  • 7,629
  • 15
  • 84
  • 135
6
votes
4 answers

A simple free MIDI implementation in Java besides javax.sound.midi: Are there any?

The problem is: Android doesn't implement javax.sound.midi. I need a simple free library that allows me to create simple 1-track midi files. I searched the net for it, but can't really find anything, since everything uses javax.sound.midi . The…
Peterdk
  • 15,625
  • 20
  • 101
  • 140
6
votes
2 answers

Generating a FileDescriptor on Android without first opening a file

In Android, is it possible to generate a FileDescriptor directly from a byte array, without having to open a file first? In Android 2.2, I am generating a MIDI file on the fly, and then playing it back using MediaPlayer. I've included the text of…
James Newton
  • 6,623
  • 8
  • 49
  • 113
6
votes
1 answer

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…
Anthony Labarre
  • 2,745
  • 1
  • 28
  • 39
6
votes
1 answer

No preset found on channel 9 when playing midi with newly created soundfont

I have created a soundfont with Polyphone to create a new instrument "bagana". It just has 1 instrument "Bagana", with 1 present "Bagana". I tried playing a midi file (just a piano piece) with FluidSynth, it worked. When I direct it through the…
dorien
  • 5,265
  • 10
  • 57
  • 116
6
votes
1 answer

playing Midi notes (not files) in android

Working on a simple keyboard for android. I found android-midi-lib from Google very useful and powerful but it seems to me it can only play midi files, but not real time midi notes as they get pressed on the keyboard. Is there a direct way of doing…
sebgar
  • 194
  • 3
  • 7
6
votes
2 answers

How do you transpose a midi file?

I'm using this MIDI.js library: https://github.com/mudcube/MIDI.js To load the plugin and play the midi file, I'm doing this: window.onload = function () { MIDI.loadPlugin({ soundfontUrl: "./soundfont/", instruments: […
Prabhu
  • 12,995
  • 33
  • 127
  • 210
6
votes
1 answer

Use javascript browser based midi.js to create a drum sound?

I have been trying to use midi.js http://mudcu.be/midi-js/ I have tried looking for a place to post questions about using it but having found none so I am going to try here.. 1st off the library works great. I'm trying to get a just a drum sound to…
Donavon Lerman
  • 343
  • 1
  • 6
  • 19
6
votes
1 answer

MIDI Over Bluetooth

I'm starting a project featuring a wireless MIDI connection over Bluetooth. As far as I know, there is no MIDI profile defined in the BT specification. I was wondering if some of you would be interested in sharing experience about the best way to…
Jerome
  • 609
  • 1
  • 5
  • 18
6
votes
3 answers

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.
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622