ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2008-06-12T13:20:29+02:00 https://brainmodular.org/forums/app.php/feed/topic/844 2008-06-12T13:20:29+02:00 2008-06-12T13:20:29+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4529#p4529 <![CDATA[One note triggering]]> Statistics: Posted by ethnix73 — 12 Jun 2008, 13:20


]]>
2008-06-07T14:43:29+02:00 2008-06-07T14:43:29+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4491#p4491 <![CDATA[One note triggering]]>
I'm working on this patch to work in the usine vst version...I've still got problems with triggering...
If i use direct midi learn on my play button, it does'nt work. Step sequencer goes step after step, but samples are not triggered.
If i use the vst parameter, samples are triggered, but step sequencer seems to go two step further each time...

My host is energy XT1.4

Here is my patch...If someone could help me, it would be great.


http://ethnix73.free.fr/Usine/SubPatch% ... +midi2.pat

Statistics: Posted by ethnix73 — 07 Jun 2008, 14:43


]]>
2008-05-29T21:51:44+02:00 2008-05-29T21:51:44+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4456#p4456 <![CDATA[One note triggering]]>
Ethnix73, if you want I can mail the patch to you.

Statistics: Posted by bsork — 29 May 2008, 21:51


]]>
2008-05-29T08:47:14+02:00 2008-05-29T08:47:14+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4455#p4455 <![CDATA[One note triggering]]>
One tip concerning arrays in general that might help in understanding: When you're using the 16 in- and outputs of eg. the Step module, you're accessing the first elements of an array - similar to using the Set/Get Array Element Value modules, which can handle every element. BTW, if you take a look in the manual (at least in the 3.64a version), the "index" line for both contains the same error. The right values should be min=0 and max=511. I'll notify Olivier.

Statistics: Posted by bsork — 29 May 2008, 08:47


]]>
2008-05-29T01:04:18+02:00 2008-05-29T01:04:18+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4453#p4453 <![CDATA[One note triggering]]> Statistics: Posted by ethnix73 — 29 May 2008, 01:04


]]>
2008-05-29T00:41:53+02:00 2008-05-29T00:41:53+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4452#p4452 <![CDATA[One note triggering]]>
I took a quick look at your patch, and I'm impressed. We certainly have done things differently, both in how we've done the basic patching and how the UI is designed. I really like to see the same basic ideas approached in different ways!

I've met some troubles with my patch. Originally I created a sub-patch with the normal samplers, and copied that to create patches for grain samplers and MIDI. But I've discovered that the start (and stop?) on the grain samplers act differently from the others - the grain samplers start when receiving a 1 and then a 0 while the others just needs a 1. The handling of start, stop and loop mode in the patch had become quite messy anyway, so I guess some rethinking is called for...

Statistics: Posted by bsork — 29 May 2008, 00:41


]]>
2008-05-28T19:37:22+02:00 2008-05-28T19:37:22+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4449#p4449 <![CDATA[One note triggering]]>
And two step sequencer also to select wich sample or midi loop to play.

i still need to work on it to synchronise step position between the main step sequencer for audio/midi switch and others step sequencer...and some improvements also with the interface...

http://ethnix73.free.fr/Usine/Temp%20sw ... r+midi.pat

Statistics: Posted by ethnix73 — 28 May 2008, 19:37


]]>
2008-05-27T19:25:47+02:00 2008-05-27T19:25:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4438#p4438 <![CDATA[One note triggering]]> Statistics: Posted by ethnix73 — 27 May 2008, 19:25


]]>
2008-05-27T09:06:02+02:00 2008-05-27T09:06:02+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4432#p4432 <![CDATA[One note triggering]]>
Could i really choose the order of files to be played with the array?
Yes - that's what I'm working on with the patch that you inspired me to create. The order of the audio/MIDI files doesn't matter, it's handled through the array.

I know it can be hard getting into array handling; it took some time for me also to get into it when I started with Usine. I am a programmer, but programming with modules instead of IFs and LOOPs etc was a bit "alien" at first, especially the order of things (Wait one Cycle...) and arrays.

I said earlier that I would upload an add-on yesterday, but I didn't get it finished. I haven't created the MIDI part and the interface yet. I also think that I should write some more patch info and comments here and there. And I just got an idea for making editing the array a bit easier...

