Windows 7 Jack2 64 bit SC 3.9.3 -> Ableton 9

Hi all,
I’m having problems connecting Sc to Ableton 9 using Jack2.
I guess this is not because of something wrong in the code…

Windows 7 home premium
SC 3.9.3
ASIO4ALL v2
Jack 2 64 bit
Ableton Live 9

Maybe I missing something in the installation process.
Would be great if someone could tell me what I’m doing wrong, or just an hint.

  1. Start Jack PortAudio
  2. Make sure that the Jack Audio Server is running by checking the command prompt window
    Port%20Audio
    it’s everithing ok, it seems.

  1. With the Jack Audio Server started, the JackRouter ASIO driver will be available for your ASIO supported applications.

  2. Within your audio application, select JackRouter as the audio device.

    Server.killAll; // kill the ghosts
    o = Server.local.options;
    o.numOutputBusChannels.postln;
    o.numOutputBusChannels = 100; // The next time it boots, this will take effect
    o.device =“JackRouter”; // use a specific soundcard
    o.memSize_(2.pow(20));

    s.reboot;
    s.meter;
    s.plotTree;

    a={Impulse.ar(8)}.play;
    a.free;

Post window:

→ Server
RESULT = 0
RESULT = 1
→ a ServerOptions
2
→ 2
→ a ServerOptions
→ a ServerOptions
→ a ServerOptions
→ localhost
booting server ‘localhost’ on address: 127.0.0.1:57110

Device options:

  • MME : Microsoft Sound Mapper - Input (device #0 with 2 ins 0 outs)
  • MME : Microfono (Realtek High Definit (device #1 with 2 ins 0 outs)
  • MME : Microsoft Sound Mapper - Output (device #2 with 0 ins 2 outs)
  • MME : Altoparlanti (Realtek High Defi (device #3 with 0 ins 2 outs)
  • Windows DirectSound : Driver primario di acquisizione suoni (device #4 with 2 ins 0 outs)
  • Windows DirectSound : Microfono (Realtek High Definition Audio) (device #5 with 2 ins 0 outs)
  • Windows DirectSound : Driver audio principale (device #6 with 0 ins 2 outs)
  • Windows DirectSound : Altoparlanti (Realtek High Definition Audio) (device #7 with 0 ins 2 outs)
  • ASIO : ASIO4ALL v2 (device #8 with 2 ins 2 outs)
  • Windows WASAPI : Altoparlanti (Realtek High Definition Audio) (device #9 with 0 ins 2 outs)
  • Windows WASAPI : Microfono (Realtek High Definition Audio) (device #10 with 2 ins 0 outs)
  • Windows WDM-KS : Speakers (Realtek HD Audio output) (device #11 with 0 ins 2 outs)
  • Windows WDM-KS : Microfono (Realtek HD Audio Mic input) (device #12 with 2 ins 0 outs)
  • Windows WDM-KS : Missaggio stereo (Realtek HD Audio Stereo input) (device #13 with 2 ins 0 outs)

Booting with:
In: MME : Microfono (Realtek High Definit
Out: MME : Altoparlanti (Realtek High Defi
Sample rate: 44100.000
Latency (in/out): 0.013 / 0.091 sec
SC_AudioDriver: sample rate = 44100.000000, driver’s block size = 64
SuperCollider 3 server ready.
Requested notification messages from server ‘localhost’
localhost: server process’s maxLogins (1) matches with my options.
localhost: keeping clientID (0) as confirmed by server process.
exception in GraphDef_Recv: exceeded number of interconnect buffers.
Shared memory server interface initialized

Why ?
Booting with:
In: MME : Microfono (Realtek High Definit
Out: MME : Altoparlanti (Realtek High Defi

Is that correct ??

then I lunch Live 9, I can’t see any JackRouter , but I can choose ASIO
ABletonAsio

  1. Now start Jack Control
  2. Click on the Connect button

here the error
Jack engine::ClientActivate wait …
and consequently I can’t choose the devices from the Jack Audio Connection Kit.

f you know what it could be, it would be of great help.
Thanks

OK, so you’ve mentioned two audio applications:

  • SC: “JackRouter ASIO” is not included in the list of available devices.
  • Live: “JackRouter ASIO” is not available in the driver menu

The Occam’s Razor conclusion is: JackRouter ASIO is not actually becoming available only by starting the JACK server.

So I think you need to make sure that JACK is truly functioning properly first. Maybe some documentation somewhere says “With the Jack Audio Server started, the JackRouter ASIO driver will be available for your ASIO supported applications” but it seems pretty clear to me that this is not actually happening on your machine.

hjh

1 Like

Thanks!!

I thought that, with this version of Jack2 I didn’t have to register the .dll
the guide said:
The Jack v 1.9.8/64bits/JackRouter.dll still has to be registered “manually” with regsvr32 - so please try the following command to register the 64-bit JackRouter:

regsvr32 "C:\Program Files (x86)\Jack v1.9.8\64bits\JackRouter.dll"

in my case was just

regsvr32 "C:\Program Files (x86)\Jack\64bits\JackRouter.dll"

So now I can see :slight_smile:

Booting with:
In: ASIO : JackRouter
Out: ASIO : JackRouter

but … after a few seconds
SC_PortAudioDriver: PortAudio failed at Pa_OpenStream with error: ‘Unanticipated host error’
could not initialize audio.
Open error: is JACK server running?
RESULT = 1

and Jack says:

jackdmp 1.9.11
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Drivers/internals found in : C:\Windows
Drivers/internals found in : C:\Windows
JACK server starting in realtime mode with priority 10
self-connect-mode is “Don’t restrict self connect requests”
JackEngine::ClientCloseAux wait error ref = 2
Driver is not running
CheckRes error
JackRequest::ClientOpen write error name = scsynth

if any of you could tell me what’s going on would be great,
I searched for : JackEngine::ClientCloseAux wait error ref = 2
but with no luck.

thanks and sorry for this silly and tedious questions.

I’m afraid not many SC users have much experience with JACK in Windows.

So, what is known right now is that registering the DLL got you to a point where “ASIO : JackRouter” shows up in the list of devices, but PortAudio isn’t able to do anything with that.

The message “Driver is not running” in the JACK console output is suspicious, but I’m not sure of the sequence of events so I don’t want to speculate.

One thing that is not known is: Can you use JackRouter with other audio software on the same machine (e.g. Live)?

If JackRouter works in Live but fails in SC, then it’s a SuperCollider problem.

If JackRouter doesn’t work in any audio software on the machine (which was the case initially but may or may not be the case now), then it’s a JACK configuration problem and it would be better to follow up with the JACK community.

hjh

1 Like

Thank you for your patience,
I’ll do some research, because with Live seems to work, but with Sc no luck for now…
I’ll ask to the Jack community.

Looks like an issue with SC’s use of PortAudio.

Unfortunately, I’m well out of my depth here… I can only say this isn’t the first weird thing I’ve seen with SC vs Windows audio. :sweat:

hjh

@RandColors did you find out another way to route audio from SC on Windows ?

I’m sorry, to say no…

I’ve managed to route audio on Windows 10 using VB-Audio Virtual Cable.

It was more intuitive than jack, but you have to go to windows configurations to change drivers and destinations.

I also have ASIO4All installed.

1 Like