elvisbot
New Head-Fier
- Joined
- Jan 23, 2005
- Posts
- 8
- Likes
- 0
Here is another problem that has been eating away at me: has anyone figured out how to integrate Secret Rabbit Code (SRC) into the iTunes' or another audio players output on an OS X (Intel, G5, or G4) system?
I've compiled SRC (libsamplerate0--or libsamplerate when compiled outside of Fink) on OS X via Fink.
I believe the most promising way to integrate SRC into OS X's output is to use the freeware JackOSX (an offshoot of Jack--a low-latency audio server) controlled via Qjackctl (a GUi control panel for jack). Oddly, my Fink compiled jack works better than my JackOSX.pkg install.
I have setup qjackctl utilizing the driver portaudio (jackd -v -R -p256 -m -dportaudio -c2 -r96000 -p16) enables Jack to load and allows me to upsample OS X's audio output to 24/96, but I am unsure what sample rate code it utilizes. Also, I have set it up so jackd runs in realtime and incapable of locking memory--I chose setting because OS X isn't supposed to be able to lock memory (but, maybe this information is outdated). My latency is only .333ms. FYI, I have attached jack's startup output in the text document Jack_Startup_output_drive_portaudio_24_96.txt. As far as I know, the only sample rate library I have installed on this system is SRC or libsamplerate0. Unless I can use a realtime debugger, I won't be able to determine how qjackctl upsamples the audio to 24/96. Any ideas?
When I attempt to start-up jack with the coreaudio driver, jackd fails to load. The same happens when I try to use any other driver in jackd. I have attached the output from my attempt to utilize the coreaudio driver in the form of a text document: jackd_dcoreaudio.txt. I am not sure as to why it fails. CoreAudio is integrated into OS X, isn't it? Maybe there is another CoreAudio driver lurking about, waiting to be compiled and installed.
If jack is not utilizing libsamplerate0, it should be possible, with some programming, to pass on OS X's audio output to jack where it will be upsampled with SRC to 24/96 then redirect to whatever output I choose (E.g. USB, Firewire, speaker, ethernet, etc.). This would require some coding and much research.
I am going to continue my research into coding in jack and SRC; also, I will search for some drivers for CoreAudio, OSS, and ALSA--this stupid thing called work gets in the way of my research. Maybe I’ll post my findings to this thread. I hope I don't have to make my own drivers.
And, in the process, I might figure out how to send 24/94 audio over an Airport Express.
BTW, am I abusing smilies?
Cheers,
-------------------------
Portable & Home rig mixed unintelligibly together:
iMod iPod (or G5 -> Airport Express (optical)-> Benchmark DAC-1) -> RS Emmeline 2 Raptor or RS SR71-> H600/Equinox or k701 (or UM2 w/SR71) - > ears.
Soon: G5 or MacBook? -> I2S modded Airport Express or USB w/IS2 RJ45 mod -> Turbomodded I2S modified Benchmark DAC-1 -> RS Emmeline 2 Raptor -> aforementioned headphone sans the UM2 -> ears.
Other stuff (ICs, etc.): P500 Powerplant, Shunyata Diamondback power cords, generic toslink optical cable, MIT T-2, Blue Jean Audio cables.
I've compiled SRC (libsamplerate0--or libsamplerate when compiled outside of Fink) on OS X via Fink.
I believe the most promising way to integrate SRC into OS X's output is to use the freeware JackOSX (an offshoot of Jack--a low-latency audio server) controlled via Qjackctl (a GUi control panel for jack). Oddly, my Fink compiled jack works better than my JackOSX.pkg install.
I have setup qjackctl utilizing the driver portaudio (jackd -v -R -p256 -m -dportaudio -c2 -r96000 -p16) enables Jack to load and allows me to upsample OS X's audio output to 24/96, but I am unsure what sample rate code it utilizes. Also, I have set it up so jackd runs in realtime and incapable of locking memory--I chose setting because OS X isn't supposed to be able to lock memory (but, maybe this information is outdated). My latency is only .333ms. FYI, I have attached jack's startup output in the text document Jack_Startup_output_drive_portaudio_24_96.txt. As far as I know, the only sample rate library I have installed on this system is SRC or libsamplerate0. Unless I can use a realtime debugger, I won't be able to determine how qjackctl upsamples the audio to 24/96. Any ideas?
![confused.gif](http://www.head-fi.org/forums/images/smilies/http://hfimage.head-fi.org/smilies/confused.gif)
When I attempt to start-up jack with the coreaudio driver, jackd fails to load. The same happens when I try to use any other driver in jackd. I have attached the output from my attempt to utilize the coreaudio driver in the form of a text document: jackd_dcoreaudio.txt. I am not sure as to why it fails. CoreAudio is integrated into OS X, isn't it? Maybe there is another CoreAudio driver lurking about, waiting to be compiled and installed.
![confused.gif](http://www.head-fi.org/forums/images/smilies/http://hfimage.head-fi.org/smilies/confused.gif)
If jack is not utilizing libsamplerate0, it should be possible, with some programming, to pass on OS X's audio output to jack where it will be upsampled with SRC to 24/96 then redirect to whatever output I choose (E.g. USB, Firewire, speaker, ethernet, etc.). This would require some coding and much research.
I am going to continue my research into coding in jack and SRC; also, I will search for some drivers for CoreAudio, OSS, and ALSA--this stupid thing called work gets in the way of my research. Maybe I’ll post my findings to this thread. I hope I don't have to make my own drivers.
![frown.gif](http://www.head-fi.org/forums/images/smilies/http://hfimage.head-fi.org/smilies/frown.gif)
And, in the process, I might figure out how to send 24/94 audio over an Airport Express.
BTW, am I abusing smilies?
Cheers,
-------------------------
Portable & Home rig mixed unintelligibly together:
iMod iPod (or G5 -> Airport Express (optical)-> Benchmark DAC-1) -> RS Emmeline 2 Raptor or RS SR71-> H600/Equinox or k701 (or UM2 w/SR71) - > ears.
Soon: G5 or MacBook? -> I2S modded Airport Express or USB w/IS2 RJ45 mod -> Turbomodded I2S modified Benchmark DAC-1 -> RS Emmeline 2 Raptor -> aforementioned headphone sans the UM2 -> ears.
Other stuff (ICs, etc.): P500 Powerplant, Shunyata Diamondback power cords, generic toslink optical cable, MIT T-2, Blue Jean Audio cables.