But keep working on your own patches! The one I'm making is a bit complicated, and would probably be overkill in a lot of situations. That said, when I make a patch that I think would be a nice add-on, I often put in some extra "might-be-nice-to-have-but-far-from-essential" stuff, but try to do this in a way that I HOPE will make it easy to remove.

Statistics: Posted by bsork — 27 May 2008, 09:06


]]>
2008-05-27T00:46:01+02:00 2008-05-27T00:46:01+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4431#p4431 <![CDATA[One note triggering]]>
It's ok with your first solution, i've tested it.

but I don't understand how to use the array in the second...I don't understand anything yet with array modules :-(

I might be a solution really interesting...Could i really choose the order of files to be played with the array? Or does have also to sort the list of files, in samplers and piano roll, according to the order i want to be played? Is my question clear?

I've managed also to make a patch with the dispatcher...will work a little more on it.

Statistics: Posted by ethnix73 — 27 May 2008, 00:46


]]>
2008-05-26T14:49:47+02:00 2008-05-26T14:49:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4428#p4428 <![CDATA[One note triggering]]>
hi bsork,

Happy to know you find my idea quite useful...

i'm still working on my patch...It's not yet finished. i'm able to trigger samples and midi loops, but i've got still some problems.

I will upload it in the add-ons when it will be the case.
Yes, please.
I'm looking forward to it because this might be what I'm looking for.

http://www.sensomusic.com/forums/viewtopic.php?id=842

Statistics: Posted by nofish — 26 May 2008, 14:49


]]>
2008-05-26T13:09:48+02:00 2008-05-26T13:09:48+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4427#p4427 <![CDATA[One note triggering]]>
Happy to know you find my idea quite useful...

i'm still working on my patch...It's not yet finished. i'm able to trigger samples and midi loops, but i've got still some problems.

I will upload it in the add-ons when it will be the case.

Statistics: Posted by ethnix73 — 26 May 2008, 13:09


]]>
2008-05-26T00:35:28+02:00 2008-05-26T00:35:28+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4425#p4425 <![CDATA[One note triggering]]> I'd just like to say that I found your idea for a list of files to trigger quite useful. Sort of like an extension of the play next/previous file in the samplers.

I've been working on a patch which goes a bit further, including some stuff that will be a bit impractical for a drummer with a trigger pad to use - like setting pitch etc for the next file to play. Anyway, it's getting a bit too late to finish it, but I think I've sorted out most of the problems, and I reckon I have something for the add-ons tomorrow night.

Statistics: Posted by bsork — 26 May 2008, 00:35


]]>
2008-05-23T20:01:52+02:00 2008-05-23T20:01:52+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4423#p4423 <![CDATA[One note triggering]]>
i'm just trying your solution

Statistics: Posted by ethnix73 — 23 May 2008, 20:01


]]>
2008-05-23T14:10:47+02:00 2008-05-23T14:10:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4422#p4422 <![CDATA[One note triggering]]>
I also got another idea for you if that might come in handy when you're entering the order of files to be triggered. If you have eg two Samplers and two Piano Rolls, let them have numbers 100, 200, 300, and 400 respectively. Then add the number of the file to that number. I guess the Array Editor would be the best module to use this way. On the output, add an AdivB where B=100 and connect the output of that to A=B modules as outlined in my previous post. Also connect an AmodB where B=100 to the Selector or Array output, and then you'll get the file number to load.

Come to think of it, you would probably need to delay the triggering anyway (with a Wait One Cycle) so that the new file gets loaded first. Hm...

Statistics: Posted by bsork — 23 May 2008, 14:10


]]>
2008-05-23T00:04:14+02:00 2008-05-23T00:04:14+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4421#p4421 <![CDATA[One note triggering]]>
First, if you don't need more than 16 different samples/midi files in your list, you could use a Data/Selector and enter one value for the Sampler and another for the Piano Roll in the val 1-16 inputs. Then put a Data/Counters/Counter Simple.pat patch between your play/trigger button and the Selector.select. If you need more than 16, you'll have to use one of the array modules (or maybe a Step (sequenced)?) together with the Get Array Element Value to get hold of which module to play. Either way, use two A=B modules to check if the current selection is a Sampler or Piano Roll.

From your post I'm not quite sure whether you want to use both sample and MIDI to loop, if they're one-shots, or a mixture. Forgetting the "mixed" part for now, here are a couple of recipies for switching assuming you've done as described above:

For both, you should have a Wait One Cycle connected to your trigger button.

