<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I decided to try 96 kHz audio with the S.R.O. (Supermega Rumblic Organ), my slightly Aslan-like synth (it is not a tame device really), and found items which may be of interest:<br>
<br>
1. At 96 kHz, schedtool definitely matters. Taking it out increased xruns a lot. I tried to figure out what was interfering via htop, but it was very unclear. So I'm keeping the schedtool for now. I could believe that if I reengineer for a zero-X default
setup (likely to happen in the future) this problem might go away, X and the desktop certainly do have lots of demands. I *think* the only big piece missing for me in this is keymapping, I use F-keys to switch patches, quite easy in both LXDE and MATE.<br>
<br>
2. At 48 kHz, I could run stereo, i.e., all three Yoshimis' dual outputs combined by Jack separately, so each output of my FCA202 had a separate signal, with different separations as Yoshimi is prepared to do. But at 96 kHz I started to get rare xruns doing
this. Tried a number of things, didn't figure out why. So I tried using just one output of each Yoshimi and then having Jack copy them all to both outputs; xruns gone. Some of my patches -- especially strings-related -- are quite a lot improved by the shift
to 96 kHz, the audio detail at the high third of my 88 is much better. Not very surprising from a mathematical point of view of course. I don't use stereo output anyway, I play in ensemble and I need to leave some of the ambient audio thought-room for others,
so I'm leaving things as they are unless a solution arises for possible use in recording.
<br>
<br>
3. The Jack-internal MIDI ports are enormously more handy for portability, because since they retain the same Jack port names for any ALSA MIDI hardware, I can plug in any USB MIDI adapter or USB keyboard and expect things to work without getting into GUI
at all. So based on the input from excellent LAU folks, I decided to try an alsarawmidi slave driver via jack_control, thinking that perhaps I mightn't have to worry about the jitter at 4GHz; and lo and behold, all working well so far.<br>
<br>
For any who may be interested, here is START-INITIAL (run at boot) and patch script START-SRO:<br>
<br>
<tt>---- begin START-INITIAL, run at boot ----</tt><tt><br>
</tt><tt><br>
</tt><tt>#!/bin/bash</tt><tt><br>
</tt><tt><br>
</tt><tt>echo ''</tt><tt><br>
</tt><tt>echo 'Initiating environment...'</tt><tt><br>
</tt><tt>echo ''</tt><tt><br>
</tt><tt><br>
</tt><tt>nohup /home/jeb/startx11vnc.sh &</tt><tt><br>
</tt><tt><br>
</tt><tt>echo ''</tt><tt><br>
</tt><tt>echo 'Cleaning up old logs...'</tt><tt><br>
</tt><tt>echo ''</tt><tt><br>
</tt><tt><br>
</tt><tt>rm ~/.log/jack/jackdbus.log</tt><tt><br>
</tt><tt>rm ~/.log/a2j/a2j.log</tt><tt><br>
</tt><tt>rm ~/.log/lash/lash.log</tt><tt><br>
</tt><tt><br>
</tt><tt>echo ''</tt><tt><br>
</tt><tt>echo 'Starting jackd via dBus and configuring...'</tt><tt><br>
</tt><tt>echo ''</tt><tt><br>
</tt><tt><br>
</tt><tt>jack_control ds firewire</tt><tt><br>
</tt><tt>jack_control dps capture 0</tt><tt><br>
</tt><tt>jack_control dps playback 0</tt><tt><br>
</tt><tt>jack_control dps rate 96000</tt><tt><br>
</tt><tt>jack_control dps period 64</tt><tt><br>
</tt><tt>jack_control asd alsarawmidi</tt><tt><br>
</tt><tt><br>
</tt><tt>jack_control start</tt><tt><br>
</tt><tt><br>
</tt><tt>jack_control eps realtime true</tt><tt><br>
</tt><tt>jack_control eps realtime-priority 75</tt><tt><br>
</tt><tt>jack_control eps clock-source 1</tt><tt><br>
</tt><tt><br>
</tt><tt>/home/jeb/START-SRO &</tt><br>
<br>
<br>
<tt>---- begin START-SRO, run to start patch SRO ----</tt><tt><br>
<br>
</tt><tt>#!/bin/bash</tt><tt><br>
</tt><tt><br>
</tt><tt># Stop any running audio elements</tt><tt><br>
</tt><tt>echo "Stop any running audio elements..."</tt><tt><br>
</tt><tt>killall -9 -w yoshimi fluidsynth zita-j2a aj-snapshot guitarix calfjackhost non-mixer rakarrack mididings lashd</tt><tt><br>
</tt><tt>killall -9 -w yoshimi fluidsynth zita-j2a aj-snapshot guitarix calfjackhost non-mixer rakarrack mididings lashd</tt><tt><br>
</tt><tt><br>
</tt><tt># Remove all connections </tt><tt><br>
</tt><tt># echo "Stopping a2j..."</tt><tt><br>
</tt><tt># a2j_control stop</tt><tt><br>
</tt><tt>echo "Stopping Jackd to remove all connections..."</tt><tt><br>
</tt><tt>killall -9 -w jackdbus</tt><tt><br>
</tt><tt>killall -9 -w jackdbus</tt><tt><br>
</tt><tt>jack_control stop</tt><tt><br>
</tt><tt>echo "Starting Jackd..."</tt><tt><br>
</tt><tt>jack_control start</tt><tt><br>
</tt><tt>sleep 2</tt><tt><br>
</tt><tt><br>
</tt><tt># Running a2j -- needful to use ALSA MIDI devices with</tt><tt><br>
</tt><tt># zita-a2j, which uses the 'dummy' driver in Jack</tt><tt><br>
</tt><tt># echo "Starting a2jmidid..."</tt><tt><br>
</tt><tt># a2j_control ehw</tt><tt><br>
</tt><tt># a2j_control start</tt><tt><br>
</tt><tt><br>
</tt><tt># Start all relevant audio elements</tt><tt><br>
</tt><tt>echo "Start all relevant audio elements..."</tt><tt><br>
</tt><tt>nohup schedtool -R -p 90 -e mididings -f /home/jeb/Combine.py \</tt><tt><br>
</tt><tt> > /home/jeb/LOGS/Combine.log &</tt><tt><br>
</tt><tt>nohup schedtool -R -p 90 -e calfjackhost --client CalfSRO \</tt><tt><br>
</tt><tt> eq12:SRO ! reverb:SRO ! Compressor:SRO \</tt><tt><br>
</tt><tt> > /home/jeb/LOGS/calfjackhost-SRO.log &</tt><tt><br>
</tt><tt>nohup schedtool -R -p 90 -e yoshimi -N YoshSRO1 -j -l /home/jeb/YOSHIMI/SROpart1.xmz \</tt><tt><br>
</tt><tt> > /home/jeb/LOGS/Yoshimi-SRO1.log &</tt><tt><br>
</tt><tt>nohup schedtool -R -p 90 -e yoshimi -N YoshSRO2 -j -l /home/jeb/YOSHIMI/SROpart2.xmz \</tt><tt><br>
</tt><tt> > /home/jeb/LOGS/Yoshimi-SRO2.log &</tt><tt><br>
</tt><tt>nohup schedtool -R -p 90 -e yoshimi -N YoshSRO3 -j -l /home/jeb/YOSHIMI/SROpart3.xmz \</tt><tt><br>
</tt><tt> > /home/jeb/LOGS/Yoshimi-SRO3.log &</tt><tt><br>
</tt><tt>sleep 2</tt><tt><br>
</tt><tt><br>
</tt><tt># And lastly, create jackd connections using aj-snapshot</tt><tt><br>
</tt><tt>echo "And lastly, create jackd connections using aj-snapshot..."</tt><tt><br>
</tt><tt>cp /home/jeb/AJSRO.xml /home/jeb/AJRunning.xml</tt><tt><br>
</tt><tt>nohup schedtool -R -p 90 -e aj-snapshot -d AJRunning.xml &</tt><br>
<br>
<div class="moz-signature">-- <br>
<div style="font-family: serif; font-style: italic; color:
#660000; size=12pt">
Jonathan E. Brickman<br>
<font size="2">Ponderworthy Music | <a class="moz-txt-link-abbreviated" href="mailto:jeb@ponderworthy.com">
jeb@ponderworthy.com</a> | (785)233-9977 | <a href="http://ponderworthy.com">http://ponderworthy.com
</a></font></div>
</div>
</body>
</html>