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

Record a audio file from a midi keyboard and store it with android studio

for an exam project i'm programming a 1 octave playable midi keayboard on phone. I managed, thank to things found here on SO, to make the keyboard work but i have no clue on what i can do to record what I'm playing. I should be able to play a…
user13657334
0
votes
1 answer

How do I get inputs from a MIDI device through Pygame?

I'm somewhat new to both Python and Pygame, and trying to simply read MIDI controls live from a Windows computer. I've looked into Pygame and have set up what I think to be most of the right syntaxes, but the shell seems to crash or at least reset…
Optica
  • 1
  • 1
0
votes
0 answers

Java Drum Sequencer: How to integrate live sequencing from checkBox states?

I'm a beginner working on a little drum machine project based off of Head First Java's code in Chapter 13. At present, the code creates a sequence based on my input on the checkbox grid that the code draws to the GUI. However I want the program to…
NMard
  • 25
  • 7
0
votes
1 answer

Bugs with Java Drum Machine Midi project

I've copied the code from chapter 13 of the book Head First Java, page 420 to study and play around with, but the code doesn't seem to work as advertised. First of all, the beat does not start at the first input on the GUI. If I place a cymbal…
NMard
  • 25
  • 7
0
votes
0 answers

Arduino MIDIUSB button stops working when I light LED on push

I have worked on a sketch for my Arduino Micro (not Pro Micro) that includes 4 mini arcade buttons with integrated LEDs. When I upload my sketch without the LED logic, everything works correctly but when I upload the sketch with the LED logic, the…
MPMullally
  • 79
  • 1
  • 4
  • 14
0
votes
1 answer

OS Error file path and name being changed without user interference

I am trying to read a midi file in the following manner using an in-built function from the library - mido to read such files. mid = mido.MidiFile('..\Datasets\abel.mid') Error: OSError Traceback (most recent call…
Babaji
  • 398
  • 1
  • 4
  • 18
0
votes
0 answers

How to display MIDI data in real time to the GUI?

I have looked around for a bit but can't seem to figure out a solution to this. I am using the javax.sound.midi library to try print the current note(s) being played on the midi-device (just a MIDI piano). I am a bit stumped. I am able to…
0
votes
2 answers

Does anyone know how to install fluidsynth or pyfluidsynth on windows 10? AttributeError: module 'fluidsynth' has no attribute 'Synth'

I've tried to install fluidsynth and pyfluidsynth on windows 10 so many times in order to let magenta.music function play_sequence(note_seq,synth=mm.fluidsynth) play a note sequence and show it on my jupyter notebook. I tried to clone the github…
0
votes
1 answer

How to properly filter midi piano song? How to filter control change events 64?

I have a dataset of midi songs and I would like to clean them as much as possible without losing much information. I really dont know much about music and I just started to work with midifiles so my knoledge is limited. What I have done so far is…
0
votes
1 answer

python module midi2audio does not convert input midi files to audio

I am trying to convert midi files to .wav files using midi2audio. The code is taken from the documentation and doesn't throw any error. However, there doesn't seem to be any new wav file. Here are the code lines: fs =…
C.Sharp
  • 85
  • 7
0
votes
0 answers

Record incoming MIDI data and playing it back in real time c++

I suppose it could be any type of input data, but I’m looking to create a real-time midi sequencer. I am just getting started in c++ and I know it’s ambitious but I’m starting to get the hang of the code now and am wondering if my approach is…
Chris
  • 15
  • 4
0
votes
1 answer

Message to Mididriver for changing instrument and playing melody with specific bpm

I am using billthefarmer/mididriver on android to play midi notes. I used this question here as the starting point. Now I can send a message to the internal android synthesizer to play a specific note on some channel with a given velocity and also…
GunJack
  • 1,928
  • 2
  • 22
  • 35
0
votes
2 answers

Send midi data over a network from inside a host

How could I send MIDI data received be a VST from inside a Host application (Cubase, for example) over LAN to another computer in the network?
0
votes
0 answers

How to find how long notes are in MIDI

I have one file that is 4/4 time, has 24 clocks per click, and 8 32nd notes per beat. I have no other information that could plausibly relate to the tempo. By experimentation, I think each tick (or whatever measurement delta time uses) is around one…
DanielLC
  • 5,801
  • 5
  • 18
  • 16
0
votes
1 answer

My playback is lagging with midioutshortmsg

I Use Wpf. I parse a midi file and use midioutshortmsg to send message in a For Loop, and sleep for delay Delta Time; My playback is lagging ,But, when i open other midi software at the same time (include WindowMediaPlayer) ,All the Problem is…
cvp
  • 3
  • 1