One-shots:
Set sync mode on both to play button, and have two Pass Event Flow modules with the pass input connected to the A=B modules. The Wait One Cycle should be connected to both Pass Event Flow.in inputs, while the Pass Event Flow is connected to the play inputs of the Sampler and the Piano Roll. Also connect the trigger button to the stop input of both Sampler and Piano Roll. This will first stop whatever module is playing before starting the other.

Loops:
This is actually a little bit easier; just take the output of the A=B modules and connect them to the sync input of their respective Sampler or Piano Roll, and connect the Wait One Cycle to stop on both modules as well. This will switch the sync mode between play button and loop, and stop the playing module immediately after starting looping the other.

Hope this helps you a bit further - happy patching!

Statistics: Posted by bsork — 23 May 2008, 00:04


]]>
2008-05-22T19:57:37+02:00 2008-05-22T19:57:37+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4420#p4420 <![CDATA[One note triggering]]>
I would like to be able to trigger different sample ( using the sampler module ) or midi loops each one after each one...

For example:

1st time you press your key=Sample 1 playing
2nd time = Sample 1 stoping and midi loop 1 playing
3rd time= midi loop 1stoping and sample 2 playing
4th time=sample 2 stopping and sample 3 playing
5th time= sample 3 stoping and midi loop 2 playin
Etc.....

While testing, I've been able to do it with two samplers:

1) linking the "is playing" output from the first one to the "stop" input through a toggle module

2) Linking a PLAY BUTTON ( linked of course to the play input ) to the "stop" input through a toggle module on the first sampler only

3) Linking the toggle module wich goes into the "stop input" from the first sampler, to the "play" input of the second sampler through a "0 to 1" module

I've tried to use the "stopplay" output but the sample is triggered only at the sample end, not if i press the main PLAY BUTTON one more time


The main idea, as i'm a drummer, is to trig different samples or midi loops with only one drum pad, in the order i want and the next one stops the previous one ( when i hit my drum pad )...

I need help from Usine Guru's... :-)

Am i searching in the right direction, or should i use a switch concept?

Statistics: Posted by ethnix73 — 22 May 2008, 19:57


]]>
BrainModular BrainModular Users Forum 2008-06-12T13:20:29+02:00 https://brainmodular.org/forums/app.php/feed/topic/844 2008-06-12T13:20:29+02:00 2008-06-12T13:20:29+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4529#p4529 <![CDATA[One note triggering]]> Statistics: Posted by ethnix73 — 12 Jun 2008, 13:20


]]>
2008-06-07T14:43:29+02:00 2008-06-07T14:43:29+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4491#p4491 <![CDATA[One note triggering]]>
I'm working on this patch to work in the usine vst version...I've still got problems with triggering...
If i use direct midi learn on my play button, it does'nt work. Step sequencer goes step after step, but samples are not triggered.
If i use the vst parameter, samples are triggered, but step sequencer seems to go two step further each time...

My host is energy XT1.4

Here is my patch...If someone could help me, it would be great.


http://ethnix73.free.fr/Usine/SubPatch% ... +midi2.pat

Statistics: Posted by ethnix73 — 07 Jun 2008, 14:43


]]>
2008-05-29T21:51:44+02:00 2008-05-29T21:51:44+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4456#p4456 <![CDATA[One note triggering]]>
Ethnix73, if you want I can mail the patch to you.

Statistics: Posted by bsork — 29 May 2008, 21:51


]]>
2008-05-29T08:47:14+02:00 2008-05-29T08:47:14+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4455#p4455 <![CDATA[One note triggering]]>
One tip concerning arrays in general that might help in understanding: When you're using the 16 in- and outputs of eg. the Step module, you're accessing the first elements of an array - similar to using the Set/Get Array Element Value modules, which can handle every element. BTW, if you take a look in the manual (at least in the 3.64a version), the "index" line for both contains the same error. The right values should be min=0 and max=511. I'll notify Olivier.

Statistics: Posted by bsork — 29 May 2008, 08:47


]]>
2008-05-29T01:04:18+02:00 2008-05-29T01:04:18+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4453#p4453 <![CDATA[One note triggering]]> Statistics: Posted by ethnix73 — 29 May 2008, 01:04


]]>
2008-05-29T00:41:53+02:00 2008-05-29T00:41:53+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4452#p4452 <![CDATA[One note triggering]]>
I took a quick look at your patch, and I'm impressed. We certainly have done things differently, both in how we've done the basic patching and how the UI is designed. I really like to see the same basic ideas approached in different ways!

