Connecto is a script that allows the Norns to connect its audio inputs and outputs to USB audio devices.
Inspired by Connect-OPZ by @xmacex, Connecto was created as a tool to allow for the connection of any USB audio device to Norns, not just an OP-Z. It is a basic tool for choosing which audio device will be used for input into Norns, and which will be used for output from Norns. Please note that Connecto only supports one device for Norns audio inputs and one device for Norns audio outputs, and provides access to only the first two audio channels of the connected USB device.
Requirements
Norns
USB class-compliant audio devices / OPZ / etc…
Documentation
At startup, Connecto automatically recalls previous connections if the same audio devices are connected.
K1/E3: to select whether the modification affects the device or the sampling rate.
Thank you very much for this. I´m sampling a lot from Youtube nowdays and not having an analog output on my phone anymore makes sampling from it to norns messy. Connecto will be very helpful to solve the annoying scenario!
This is something I have in mind.
However, Jack seems to not handle disconnection of a running USB device well. Making a mod implies allowing hot-swapping USB devices without causing the Norns to hang indefinitely or crash. As @xmacex mentioned, using systemctl/udev rules would be a more elegant solution.
I had a play with this today and it’s great - a less noisy way to get audio to and from my digitakt and 200323 norns shield. Thank you!
A couple of things I noticed:
the output volume control on the mixer page didn’t seem to have an effect as far as I can tell.
the sample rate defaulted to 44.1kHz, but I think the digitakt requests 48kHz. The connection silently failed as a result until I changed the sample rate. I realised what was going on after checking the error messages in the maiden console.
Hi @chrisl, can you update to the latest version of Connecto ? It should resolve the issue with mixing and output volume control.
Regarding the sampling rate, I would like to propose by default the sampling rate of the USB sound device.
If you are familiar with SSH, could you run the following tests to help me :
get the index of you Digitakt by running:
cat /proc/asound/cards
post the result of the following command, replacing X in cardX with index in step 1:
Great and an elegant ui too, digging the subtle animation. I tested Connect-OPZ a while back with various usb sound gadgets but never with an actual soundcard. Some resource heavy scripts seem to compete with Connecto causing small glitches (but it can be my shady powersupply too). Sampling is a joy now!
Thank you so much for sharing this! This is the first time a script has resulted in my workspace being a bit less cluttered and I love it. So much more convenient having the norns I/O in my rack with my patchbay and everything else.
With the latest commit (7fd84a) the out volume control on the mixer page in working as I expected, thank you! The digitakt doesn’t have a way of reducing USB input only increasing it, so this is a great workaround.
Just tried this out with a Roland TR-06 and got the following error:
Cannot lock down 82287136 byte memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/90)(1: Operation not permitted)
JackClient::AcquireSelfRealTime error
Cannot lock down 82287136 byte memory area (Cannot allocate memory)
Cannot lock down 82287136 byte memory area (Cannot allocate memory)
Cannot lock down 82287136 byte memory area (Cannot allocate memory)
Cannot lock down 82287136 byte memory area (Cannot allocate memory)
Not sure if this is just a permissions thing that needs tweaking or if the TR-06 is not a viable target (I’m not sure it is class compliant) - either way I figured it’s worth sharing the error.