Author |
Message |
Tom_LJ
Joined: Jun 28, 2020 Posts: 7 Location: CZ
G2 patch files: 2
|
Posted: Sun Jun 28, 2020 4:00 am Post subject:
Please help with Variations switching from external source Subject description: Patch for controlling Variation switches from Octatrack |
|
|
Hi, I've put together a patch to switch G2 Variations with the Scene switches on the Elektron Octatrack in order to sync / combine scenes on the OT with variations in G2 patches. It MOSTLY works but here's the problem:
The OT scene switches A and B transmit CC 55 and 56 respectively, but they only transmit values 0 to 15. I've tried to fix this using level multipliers and mixing the outputs of the value multipliers for CCs 55 and 56. It works when using just A or B, but when B is used, Scene A cannot return the value to 0 (i.e. Variation 1 on the G2), but only one or two Variation slots lower than the last entered value from Scene B (CC 56). I'm sure there's a way to fix this, and could well be a much more elegant way of achieving what I'm trying to do!
Description: |
|
Filesize: |
58.99 KB |
Viewed: |
4215 Time(s) |
|
Description: |
Set to receive on Ch 1 from OT and switch variations in Slots A&B |
|
Download |
Filename: |
OT Scenes to Vars and Morphs.pch2 |
Filesize: |
3.73 KB |
Downloaded: |
502 Time(s) |
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sun Jun 28, 2020 5:50 am Post subject:
|
|
|
Hello & Tom_LJ
So, if I understand correctly .. each of A and B has 16 values .. so you have 256 combinations (0 - 255) .. then the question becomes how do you want to map that onto the 8 (0 - 7) G2 variations?
Straightforward would be something like ( 8 * (16 * A + B)) / 256
but then for sending it out properly to CC70 these 8 steps should be multiplied by 128 / 8
So we then get (128 / 8 ) * (8 * ( 16 * A + B) / 256) or: 8 * A + B / 2
Anyway .. what would you like your mapping to be? _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
Tom_LJ
Joined: Jun 28, 2020 Posts: 7 Location: CZ
G2 patch files: 2
|
Posted: Sun Jun 28, 2020 6:17 am Post subject:
|
|
|
Hi Jan, many thanks for the reply.
The OT scene switches A (CC55) and B (CC56) send out a total of 32 values: each send values 0 to 15. I want A and B to send the same set of values to CC 70. This works as long as long as just A or B are used. I think the problem with the patch I posted is with the mixer.
If I use OT Scene Switch B (sending CC56 value 15), then OT Scene Switch A can only switch one Variation lower on the G2 and Switch B must be used to switch value back to 0 (Variation 1). It appears the mixer retains the higher value from the last used input.
Essentially I want A and B to be a mirror and the G2 to respond to either A or B in increments of 2 (as OT has 16 Scene variations - G2 8 variations). I'm now thinking a multiplexer may be a better route. |
|
Back to top
|
|
|
Tom_LJ
Joined: Jun 28, 2020 Posts: 7 Location: CZ
G2 patch files: 2
|
Posted: Sun Jun 28, 2020 6:51 am Post subject:
|
|
|
Unless there's a more elegant way of doing the patch, what I basically need to do is mix two control signals, but ensure that the latest incoming value to the mixer or switch is sent via CC control send, irrespective of the value on the other input. |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sun Jun 28, 2020 8:02 am Post subject:
|
|
|
Ah ok .. something like this then I guess :
_________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
Tom_LJ
Joined: Jun 28, 2020 Posts: 7 Location: CZ
G2 patch files: 2
|
Posted: Sun Jun 28, 2020 4:15 pm Post subject:
|
|
|
Jan, you're a gem. Many thanks. Will test tomorrow. |
|
Back to top
|
|
|
Tom_LJ
Joined: Jun 28, 2020 Posts: 7 Location: CZ
G2 patch files: 2
|
Posted: Wed Jul 01, 2020 10:02 am Post subject:
|
|
|
So I finally got time to go back to this patch... Sometimes I overthink things and miss the most basic solutions. I solved this by simply having two midi CC Send modules to CC 70 in the required slot(s) I guess in the back of my mind I was presuming this is a no no. Apologies for any confusion caused, and thanks again Jan.
It's great this forum is still up; it's an essential resource for NMs! |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Wed Jul 01, 2020 10:38 am Post subject:
|
|
|
_________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
|