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

Are there any tools / libraries around to let me script things on my computer, triggered from a MIDI input?

I've got a little 16 key drum pad, and I'd love to be able to keep it next to my keyboard and set up some commands to be run when I hit each pad. Firing off command-line stuff would be ideal to start with, but I've got no idea where to start?
user813214
0
votes
1 answer

How to export a single midi channel to wav with fluidsynth?

I'm very new to the music tech so bear with me. There 16 channels in a midi file. I'm trying to convert only 1 channel from a midi file to wav. Here is how it works now: extern "C" JNIEXPORT void JNICALL…
ryzhak
  • 395
  • 5
  • 13
0
votes
2 answers

reading MIDI file using music21 with partitionByInstrument() to get notes and chords returning empty list

I'm trying to use the code from this github repository's .py file (the get_notes() function) to extract the notes and chords data from this midi file. Here is the exact code copied from the repo I'm using: def get_notes(): """ Get all the notes…
Aryan poonacha
  • 451
  • 2
  • 4
  • 15
0
votes
1 answer

Creating a simple MIDI plugin system with DryWetMidi

I wrote a small WPF app to route MIDI in to MIDI out and send bank and program change messages to my older synth module. I decided to use DryWetMidi for the MIDI I/O, which is very easy to use. While reading the docs for DryWetMidi, I noticed it had…
John
  • 1
  • 2
0
votes
1 answer

NodeJS - Converting MTC (Midi Timecode) "quater message" into a full timecode string

So here's my problem. I'm working on a script in NodeJS, that will take an MTC, or MIDI Timecode signal, and eventually, trigger different things off of certain points in said timecode. The issue I'm having currently is that the current Timecode…
0
votes
0 answers

How to read current MIDI status for AKAI MIDIMIX?

As per these three questions, there is no standard way to force a MIDI controller to send the current state of its sliders and knobs. However, all answers points to the possible existence of manufacturer-specific SysEx command to do so. Is there…
abey
  • 593
  • 10
  • 26
0
votes
1 answer

How to convert a magenta.js note sequence to a midi file?

I am trying to convert a note sequence in Magenta.js to a midi file and get an url so users can download it and use that url in my midi-player/visualizer. // Create a magenta note sequence generateMelody(sendedNotes, 0.7,…
juancopi81
  • 53
  • 8
0
votes
1 answer

How to sync accurately enough two music sequences (Audiokit.AKAppleSequencer)?

I have 2 sequencers: let sequencer1 = AKAppleSequencer(filename: "filename1") let sequencer2 = AKAppleSequencer(filename: "filename2") Both have the same bpm value. When sequencer1 starts playing one midi track (playing it only once) I need that…
pavelcauselov
  • 519
  • 5
  • 10
0
votes
1 answer

No responses to Teensy after breadboarding and coding

I'm new to Arduino and electronics, and I bought a Teensy 3.2 for making a MIDI controller recently. I connected three buttons and one slide pot into a breadboard with the Teensy; modify some code from online; and already changed the USB type as…
Nickie
  • 1
  • 1
0
votes
1 answer

Rtmidi - Ableton Remote Script - How to send MIDI_CC signals from rtmidi to Ableton Python remote script

I wrote an util to send midi data from a python script to ableton, mostly using rtmidi. On the ableton side, I have a remote script, fairly simple with just couple of buttons in the main class: ... self._session = SessionComponent(8, 1,…
jackyroo
  • 99
  • 2
  • 12
0
votes
0 answers

Django - Temporary midi file music21

Sorry if I'm not getting something right, I am new to web application development, I've been working on a project with Django and I wish I could do the following: When the user clicks on a button an Ajax request is generated (I am using plain…
juancopi81
  • 53
  • 8
0
votes
0 answers

MIDI messages in Python are confusing?

I am currently working on the MIDI data set maestro-v2.0.0 (see). I load my files in python with from mido import MidiFile Then I work on the files from the data set (for example on…
0
votes
0 answers

How to know the char on a specific keyboard position with JS

Problem I want to know what letters correspond to the different row of keys in the user's keyboard, using JS. An array representation of what I want would be something like this: // ANSI QWERTY layout for English - USA const usaKeyboardLayout = [ …
Daniel Reina
  • 5,764
  • 1
  • 37
  • 50
0
votes
1 answer

Python : Specify an instrument in an existing MIDI file or during the conversion to WAVE file?

Is it possible to specify an instrument in an existing MIDI file or during the conversion of this MIDI to WAVE? I'm using Python in Windows 10.
JarsOfJam-Scheduler
  • 2,809
  • 3
  • 31
  • 70
0
votes
1 answer

changing midi volume in java

first of all changing volume is working but i got some problems while changing the volume so 1) after changing the volume like setting it to 0 (no volume) you still hearing parts of the song in the default value of the volume 2)after song changed…