On Tue, July 29, 2014 1:59 pm, David wrote: > > On 28/07/14 23:08, Patrick Shirkey wrote: >> On Mon, July 28, 2014 10:55 pm, David wrote: >>> I'm hoping some sound guru can notice something really silly and simple >>> that I've done wrong. >>> >>> Ubuntu 12.04 >>> jackd >>> yoshimi (synth software) >>> a midi controller >>> >>> In the audio panel, yoshimi is connected to "system" >>> In the alsa panel, the midi controller is connected to yoshimi >>> >>> When I press a key, the level shows on the synth software display, but >>> no noise comes out of the Logitech headset. Sound is NOT on mute. The >>> headset IS selected in the sound panel. Sound IS working on all other >>> programs (audacity, firefox, rythmbox etc). There are no speakers on >>> the >>> system. >>> >>> I've tried Qsynth and a virtual keyboard too, but the same problem. >>> >>> After fiddling with various settings, qjackctl routinely locks up and >>> has to be manually killed. I'm not sure if this is related. >>> >>> I get a lot of errors in the message panel thus: >>> jackd audiodriver::ProcessGraphasyncmster: process error >>> but I can't find a google reference that relates to the problem I'm >>> having. >>> >>> >>> Everything used to work but I haven't used this set up for a few >>> months. >>> Could it have anything to do with Pulseaudio? >>> >> You probably need to disable PA or use the jack plug/sink >> >> Check you have installed pa-jack-sink >> >> Or you can disable PA with the following commands: >> >> echo autospawn = no >> ~/.pulse/client.conf >> pulseaudio -k >> >> - To run PA again type: >> >> pulseaudio -D > > Thanks for that.... I now have a working yoshimi/midi-controller after > disabling pulseaudio > > I installed pulseaudio-module-jack (which contains pa-jack-sink) but > couldn't figure out how to configure so that pulseaudio was working > nicely with jack. > > Unfortunately, this means I can't use any other sound program at the > same time as the midi controller (eg: audacity?) > > > > For the record, these are my notes of what I did: > > <notes> > # first kill pulseaudio: > $ echo autospawn = no >> ~/.pulse/client.conf && pulseaudio -k > $ qjackctl & > qjacktrl -> setup -> > input device,choose midicontroller from dropdown > output device, choose headset or speakers from dropdown > restart jackd > $ yoshimi -a & > choose instrument (click on blank field next to "edit" button) > > qjackctl -> connect -> Audio > connect yoshimi output to system input > qjackctl -> connect -> Alsa > connect midicontroller output to yoshimi input > > EVERTHING SHOULD NOW WORK > > # after quitting everything restart pulseaudio: > yoshimi -> quit > qjackctl -> quit > $ pulseaudio -D > $ rm ~/.pulse/client.conf # ?? not sure whether this is necessary?? > > at this point there is no sound services available apart from jack > connections > pulseaudio-module-jack should fix it but it didn't - more research needed > </notes> >
- You might have better luck with jack-dbus as it handles this stuff automagically but that requires installing jack2 - For jack1, you may need to enable jack-sink/source in /etc/pulse/default.conf load-module module-jack-sink load-module module-jack-source -- Patrick Shirkey Boost Hardware Ltd -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
