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
0
votes
3 answers

Why are there multiple set_tempo meta midi messages? (and how to deal)

I am currently writing a parser for midi files so I can generate my own music using a Markov chain. I'm a bit confused as to why there are so many set_tempo midi meta messages (in the track 0 meta message section) of each file. I would understand if…
staplegun
  • 79
  • 10
0
votes
1 answer

Is it possible to Avoid Excel VBA Crashing with MIDI Input?

in the following code when the input MIDI messages start to become fast the Excel Crashes even thought I disabled many application parameters. When I enable MIDI Clock that sends a message each 7 milliseconds the code crashes almost immediately and…
Rui Monteiro
  • 181
  • 1
  • 7
0
votes
2 answers

How to grab the note attribute from Message in mido?

I'm trying to print out the note attribute in each message output by mido in a .mid file. Right now, my code looks like this: for msg in mid.tracks[1]: if not msg.is_meta: print(msg.note) But, upon running the code, I get the…
0
votes
1 answer

Send MIDI to Microsoft GS Wavetable Synth using sendmidi

I'm trying to send a midi note to Microsoft GS Wavetable Synth using sendmidi sendmidi dev Microsoft GS Wavetable Synth channel 1 on 60 64 but I don't get any sound, it's sending to the other midi devices and I get sound, by sendmidi list I get a…
LuaStart
  • 397
  • 2
  • 11
0
votes
0 answers

MIDI in Flash: any way to generate Synthesizer events from newer ActionScript?

Found a related question, but this one is different: I need to send events to either Windows or Linux MIDI synthesizers, and http://code.google.com/p/flash-midi-player/ tells that Note: the player can't connect with your local midi keyboard,…
kagali-san
  • 2,964
  • 7
  • 48
  • 87
0
votes
1 answer

Unpacking Midi Timecode with RtMidi

I've been hard at work trying to figure how to grab Midi Timecode (MTC) with RtMidi C++. So far, it seems that the RtMdid callback only deal with uchar so my guess is that it receives multiple messages for a complete uint (32bit) timecode. I'm…
neosettler
  • 261
  • 3
  • 14
0
votes
0 answers

MIDI OUT transmitter not available (Java 1.8.0_211)

I Would like to send midi message through usb midi device MIDIOUT2 (USB Midi 2i2o), but I get "MIDI OUT transmitter not available" (Java version 1.8.0_211). This is definitely an output (other application works with that). I could not find any…
Adi
  • 50
  • 1
  • 8
0
votes
2 answers

How can I play an audio clip in a (MIDI) sequence in Java?

I am attempting to write a very simple DAW in Java but am having trouble playing an audio clip in a sequence. I have looked into both the sampled and MIDI classes in Java Sound but what I really need is a hybrid of the two. It seems that with the…
0
votes
2 answers

How do I create an Inter App MIDI In port

I will program an inter App MIDI In Port in my Arranger App, that can be accessed by other MIDI App's. I would appreciate very much to get some sample code. I built a virtual MIDI In port like this, but how to make it visible for other…
Walter Schurter
  • 997
  • 9
  • 14
0
votes
1 answer

How to use android midi USB stack with non-compliant devices

I have a working android app which uses a proprietary java midi implementation to talk to a non-compliant midi device over USB. I now want to move to the standard android midi USB stack but can’t determine how to add/extend the necessary tests to…
Nicko
  • 51
  • 1
  • 1
0
votes
0 answers

Extract notes per instrument from mid file in python

I am trying to extract all notes by instruments from a mid file. The question has been asked : "Music21: Get all Notes per Instrument from a MIDI File", but the answer doesn't work out. Some notes are missing. In my mid file, the Japanese…
Julien
  • 91
  • 8
0
votes
1 answer

Replace keyboard with custom functionality

I'm looking for a way to intercept key presses from a certain keyboard (so not general keyboard input) and prevent Windows and other apps from receiving any key presses from this keyboard, essentially creating a macro keyboard. I'm trying to create…
porras
  • 61
  • 1
  • 7
0
votes
1 answer

Would C#'s garbage collection cause problems for a real time audio application?

I'm currently writing a real time audio application in C++ that takes in a depth sensor input and converts it to MIDI signals. It has to model 3D space and respond in real time to the movement of an object in 3D space monitored by the depth…
koreus737
  • 661
  • 3
  • 9
  • 18
0
votes
1 answer

Is it possible to change android built in midi player pitch bend range?

Is there a midi message that can be sent to the android midi player to adjust the pitch bend range ?
selimbousbih
  • 131
  • 1
  • 5
0
votes
1 answer

How do I convert this data to an MIDI file?

I have the Note Index (Each Octave has 12 notes) versus the time(in beats) data. How can I convert this data to a midi file? Example Data: time = [0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 9.0, 9.0, 9.0, 10.0, 10.0, 10.0, 11.0, 11.0] notes = [57.0,…
1 2 3
99
100