I actually figured it out.
Falktx has created something called Catia that is similar to the Jack
"connect" interface. After looking in there, it was clear that pd had no
output connection.
I simply hooked things up and all was well.
Now I've gotta figure out what the hell I was thinking when I created that
pd patch.
This is where I usually jump on the developer for not commenting his code.
It was me though. Damn.
On Aug 21, 2011 6:45 PM, "Marco Donnarumma" <devel(a)thesaddj.com> wrote:
From the jack log it seems that jack sink for PA is
launched on startup
(along with other clients).
New client 'cadence' with PID 22834
Sun Aug 21 11:09:48 2011: New client 'a2j' with PID 23755
Sun Aug 21 11:09:48 2011: New client 'PulseAudio JACK Sink' with PID 23814
Sun Aug 21 11:09:48 2011: Connecting 'PulseAudio JACK Sink:front-left' to
'system:playback_1'
Sun Aug 21 11:09:48 2011: Connecting 'PulseAudio JACK Sink:front-right' to
'system:playback_2'
Sun Aug 21 11:09:48 2011: New client 'PulseAudio JACK Source' with PID
23814
Sun Aug 21 11:09:48 2011: Connecting 'system:capture_1' to 'PulseAudio
JACK
Source:front-left'
Sun Aug 21 11:09:48 2011: Connecting 'system:capture_2' to 'PulseAudio
JACK
Source:front-right'
Whereas that is useful to get always audio from the internet browser and
the
likes, perhaps it could interfere with Pd trying to
connect to the same
ports.
Sometimes when ports are already in use Pd might fail to connect.
I would try to launch jack with no other clients connected (in your case
avoid launching cadence, a2j, and jack sink) and then start pd from
terminal
with the jack flag.
M
On Sun, Aug 21, 2011 at 7:14 PM, Aaron L. <elmastero74(a)gmail.com> wrote:
> To be honest, it's been so long since I've had my head in PD that I
can't
> even remember what all of the pieces of my fiddle script is doing (that's
> another email for another list, I think....)
>
> But let's say I just want to start pd like this:
> pdextended -jack channels 2
>
> Within PD, when I click on 'test audio and midi', I get the following DIO
> errors in pd along with no test tone (after I select "60", of course) :
> error: channels: can't open
> error: 2: can't open
> audio I/O error history:
> seconds ago error type
> 70.39 unknown
> 70.39 unknown
> warning: tone-osc: multiply defined
> warning: tone-mon: multiply defined
> warning: tone-osc: multiply defined
> warning: tone-mon: multiply defined
> warning: tone-osc: multiply defined
>
> No messages within Jack regarding any of this.
>
> Here's my Jack log:
>
> Sun Aug 21 11:09:33 2011: Loading settings from
> "/home/aaron/.config/jack/conf.xml" using expat_2.0.1 ...
>
> Sun Aug 21 11:09:33 2011: setting engine option "driver" to value
"alsa"
>
> Sun Aug 21 11:09:33 2011: driver "alsa" selected
>
> Sun Aug 21 11:09:33 2011: setting engine option "realtime" to value
"false"
>
> Sun Aug 21 11:09:33 2011: setting engine option "verbose" to value
"false"
>
> Sun Aug 21 11:09:33 2011: setting engine option "client-timeout" to value
> "500"
>
> Sun Aug 21 11:09:33 2011: setting for driver "net" found
>
> Sun Aug 21 11:09:33 2011: setting for driver "dummy" found
>
> Sun Aug 21 11:09:33 2011: setting for driver "alsa" found
>
> Sun Aug 21 11:09:33 2011: setting driver option "device" to value
"hw:0"
>
> Sun Aug 21 11:09:33 2011: setting driver option "rate" to value
"44100"
>
> Sun Aug 21 11:09:33 2011: setting driver option "period" to value
"1024"
>
> Sun Aug 21 11:09:33 2011: setting driver option "nperiods" to value
"3"
>
> Sun Aug 21 11:09:33 2011: setting driver option "hwmon" to value
"false"
>
> Sun Aug 21 11:09:33 2011: setting driver option "hwmeter" to value
"false"
>
> Sun Aug 21 11:09:33 2011: setting driver option "duplex" to value
"true"
>
> Sun Aug 21 11:09:33 2011: setting driver option "softmode" to value
"false"
>
> Sun Aug 21 11:09:33 2011: setting driver option "monitor" to value
"false"
>
> Sun Aug 21 11:09:33 2011: setting driver option "dither" to value
"n"
>
> Sun Aug 21 11:09:33 2011: setting driver option "shorts" to value
"false"
>
> Sun Aug 21 11:09:33 2011: setting for driver "loopback" found
>
> Sun Aug 21 11:09:33 2011: setting for driver "netone" found
>
> Sun Aug 21 11:09:33 2011: setting for driver "firewire" found
>
> Sun Aug 21 11:09:33 2011: setting for internal "netmanager" found
>
> Sun Aug 21 11:09:33 2011: setting for internal "profiler" found
>
> Sun Aug 21 11:09:33 2011: setting for internal "audioadapter" found
>
> Sun Aug 21 11:09:33 2011: setting for internal "netadapter" found
>
> Sun Aug 21 11:09:33 2011: Listening for D-Bus messages
>
> Sun Aug 21 11:09:42 2011: ------------------
>
> Sun Aug 21 11:09:42 2011: Controller activated. Version 1.9.7 (4236)
built
> on Thu Jun 16 13:33:27 2011
>
> Sun Aug 21 11:09:42 2011: Loading settings from
> "/home/aaron/.config/jack/conf.xml" using expat_2.0.1 ...
>
> Sun Aug 21 11:09:42 2011: setting engine option "driver" to value
"alsa"
>
> Sun Aug 21 11:09:42 2011: driver "alsa" selected
>
> Sun Aug 21 11:09:42 2011: setting engine option "realtime" to value
"false"
>
> Sun Aug 21 11:09:42 2011: setting engine option "verbose" to value
"false"
>
> Sun Aug 21 11:09:42 2011: setting engine option "client-timeout" to value
> "500"
>
> Sun Aug 21 11:09:42 2011: setting for driver "net" found
>
> Sun Aug 21 11:09:42 2011: setting for driver "dummy" found
>
> Sun Aug 21 11:09:42 2011: setting for driver "alsa" found
>
> Sun Aug 21 11:09:42 2011: setting driver option "device" to value
"hw:0"
>
> Sun Aug 21 11:09:42 2011: setting driver option "rate" to value
"44100"
>
> Sun Aug 21 11:09:42 2011: setting driver option "period" to value
"1024"
>
> Sun Aug 21 11:09:42 2011: setting driver option "nperiods" to value
"3"
>
> Sun Aug 21 11:09:42 2011: setting driver option "hwmon" to value
"false"
>
> Sun Aug 21 11:09:42 2011: setting driver option "hwmeter" to value
"false"
>
> Sun Aug 21 11:09:42 2011: setting driver option "duplex" to value
"true"
>
> Sun Aug 21 11:09:42 2011: setting driver option "softmode" to value
"false"
>
> Sun Aug 21 11:09:42 2011: setting driver option "monitor" to value
"false"
>
> Sun Aug 21 11:09:42 2011: setting driver option "dither" to value
"n"
>
> Sun Aug 21 11:09:42 2011: setting driver option "shorts" to value
"false"
>
> Sun Aug 21 11:09:42 2011: setting for driver "loopback" found
>
> Sun Aug 21 11:09:42 2011: setting for driver "netone" found
>
> Sun Aug 21 11:09:42 2011: setting for driver "firewire" found
>
> Sun Aug 21 11:09:42 2011: setting for internal "netmanager" found
>
> Sun Aug 21 11:09:42 2011: setting for internal "profiler" found
>
> Sun Aug 21 11:09:42 2011: setting for internal "audioadapter" found
>
> Sun Aug 21 11:09:42 2011: setting for internal "netadapter" found
>
> Sun Aug 21 11:09:42 2011: Listening for D-Bus messages
>
> Sun Aug 21 11:09:47 2011: Starting jack server...
>
> Sun Aug 21 11:09:47 2011: JACK server starting in non-realtime mode
>
> 11:09:47.801 D-BUS: JACK server was started (org.jackaudio.service aka
> jackdbus).
>
> 11:09:48.054 ALSA connection graph change.
>
> Sun Aug 21 11:09:47 2011: control device hw:0
>
> Sun Aug 21 11:09:47 2011: control device hw:0
>
> Sun Aug 21 11:09:47 2011: Acquired audio card Audio0
>
> Sun Aug 21 11:09:47 2011: creating alsa driver ...
> hw:0|hw:0|1024|3|44100|0|0|nomon|swmeter|-|32bit
>
> Sun Aug 21 11:09:47 2011: control device hw:0
>
> Sun Aug 21 11:09:47 2011: configuring for 44100Hz, period = 1024 frames
> (23.2 ms), buffer = 3 periods
>
> Sun Aug 21 11:09:47 2011: ALSA: final selected sample format for capture:
> 16bit little-endian
>
> Sun Aug 21 11:09:47 2011: ALSA: use 3 periods for capture
>
> Sun Aug 21 11:09:47 2011: ALSA: final selected sample format for
playback:
> 32bit integer little-endian
>
> Sun Aug 21 11:09:47 2011: ALSA: use 3 periods for playback
>
> Sun Aug 21 11:09:47 2011: graph reorder: new port 'system:capture_1'
>
> Sun Aug 21 11:09:47 2011: New client 'system' with PID 0
>
> Sun Aug 21 11:09:47 2011: graph reorder: new port 'system:capture_2'
>
> Sun Aug 21 11:09:47 2011: graph reorder: new port 'system:playback_1'
>
> Sun Aug 21 11:09:47 2011: graph reorder: new port 'system:playback_2'
>
> Sun Aug 21 11:09:47 2011: New client 'cadence' with PID 22834
>
> Sun Aug 21 11:09:48 2011: New client 'a2j' with PID 23755
>
> Sun Aug 21 11:09:48 2011: New client 'PulseAudio JACK Sink' with PID
23814
>
> Sun Aug 21 11:09:48 2011: Connecting 'PulseAudio JACK Sink:front-left' to
> 'system:playback_1'
>
> Sun Aug 21 11:09:48 2011: Connecting 'PulseAudio JACK Sink:front-right'
to
> 'system:playback_2'
>
> Sun Aug 21 11:09:48 2011: New client 'PulseAudio JACK Source' with PID
> 23814
>
> Sun Aug 21 11:09:48 2011: Connecting 'system:capture_1' to 'PulseAudio
JACK
> Source:front-left'
>
> Sun Aug 21 11:09:48 2011: Connecting 'system:capture_2' to 'PulseAudio
JACK
> Source:front-right'
>
> 11:09:49.960 Statistics reset.
>
> 11:09:49.979 Client activated.
>
> 11:09:50.016 JACK connection graph change.
>
> Sun Aug 21 11:09:49 2011: New client 'qjackctl' with PID 5754
>
>
>
> Thanks, all.
>
>
> -Aaron
>
>
>
>
>
>
>
>
> On Sun, Aug 21, 2011 at 10:47 AM, <harryhaaren(a)gmail.com> wrote:
>
>> Pasuspender is a way to make PulseAudio let go of the soundcard when
JACK
>> wants to access it. This *is* nessisary on
systems where Pulse is the
main
>> sound daemon, but as KX uses JACK for all its
audio needs, it will not
have
>> any effect.
>>
>> "Error: 2: can't open" did catch my eye though, are you passing
any
>> special arguments to your "dac~" in the patch? like "dac~ 1
2" or
something
>> to open the first & second channel?
I've had problems there before,
either
>> because it did (or did *not*) start from 0.
Can't remember the details,
but
perhaps that's it?
-Harry
--
Marco Donnarumma
Independent New Media and Sonic Arts Practitioner, Performer, Teacher
ACE, Sound Design MSc by Research (ongoing)
The University of Edinburgh, UK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Portfolio:
http://marcodonnarumma.com
Research:
http://res.marcodonnarumma.com |
http://www.thesaddj.com |
http://www.flxer.net
Director:
http://www.liveperformersmeeting.net