Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with libasound2? #3

Open
jamestunnell opened this issue Jul 11, 2013 · 1 comment
Open

Not compatible with libasound2? #3

jamestunnell opened this issue Jul 11, 2013 · 1 comment

Comments

@jamestunnell
Copy link

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?

@torukMnk
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants