Open jamestunnell opened 11 years ago
I'm using Linux Mint 17 64-bit.
$sudo apt-get install libasound2
$sudo apt-get install libasound-dev
Then to see MIDI Devices, according to: http://tldp.org/HOWTO/MIDI-HOWTO-10.html
$sudo modprobe snd-virmidi snd_index=1
$amidi -l
Dir Device Name
IO hw:1,0 Virtual Raw MIDI (16 subdevices)
IO hw:1,1 Virtual Raw MIDI (16 subdevices)
IO hw:1,2 Virtual Raw MIDI (16 subdevices)
IO hw:1,3 Virtual Raw MIDI (16 subdevices)
Examples
$ruby list_devices.rb
MIDI setup works pretty nice playing midi files: http://tedfelix.com/linux/linux-midi.html FluidSynth version 1.1.6
But i cant get sound from the examples/output.rb
I installed alsa-midi on Linux Mint 15. All of the libasound packages I have available to install are libasound2. Those are installed (libasound2, and libasound2-dev).
So when I require 'alsa-rawmidi' it complains that libasound.so isn't found. I tried making a symlink to libasound.so.2.0.0, which is the actual .so file installed. This makes the error go away so I can require alsa-rawmidi, but it doesn't show any MIDI inputs or outputs. AlsaMIDI::Input.all returns [].
So is there an older libasound I need to be using instead? Is compatibility with v2 planned?