electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
Please help with Variations switching from external source
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Tom_LJ



Joined: Jun 28, 2020
Posts: 7
Location: CZ
G2 patch files: 2

PostPosted: 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
Reply with quote  Mark this post and the followings unread

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!


OT - G2 variation switcher.jpg
 Description:
 Filesize:  58.99 KB
 Viewed:  4213 Time(s)

OT - G2 variation switcher.jpg



OT Scenes to Vars and Morphs.pch2
 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
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sun Jun 28, 2020 5:50 am    Post subject: Reply with quote  Mark this post and the followings unread

Hello & welcome 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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Tom_LJ



Joined: Jun 28, 2020
Posts: 7
Location: CZ
G2 patch files: 2

PostPosted: Sun Jun 28, 2020 6:17 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Tom_LJ



Joined: Jun 28, 2020
Posts: 7
Location: CZ
G2 patch files: 2

PostPosted: Sun Jun 28, 2020 6:51 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sun Jun 28, 2020 8:02 am    Post subject: Reply with quote  Mark this post and the followings unread

Ah ok .. something like this then I guess :

Posted Image, might have been reduced in size. Click Image to view fullscreen.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Tom_LJ



Joined: Jun 28, 2020
Posts: 7
Location: CZ
G2 patch files: 2

PostPosted: Sun Jun 28, 2020 4:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Jan, you're a gem. Many thanks. Will test tomorrow.
Back to top
View user's profile Send private message
Tom_LJ



Joined: Jun 28, 2020
Posts: 7
Location: CZ
G2 patch files: 2

PostPosted: Wed Jul 01, 2020 10:02 am    Post subject: Reply with quote  Mark this post and the followings unread

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) Embarassed 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
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Wed Jul 01, 2020 10:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Cool
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use