Connect-OPZ: using USB audio with norns

I saw some nice numbers running up and down in the lower left corner, so just patched a bit of transfer for bangs from the top-left and connected to my OP-Z, running whatever sounds I had from earlier jams.

This systemd service for OP-Z audio turned out pretty sweet wouldn’t you agree?

4 Likes

More, with additional patching. This makes sense to me. Ironically though the sound is coming from OP-Z to norns for processing and recording via that audio cable I wanted to get rid of.

7 Likes

This is peak nerd and I’m here for it. Actually really surprised at how coherent it is, you’d expect something like this to end up just being a bad autechure cover.

5 Likes

I have it running but not sure it’s working for me. i have connected:true audio setup:false K3 isn’t toggling anything.

looks like the hardcoded path should probably remove xmacex from the path (for the typical install situation) or the instructions should include a mkdir xmacex in the dust/code directory. made the change on mine and all works great!

2 Likes

Thanks @scazan , i am not so sure what is a good organization for tools (under a user or not), but you are absolutely right that the instructions were incorrect. I’ve now updated the code to refer to _path.this.lib instead, and the program should now find them no matter where it is installed.

@TheeDatabomb did you get it sorted? If you remove the xmacex directory and clone again, it will hopefully work. If not, if you can send what you see in maiden that’d be helpful.

Super useful, many thanks for staring this, @xmacex
Would it work for any class compliant audio? Dreaming of connecting my Analog Four.

Exactly the same does not work, neither with the most updated version of the script on GitHub

Yes this is definitely a bit of a personal project, while also making an opening, and a public suggestion upstream as an idea to get into norns. I really appreciate and respect that rather than trying to solve the entire field of “how to make sounds with computers” problem, monome is working with this product. Pushing the hardware side of things makes a little uneasy actually, and I really don’t want them to get bogged down in hardware compatibility support (see also the “running norns on the new, more powerful Raspberry Pi 4” discussion). But there isn’t anything OP-Z specific actually (my new development sketches are more – not less tied to OP-Z, though needn’t be).

I am not sure how far this idea would generalize before hitting limits, perhaps to all USB compliant devices perhaps not. Have you tried it? The basic idea is, currently: running alsa_in process and patching it to jack.

I’m new to Norns and Linux in general, but I think I should be able to follow. I’ll give it a go and feedback!

1 Like

How would I do that? Still a bit of a newb.

It is working, thank you @xmacex!
Changed the device address and sample rate to 48000.

Now a couple of issues:

  1. my analog input is noisy, is there a way to disconnect monome input ?
  2. usb input is low, any option to boost 6 or 12 dB?

4 Likes

If you are not familiar with maiden - check this video, it answered many noob questions of mine https://youtu.be/Vf-Br3wwQRw

2 Likes

Nice interesting, good job! This thing is generalizing, and will hopefully eventually generalize itself into oblivion :wink: The name is now already misleading, which is by design.

  1. There is another method which is somehow also better than running the alsa_in process, and that’s the -d hw:0-d hw:1 change in the norns-jack service in /etc/systemd/system. This conserves CPU too, but there are so other complications with it which i haven’t sorted out yet. I am not sure if this would help with noise from analog input.
  2. I need to see about boosting. There is some commentary about it in another thread, i am not sure if it’s implication, eg will it be distorted.
1 Like

Thanks! I got it running! I wish there was a way for this to be a feature of Fates so you could run other patches with it. Great job on this!

1 Like

Super! Agree, that would be a killer system feature for Norns. Especially with more input gain :slight_smile:

2 Likes

Now with separate input and output in version 0.3.1. I mean: now output is actually also implemented.

This means sampling/resampling fun fun fun directly into OP-Z, while also allowing conservation of norns CPU when audio norns ⥲ OP-Z is not needed.

10 Likes

This is a huge deal - the OP-Z / norns pairing is so powerful, but difficult to get right (you REALLY need a $15 USB power isolator). This solution is so much more elegant than that. Now if you can get this working on my ipad, I’d appreciate it! When you connect those two, it does stupid “Apple knows best” things like turning off the headphone out.

3 Likes

Thanks for voicing that this little utility is useful, inspiring or otherwise interesting. Sorry to hear about that loss of a signal route, I hope you’ll find a way around it somehow.

1 Like

Ok wait. This almost sound to good to be true :slight_smile: So if I have this program I only need the usb cable between the OP-Z and the Norns to pass midi and audio? Is it possible to run cheat codes this way?

1 Like