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
13
votes
8 answers

Meta-composition during music performances

A couple of weeks ago, my piano teacher and I were bouncing ideas off of each other concerning meta-composing music software. The idea was this: There is a system taking midi input from a bunch of instruments, and pushes output to the speakers and…
mindvirus
  • 5,016
  • 4
  • 29
  • 46
13
votes
3 answers

Convert MIDI file to WAV using fluidsynth on OS X

I'm trying to convert a MIDI file to a WAV file, on OS X. So far, I have this: fluidsynth -F output_sound soundfont.sf2 note.mid This creates an output_sound file, however, that file is not WAV, it seems to be in sint16 format given that I get this…
houbysoft
  • 32,532
  • 24
  • 103
  • 156
13
votes
4 answers

Sending MIDI up the USB using Arduino

I'm interested in making an Arduino based MIDI controller to talk to my computer. Looking at other examples of Arduino MIDI (for example, MIDI Output using an Arduino), they all seem to wire up a dedicated 5 pin DIN. Which makes sense as this is the…
interstar
  • 26,048
  • 36
  • 112
  • 180
13
votes
1 answer

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
kettlepot
  • 10,574
  • 28
  • 71
  • 100
12
votes
2 answers

How to correctly convert MIDI ticks to milliseconds?

I'm trying to convert MIDI ticks/delta time to milliseconds and have found a few helpful resources already: MIDI Delta Time Ticks to Seconds How to convert midi timeline into the actual timeline that should be played MIDI Time Code spec MTC The…
George Profenza
  • 50,687
  • 19
  • 144
  • 218
12
votes
4 answers

Firing events at microsecond resolution for midi sequencer

Is there a way to fire events in C# at a resolution of a few microseconds? I am building a MIDI sequencer, and it requires an event to be fired every MIDI tick, which will then play any note registered at that time. At 120 beats per minute and at a…
Brice
  • 535
  • 6
  • 11
12
votes
3 answers

Generate live MIDI from Javascript

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: generating MIDI in javascript, it is possible to create a file, either in Javascript or server-side,…
Manux
  • 3,643
  • 4
  • 30
  • 42
12
votes
5 answers

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…
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
12
votes
3 answers

midiOutOpen on Windows 10 using Microsoft GS Wavetable Synth fails

I have an application that relies on the in built Microsoft GS Wavetable Synth. It has worked flawlessly on Windows XP, Vista, 7, 8 and 8.1. While the first call to midiOutOpen on Windows 10 works, subsequent calls result in error code 1, meaning…
fhevol
  • 934
  • 10
  • 28
12
votes
7 answers

Convert midi to mp3

I have got one midi file and i want to play that file on web page, currently i am using midi.js player for playing but it is not working on mobile browsers. Please guide me how to play that file or else how can i play midi or convert it into…
chitranjna
  • 131
  • 1
  • 6
12
votes
3 answers

How can I convert between midi to wav/mp3 in c#?

I started a small project which includes working with MIDI files. I've been wondering, is there any C# or VB.Net code that peforms that cast between MIDI and WAV files?
vondip
  • 13,809
  • 27
  • 100
  • 156
12
votes
1 answer

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…
Mark Laff
  • 417
  • 5
  • 17
11
votes
3 answers

Send MIDI messages over USB on Android

I would like to make an app on android which sends MIDI messages over USB to a computer to be able to control music softwares such as Cubase, FL, Reason, ect... Hardware MIDI controllers (e.g Keyboards) are automatically recognized in music software…
Jecimi
  • 4,113
  • 7
  • 31
  • 40
11
votes
2 answers

Sending MIDI messages to DAW in C#

I've been searching for about a day and haven't found anything that can point me in the right direction for this - either information is lacking, I'm bad at the internet, or it's hard to find information on music programming for a programming…
Michael
  • 318
  • 3
  • 14
11
votes
4 answers

Midi Library for Android

Been searching google for a midi library for android.Nothing seems to promising. Anyone know of some midi libraries for Android?
james
  • 2,595
  • 9
  • 43
  • 70