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....)<br><br>But let's say I just want to start pd like this:<br>
pdextended -jack channels 2<br><br>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) :<br><div style="margin-left: 40px;">
error: channels: can't open<br>error: 2: can't open<br>audio I/O error history:<br>seconds ago error type<br> 70.39 unknown<br> 70.39 unknown<br>warning: tone-osc: multiply defined<br>warning: tone-mon: multiply defined<br>
warning: tone-osc: multiply defined<br>warning: tone-mon: multiply defined<br>warning: tone-osc: multiply defined<br><br></div>No messages within Jack regarding any of this.<br><br>Here's my Jack log:<br>
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: Loading settings from "/home/aaron/.config/jack/conf.xml" using expat_2.0.1 ...</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting engine option "driver" to value "alsa"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: driver "alsa" selected</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting engine option "realtime" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting engine option "verbose" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting engine option "client-timeout" to value "500"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting for driver "net" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting for driver "dummy" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting for driver "alsa" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting driver option "device" to value "hw:0"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting driver option "rate" to value "44100"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting driver option "period" to value "1024"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting driver option "nperiods" to value "3"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting driver option "hwmon" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting driver option "hwmeter" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting driver option "duplex" to value "true"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting driver option "softmode" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting driver option "monitor" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting driver option "dither" to value "n"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting driver option "shorts" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting for driver "loopback" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting for driver "netone" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting for driver "firewire" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting for internal "netmanager" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting for internal "profiler" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting for internal "audioadapter" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: setting for internal "netadapter" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:33 2011: Listening for D-Bus messages</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: ------------------</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: Controller activated. Version 1.9.7 (4236) built on Thu Jun 16 13:33:27 2011</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: Loading settings from "/home/aaron/.config/jack/conf.xml" using expat_2.0.1 ...</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting engine option "driver" to value "alsa"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: driver "alsa" selected</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting engine option "realtime" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting engine option "verbose" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting engine option "client-timeout" to value "500"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting for driver "net" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting for driver "dummy" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting for driver "alsa" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting driver option "device" to value "hw:0"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting driver option "rate" to value "44100"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting driver option "period" to value "1024"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting driver option "nperiods" to value "3"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting driver option "hwmon" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting driver option "hwmeter" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting driver option "duplex" to value "true"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting driver option "softmode" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting driver option "monitor" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting driver option "dither" to value "n"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting driver option "shorts" to value "false"</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting for driver "loopback" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting for driver "netone" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting for driver "firewire" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting for internal "netmanager" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting for internal "profiler" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting for internal "audioadapter" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: setting for internal "netadapter" found</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:42 2011: Listening for D-Bus messages</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: Starting jack server...</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: JACK server starting in non-realtime mode</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">11:09:47.801 D-BUS: JACK server was started (org.jackaudio.service aka jackdbus).</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">11:09:48.054 ALSA connection graph change.</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: control device hw:0</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: control device hw:0</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: Acquired audio card Audio0</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: creating alsa driver ... hw:0|hw:0|1024|3|44100|0|0|nomon|swmeter|-|32bit</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: control device hw:0</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 3 periods</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: ALSA: final selected sample format for capture: 16bit little-endian</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: ALSA: use 3 periods for capture</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: ALSA: final selected sample format for playback: 32bit integer little-endian</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: ALSA: use 3 periods for playback</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: graph reorder: new port 'system:capture_1'</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: New client 'system' with PID 0</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: graph reorder: new port 'system:capture_2'</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: graph reorder: new port 'system:playback_1'</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: graph reorder: new port 'system:playback_2'</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:47 2011: New client 'cadence' with PID 22834</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:48 2011: New client 'a2j' with PID 23755</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:48 2011: New client 'PulseAudio JACK Sink' with PID 23814</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:48 2011: Connecting 'PulseAudio JACK Sink:front-left' to 'system:playback_1'</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:48 2011: Connecting 'PulseAudio JACK Sink:front-right' to 'system:playback_2'</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:48 2011: New client 'PulseAudio JACK Source' with PID 23814</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:48 2011: Connecting 'system:capture_1' to 'PulseAudio JACK Source:front-left'</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:48 2011: Connecting 'system:capture_2' to 'PulseAudio JACK Source:front-right'</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">11:09:49.960 Statistics reset.</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">11:09:49.979 Client activated.</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">11:09:50.016 JACK connection graph change.</p><span style="color: rgb(51, 0, 0);">
</span><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Sun Aug 21 11:09:49 2011: New client 'qjackctl' with PID 5754</p><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);"><br></p><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">
<br></p><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">Thanks, all.</p><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);"><br></p><p style="margin: 0px; text-indent: 0px; color: rgb(51, 0, 0);">
-Aaron<br></p><br><div style="margin-left: 40px;"><br></div><br><br><div style="margin-left: 40px;"><br></div><br><br><br><div class="gmail_quote">On Sun, Aug 21, 2011 at 10:47 AM, <span dir="ltr"><<a href="mailto:harryhaaren@gmail.com">harryhaaren@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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.<br>
<br>"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?<br>
<font color="#888888"><br>-Harry</font></blockquote></div><br>