I've met some troubles with my patch. Originally I created a sub-patch with the normal samplers, and copied that to create patches for grain samplers and MIDI. But I've discovered that the start (and stop?) on the grain samplers act differently from the others - the grain samplers start when receiving a 1 and then a 0 while the others just needs a 1. The handling of start, stop and loop mode in the patch had become quite messy anyway, so I guess some rethinking is called for...

Statistics: Posted by bsork — 29 May 2008, 00:41


]]>
2008-05-28T19:37:22+02:00 2008-05-28T19:37:22+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4449#p4449 <![CDATA[One note triggering]]>
And two step sequencer also to select wich sample or midi loop to play.

i still need to work on it to synchronise step position between the main step sequencer for audio/midi switch and others step sequencer...and some improvements also with the interface...

http://ethnix73.free.fr/Usine/Temp%20sw ... r+midi.pat

Statistics: Posted by ethnix73 — 28 May 2008, 19:37


]]>
2008-05-27T19:25:47+02:00 2008-05-27T19:25:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4438#p4438 <![CDATA[One note triggering]]> Statistics: Posted by ethnix73 — 27 May 2008, 19:25


]]>
2008-05-27T09:06:02+02:00 2008-05-27T09:06:02+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4432#p4432 <![CDATA[One note triggering]]>
Could i really choose the order of files to be played with the array?
Yes - that's what I'm working on with the patch that you inspired me to create. The order of the audio/MIDI files doesn't matter, it's handled through the array.

I know it can be hard getting into array handling; it took some time for me also to get into it when I started with Usine. I am a programmer, but programming with modules instead of IFs and LOOPs etc was a bit "alien" at first, especially the order of things (Wait one Cycle...) and arrays.

I said earlier that I would upload an add-on yesterday, but I didn't get it finished. I haven't created the MIDI part and the interface yet. I also think that I should write some more patch info and comments here and there. And I just got an idea for making editing the array a bit easier...

But keep working on your own patches! The one I'm making is a bit complicated, and would probably be overkill in a lot of situations. That said, when I make a patch that I think would be a nice add-on, I often put in some extra "might-be-nice-to-have-but-far-from-essential" stuff, but try to do this in a way that I HOPE will make it easy to remove.

Statistics: Posted by bsork — 27 May 2008, 09:06


]]>
2008-05-27T00:46:01+02:00 2008-05-27T00:46:01+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4431#p4431 <![CDATA[One note triggering]]>
It's ok with your first solution, i've tested it.

but I don't understand how to use the array in the second...I don't understand anything yet with array modules :-(

I might be a solution really interesting...Could i really choose the order of files to be played with the array? Or does have also to sort the list of files, in samplers and piano roll, according to the order i want to be played? Is my question clear?

I've managed also to make a patch with the dispatcher...will work a little more on it.

Statistics: Posted by ethnix73 — 27 May 2008, 00:46


]]>
2008-05-26T14:49:47+02:00 2008-05-26T14:49:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4428#p4428 <![CDATA[One note triggering]]>
hi bsork,

Happy to know you find my idea quite useful...

i'm still working on my patch...It's not yet finished. i'm able to trigger samples and midi loops, but i've got still some problems.

I will upload it in the add-ons when it will be the case.
Yes, please.
I'm looking forward to it because this might be what I'm looking for.

http://www.sensomusic.com/forums/viewtopic.php?id=842

Statistics: Posted by nofish — 26 May 2008, 14:49


]]>
2008-05-26T13:09:48+02:00 2008-05-26T13:09:48+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4427#p4427 <![CDATA[One note triggering]]>
Happy to know you find my idea quite useful...

i'm still working on my patch...It's not yet finished. i'm able to trigger samples and midi loops, but i've got still some problems.

I will upload it in the add-ons when it will be the case.

Statistics: Posted by ethnix73 — 26 May 2008, 13:09


]]>
2008-05-26T00:35:28+02:00 2008-05-26T00:35:28+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4425#p4425 <![CDATA[One note triggering]]> I'd just like to say that I found your idea for a list of files to trigger quite useful. Sort of like an extension of the play next/previous file in the samplers.

