-
Notifications
You must be signed in to change notification settings - Fork 19
griode not working #8
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
Comments
Here is the output I see on my local machine. I start without the LaunchPad, and then I plug the LaunchPad.
Do you see the messages indicating that the LaunchPad was plugged? If not, it might be an enumeration problem. You can check with
|
Looks like griode is running but not detecting launchpad. Looks like mido detects it but on a different address. ~/griode]$ mido-ports Available input Ports: Available output Ports: MIDO_DEAFULT_INPUT not set. Using backend mido.backends.rtmidi. |
Also no instruments in a log. ~/griode]$ sudo ./griode.py ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused ALSA lib pcm_plug.c:835:(snd_pcm_plug_hw_refine_schange) Unable to find an usable slave format for 'plug:hw' |
Hi! It looks like this might be related to fluidsynth output parsing issues. When griode starts, it will run fluidsynth twice:
I had a lot of trouble synchronizing with fluidsynth during the first phase. I think the right solution might be to move away from the subprocess module, and directly use pipe, dup, and fork, to avoid issues linked to blocking when reading from fluidsynth output. In the meantime, a couple of months ago, I rewrote parts of that code to make it a bit more robust. If you can, I invite you to try again (after pulling the new version) and let me know if that works better. Note that you can also obtain additional output by setting Thank you! |
I am in a very similar position with a Launchpad X. It does not appear to be detected at all. |
@worikgh I created a new issue for LaunchPad X support :-) |
When i start griode i hear click and its starts somewhat but launchpad does not light up and i don't see any instruments.
./griode.py
[INFO] fluidsynth.py:76 init() -> Using audio driver: alsa
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
I do see process running ps -ef:
fluidsynth -s -a alsa -o synth.midi-bank-select mma -o synth.sample-rate 44100 -c 8 -p griode
The text was updated successfully, but these errors were encountered: