Questions tagged [midi-instrument]

43 questions
13
votes
5 answers

Java sound api - Scanning for midi devices

I'm working on a java project that receives midi events from midi hardware using the javax.sound.midi library. In the documentation, it says that MidiSystem.getMidiDeviceInfo() returns a list of all connected midi hardware. It works for me, but the…
tybro0103
  • 48,327
  • 33
  • 144
  • 170
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
11
votes
3 answers

Java MIDI Synthesizer - Can't change instruments

I can't seem to get the instrument to change. I switch the value of the instrument but get nothing different on the output. I can only get a piano instrument to play no matter what value I try. Here is the simple code below. Does anyone have any…
Matt
  • 111
  • 1
  • 1
  • 4
9
votes
2 answers

MIDI instrument listing?

I have recently implemented a MIDI Beatbox from the code in Head First Java and would really like to do more with Java's MIDI capabilities. I thought that I might start by adding more, non-percussive instruments to the existing code, but I cannot…
cornbread ninja
  • 417
  • 1
  • 6
  • 17
9
votes
1 answer

Play multi-instrument MIDI file IOS

I'm trying to write a simple midi player with a quality sound bank but I'm faced with the problem of playing midi files. The problem is that all midi tracks (drums, pads, bass, synth, etc.) played, but they play a single instrument. I found a…
John
  • 151
  • 6
6
votes
3 answers

Can Silverlight communicate with a MIDI instrument?

Can Silverlight communicate with a MIDI instrument connected to the machine running the Silverlight application? In- or out-browser.
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
5
votes
1 answer

Playing drum sounds in Python Music21 library

It's been a couple of weeks since I started reading the book "Making music with computers: creative programming in Python" and now i'm stucked while trying to play drum sounds with this library. I'm using Mit's music21 library, as the one proposed…
Julian
  • 51
  • 1
  • 4
5
votes
1 answer

Play midi files using chrome

I am using embed player for playing midi files. It is playing in mozilla and in explorer how can i play that midi files in chrome, is there any extension or plugin by which i can play midi in chrome. here is my code
lostTiger
  • 82
  • 2
  • 4
4
votes
1 answer

How do I send MIDI data to my Arduino board from Ableton Live control surface script

I'm trying to send MIDI data from Ableton Live's Control Surface Script to my Arduino board. Currently Arduino set up to log every MIDI / SysEx message received on every channel, that's all it's doing as of now. I can confirm it works correctly by…
Boris Zagoruiko
  • 12,705
  • 15
  • 47
  • 79
4
votes
1 answer

midi | How to tell the difference between different String tools (Violin, Cello, Bass)

I am trying to visualise in flash midi file (using an external midi-to-flash library) Is there a way to tell the difference between Violin, Viola, Cello & Contrabass in a midi file. I get these values for instruments (ignore the numbers): 1 Flute…
Alon
  • 7,618
  • 18
  • 61
  • 99
3
votes
1 answer

MIDI instruments sound different when exported to .jar file

I have made a java program that synthesises sounds using the MIDI package in the java sound API, however, when I export it to a .jar file, the sound played is quite different to what it is when I run it in eclipse. Does anyone know why it is doing…
xulo
  • 440
  • 3
  • 9
3
votes
2 answers

Command line to Render MIDI from Kontakt patch

I have a bunch of MIDI files to render with the same Kontakt patch. I would like to automatic render a these MIDI files with command line, without needing to load any program manually or assign manually the kontakt patch to the midi track. I want…
DarkVapor
  • 61
  • 6
2
votes
0 answers

AVAudioEngine gives seemingly random errors in different environments

I am trying to write a MIDIPlayer class which is a wrapper for an AVAudioEngine and an AVAudioUnitMIDIInstrument. I have written a loop that gets the names and ASBDs for all AudioComponents of type MusicDevice and then chooses the most desired unit…
MassMover
  • 529
  • 2
  • 17
2
votes
1 answer

Library to Detect Midi-piano Keyboard Events in the Browser with JavaScript

I would like to plug a midi piano keyboard into my computer's USB port, and respond to the key events by displaying something in the browser. Does anyone know of a library that will allow JavaScript to interact with USB midi keyboard events in the…
Maiya
  • 932
  • 2
  • 10
  • 26
1
vote
0 answers

Create sticks sound in mp3 or midi file - NodeJS

I have a project in NodeJs which I am building a music in a midi file, using MidiWriter library. This library has a set of instrument but I want to generate the baqueta sound. I want to play this sticks sound to indicate the compass of the melody. I…
1
2 3