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
1 answer

Add a forEach or foor loop in python code

I am using this library midi2img to generate midi from images From this library, this is the file am using: from PIL import Image import numpy as np from music21 import instrument, note, chord, stream lowerBoundNote = 21 def column2notes(column): …
mohamed mostapha
  • 161
  • 4
  • 16
0
votes
0 answers

MediaPlayer.seekTo() method works with a gap

I am developing an android application using MediaPlayer. I run small midi files (20 - 30 seconds long, it's about 10 - 30 Kb). When the player is playing, at some point I call the seekTo(0) method to start playback from the beginning. And…
bruno13
  • 1
  • 1
0
votes
1 answer

OS X Leopard (10.5) - catching MIDI events, and sending keystrokes to other apps?

I've got some software (written in Qt) that controls some very flexible hardware. Consequently, the display is loaded with controls to adjust this and that. Overloaded, really. I was thinking that one of the general MIDI control surfaces with…
fyngyrz
  • 2,458
  • 2
  • 36
  • 43
0
votes
1 answer

get value of property returned by MIDIObjectPropertyChangeNotification

I'm using the MIDI libraries of AudioKit with an app. Whilst that framework is proprietary, the code in question is returning a native struct, namely MIDIObjectPropertyChangeNotification. Here is the code, where MIDIListener is a protocol defined by…
Jim
  • 179
  • 3
  • 12
0
votes
1 answer

MIDI with ALSA: how to detect subscription on a port

I would like to see/detect if something connects to my virtual midi port. So I create a port: snd_seq_create_simple_port(handle, "my port", SND_SEQ_PORT_CAP_WRITE|SND_SEQ_PORT_CAP_SUBS_WRITE, SND_SEQ_PORT_TYPE_MIDI_GENERIC); Now…
Folkert van Heusden
  • 433
  • 4
  • 17
  • 38
0
votes
0 answers

Cannot play midi with midi-player-js in Quasar framework (vue)

I am trying to play and get the midi signals from a midi file in quasar. Im using midi-player-js library but I cannot get it to work. here is my component: