Welcome to %s forums

BrainModular Users Forum

Login Register

Unpack MIDI Array

I need help on a Patch
Post Reply
CleverConQueso
Member
Posts: 190
Contact:

Unread post by CleverConQueso » 25 Oct 2011, 21:44

Folks-
I'm working on a new step sequencer. The idea for the last one was that is was to be powered by a single Matrix UI and save the different patterns to memory. This new one uses switch arrays to edit and store sequencer patterns.
I originally hoped this would be more kind to the CPU but I guess it's the other way around because of the nested polyphonic patches of switch banks. 8*12=96 switch banks. This ends up consuming a great deal of memory when all 8 patterns are running (~25%) so I built in a method to turn off the patterns that are not being used. This is the 'pattern voices' slider under the 'pattern' button on the main UI.
I'm trying to lighten up the main note-creation patch by taking as much out of it as possible since this is the one that's repeated 96 times. I'd like to move the 'create MIDI' element out to the root and feed it an array of the many note events but I'm not getting the hang of converting an array like -

1,64,100,1,1,65,100,1,1,66,100,1 etc

I thought I had seen an example of unpacking a nested MIDI array like this but now I can't find it.

Any ideas of a good way to reduce the CPU load of this patch?

Thanks,
-CCQ-

http://www.sensomusic.com/forums/upload ... epCore.jpg

http://www.sensomusic.com/forums/upload ... hes-v4.zip

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 26 Oct 2011, 14:32

there's an old example named sequenaya lite in the matrix pack , inside you can find a sub-patch (arr to midi) which can maybe be a start..?

CleverConQueso
Member
Posts: 190
Contact:

Unread post by CleverConQueso » 26 Oct 2011, 22:28

Thanks, Nay. That looks perfect.

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests