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

RuntimeError: midiOutOpen: Unspecified when selecting output on Windows #37

Open
mydoghasworms opened this issue Nov 5, 2015 · 0 comments

Comments

@mydoghasworms
Copy link

This happens on Windows (10, not sure if that makes a difference). Ruby version is ruby 1.9.3p448 (2013-06-27) [i386-mingw32].

irb(main):001:0> require 'unimidi'
=> true
irb(main):002:0>  @output = UniMIDI::Output.gets

Select a MIDI output...
0) Microsoft GS Wavetable Synth
> 0
RuntimeError: midiOutOpen: Unspecified
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/midi-winmm-0.1.10/lib/midi-winmm/map.rb:217:in `winmm_func'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/midi-winmm-0.1.10/lib/midi-winmm/output.rb:18:in `enable'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/unimidi-0.4.6/lib/unimidi/device.rb:121:in `open'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/unimidi-0.4.6/lib/unimidi/device.rb:49:in `gets'
        from (irb):2
        from C:/Ruby193/bin/irb:12:in `<main>'
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

1 participant