Audiobus: Use your music apps together.

What is Audiobus?Audiobus is an award-winning music app for iPhone and iPad which lets you use your other music apps together. Chain effects on your favourite synth, run the output of apps or Audio Units into an app like GarageBand or Loopy, or select a different audio interface output for each app. Route MIDI between apps — drive a synth from a MIDI sequencer, or add an arpeggiator to your MIDI keyboard — or sync with your external MIDI gear. And control your entire setup from a MIDI controller.

Download on the App Store

Audiobus is the app that makes the rest of your setup better.

Mozaic code for THU Rig Player, possible?

hello Forum,

I have a problem with the THU Rig Player interface, when you touch a knob on the screen, a list pops up, where you can edit the parameters. That is an indirect way of controlling the most basic functions as gain, treble, mid, bass, presence, volume, etc. And that annoys me a bit.

I have connected a midi controller and that works, but then I read about Mozaic. I have experience with the CTRL software, you can assemble different objects and midi commands into a virtual midi controller. So I thought Mozaic is the same. I have bought it, and it seems more complex than that.

I don't mind to dive into the manual, but before I do this, are there any Mozaic specialists who can answer:

I assume it is possible to make a simple interface with aprox. 10 knobs to turn, and connect this to midi CC numbers in THU.

But is it also possible that Mozaic requests from THU what the position is of the knobs in the preset that is shown on the screen? Does THU talk back to Mozaic, or is the communication one way only, like a hardware controller?

If this is not possible, a work around would be that I create a button that send the position of all the knobs in a certain position in one big burst to THU. I have bass on 10 o' clock, mid on 12, treble on 2, gain on 9, etc.

Any thoughts about this?

Comments

  • THU does not send any MIDI, so you cannot get the current settings. Also, it does not share any AUv3 parameters, so you cannot use MIDI mapping in a host. You're basically stuck with what you describe, create knobs and send MIDI commands to THU. If you use THU as AUv3, you can get the knobs matched up and save a Session. Then the knobs will still be matched when you restore the session. Switching to a different THU preset will likely break that, however.

  • Okay, thanks! Good to have a reasonable expectation, I will try to make that basic version work. Now I have to read the f**ing manual.... :-)

  • wimwim
    edited January 2022

    @raabje said:
    If this is not possible, a work around would be that I create a button that send the position of all the knobs in a certain position in one big burst to THU. I have bass on 10 o' clock, mid on 12, treble on 2, gain on 9, etc.

    The code for Controller Feedback and Restore might help with the controller dump.

    That script captures midi CC's sent through it and can dump all the last values in both directions when the script is loaded or when you request it. It basically has that button you mention, though implemented as a knob so that it's easier to trigger from AU parameters. Double-tap on the knob is basically pushing the button.

    It has code in it to meter the midi messages a little to keep from overwhelming devices or apps that can't handle too many incoming midi messages at once.

    In your case, you'd be dumping the values to TH-U rather than to a hardware controller, but the idea is the same.

  • edited January 2022

    thanks, also for that website that host a lot of templates.

    I started yesterday evening with the knob to CC preset inside Mozaic. I managed to build the graphical interface. Now I have to assign CC numbers to the knobs. I have to figure this out. In other templates the code seems highly optimized, or compact, I need to study more to understand this.

    When the knobs work I will try to incorporate the bulk send knob.

    It would be nice if I could set a preset or fixed value to each knob, as shown in the picture, (mostly zero because they don't have to be moved), and then after opening the template, the knobs show the correct position at the start, on the screen in Mozaic, and after a bulk send, also in THU.

  • @raabje said:
    thanks, also for that website that hosts a lot of templates.

    I started yesterday evening with the knob to CC preset inside Mozaic. I managed to build the graphical interface. Now I have to assign CC numbers to the knobs. I have to figure this out. In other templates the code seems highly optimized, or compact, I need to study more to understand this.

    When the knobs work I will try to incorporate the bulk send knob.

    It would be nice if I could set a preset or fixed value to each knob, as shown in the picture, (mostly zero because they don't have to be moved), and then after opening the template, the knobs shows the correct position at the start, on the screen in Mozaic, and after a bulk send, also in THU.

    One thing about the code above, you can’t have multiple @OnKnobChange blocks (or any other blocks) like that.

    You can set your knob positions in the @OnLoad event, which executes every time the script loads.

    I’m sure you’ll figure all that out, but I felt I could save you a little bit of time with a couple of starter tips. 👍

  • yeah, my code is broken at the moment. I have seen your basic template (amazing stuff there on that site, great job!)

    https://patchstorage.com/basic-midi-controls/

    I have the idea the key to succes is inside this template.

  • @raabje said:
    yeah, my code is broken at the moment. I have seen your basic template (amazing stuff there on that site, great job!)

    https://patchstorage.com/basic-midi-controls/

    I have the idea the key to succes is inside this template.

    There’s a lot of extra stuff in that one since I was trying to make it cover a lot of ground. You might want to start with a less ambitious example.

  • This could be more in the right direction:

    https://patchstorage.com/cc-banks/

    And I can change in THU the incoming CC values. I had chosen the range 20-40 (because my Korg controller was preset this way), but for the knobs I want to turn in THU I can change this to 0-15 to make this template work.

    I realize you can't learn this programming in a few hours, this will be a project for weeks to get it right, for an absolute beginner like me.

  • Good find. That looks like a good one to learn from by adapting for your purposes. Nice clean code, close to what you’re trying to do, and doesn’t try to do too much.

  • edited January 2022

    edit: I went back to my own template, I think I have a basic version ready, this is V2

    What it does:

    In THU I have used CC range 20-27 for the top row buttons (individual), and CC 28-33 (global) for the bottom row.

    I can move the knobs in Mozaic, and then THU follows.

    When you tap knob 21, all the knobs in Mozaic and THU jump to a neutral preset/fixed position, the white knobs are set like most THU presets. Only the first one, definition (low cut) is used a lot in presets and rig files. Actually I could make the top row more simple, and skip a few knobs.

    The code is definitely a bit crude or simplistic, but that is for future enhancement.

    When I actually start to use this template, I will tweak it more. The fixed values at start are maybe a bit "off".

    The good thing is, now I can ditch my midi controller, I had no space on my desk anymore. And Ipad itself is the best controller.

    And a last thing, what would be great but I guess not possible. Inside the THU rig player, you can change the capture files of the amp, with left/right buttons. But these are not assignable to midi CC. That would be cool, press a knob in Mozaic and the next capture file will load. Just press a few times until you hear something nice.

  • Wow! You really all know how to make this magic happen! Thanks for all your coding work @wim & @raabje 🙏👍🏼🎸

  • edited January 2022

    I have an aditional idea. I have a few knobs left over in the graphical interface. I will use these for preset positions of the knobs (both Mozaic and THU) for different guitars, single coil / humbucker, and low gain / high gain. So that makes 4 tap buttons. It is only a matter of playing for a while, and writing down or memorize the prefered EQ values, and copy, multiply and change the code for knob 21.

    I found out I can control the rig player with Mozaic while the THU drop down menu is in use. So when you open the THU menu you have the left/right buttons for changing the capture file, and the Mozaic knobs for the rest. That is workable solution.

Sign In or Register to comment.