I've been working on a patch which goes a bit further, including some stuff that will be a bit impractical for a drummer with a trigger pad to use - like setting pitch etc for the next file to play. Anyway, it's getting a bit too late to finish it, but I think I've sorted out most of the problems, and I reckon I have something for the add-ons tomorrow night.

Statistics: Posted by bsork — 26 May 2008, 00:35


]]>
2008-05-23T20:01:52+02:00 2008-05-23T20:01:52+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4423#p4423 <![CDATA[One note triggering]]>
i'm just trying your solution

Statistics: Posted by ethnix73 — 23 May 2008, 20:01


]]>
2008-05-23T14:10:47+02:00 2008-05-23T14:10:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4422#p4422 <![CDATA[One note triggering]]>
I also got another idea for you if that might come in handy when you're entering the order of files to be triggered. If you have eg two Samplers and two Piano Rolls, let them have numbers 100, 200, 300, and 400 respectively. Then add the number of the file to that number. I guess the Array Editor would be the best module to use this way. On the output, add an AdivB where B=100 and connect the output of that to A=B modules as outlined in my previous post. Also connect an AmodB where B=100 to the Selector or Array output, and then you'll get the file number to load.

Come to think of it, you would probably need to delay the triggering anyway (with a Wait One Cycle) so that the new file gets loaded first. Hm...

Statistics: Posted by bsork — 23 May 2008, 14:10


]]>
2008-05-23T00:04:14+02:00 2008-05-23T00:04:14+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4421#p4421 <![CDATA[One note triggering]]>
First, if you don't need more than 16 different samples/midi files in your list, you could use a Data/Selector and enter one value for the Sampler and another for the Piano Roll in the val 1-16 inputs. Then put a Data/Counters/Counter Simple.pat patch between your play/trigger button and the Selector.select. If you need more than 16, you'll have to use one of the array modules (or maybe a Step (sequenced)?) together with the Get Array Element Value to get hold of which module to play. Either way, use two A=B modules to check if the current selection is a Sampler or Piano Roll.

From your post I'm not quite sure whether you want to use both sample and MIDI to loop, if they're one-shots, or a mixture. Forgetting the "mixed" part for now, here are a couple of recipies for switching assuming you've done as described above:

For both, you should have a Wait One Cycle connected to your trigger button.

One-shots:
Set sync mode on both to play button, and have two Pass Event Flow modules with the pass input connected to the A=B modules. The Wait One Cycle should be connected to both Pass Event Flow.in inputs, while the Pass Event Flow is connected to the play inputs of the Sampler and the Piano Roll. Also connect the trigger button to the stop input of both Sampler and Piano Roll. This will first stop whatever module is playing before starting the other.

Loops:
This is actually a little bit easier; just take the output of the A=B modules and connect them to the sync input of their respective Sampler or Piano Roll, and connect the Wait One Cycle to stop on both modules as well. This will switch the sync mode between play button and loop, and stop the playing module immediately after starting looping the other.

Hope this helps you a bit further - happy patching!

Statistics: Posted by bsork — 23 May 2008, 00:04


]]>
2008-05-22T19:57:37+02:00 2008-05-22T19:57:37+02:00 https://brainmodular.org/forums/viewtopic.php?t=844&p=4420#p4420 <![CDATA[One note triggering]]>
I would like to be able to trigger different sample ( using the sampler module ) or midi loops each one after each one...

For example:

1st time you press your key=Sample 1 playing
2nd time = Sample 1 stoping and midi loop 1 playing
3rd time= midi loop 1stoping and sample 2 playing
4th time=sample 2 stopping and sample 3 playing
5th time= sample 3 stoping and midi loop 2 playin
Etc.....

While testing, I've been able to do it with two samplers:

1) linking the "is playing" output from the first one to the "stop" input through a toggle module

2) Linking a PLAY BUTTON ( linked of course to the play input ) to the "stop" input through a toggle module on the first sampler only

3) Linking the toggle module wich goes into the "stop input" from the first sampler, to the "play" input of the second sampler through a "0 to 1" module

I've tried to use the "stopplay" output but the sample is triggered only at the sample end, not if i press the main PLAY BUTTON one more time


The main idea, as i'm a drummer, is to trig different samples or midi loops with only one drum pad, in the order i want and the next one stops the previous one ( when i hit my drum pad )...

I need help from Usine Guru's... :-)

Am i searching in the right direction, or should i use a switch concept?

Statistics: Posted by ethnix73 — 22 May 2008, 19:57


]]>