Hi,
i have converted the mono sequencer to a smaller version with a couple of containers and a couple of additional functions (legato, target and clock settable, one cc# lane and division per sequencer).
Now there is the Problem that whenever i load the Sequencer the Divisions of all subsequencers are set to 1 instead to 1/16th where i saved the template. Also it seems to forget the Pitches i have set.
I just found that event though this was more or less a copy and paste job the Pitch and Octave Sliders seem to be 1 step ahead. When i set them to 1 Division and set 1 slider very low the pitching down starts 1 step earlier than thought.
Edit: the standard mono Sequencer shows the same issue: Set the PitchSliders Division to 1 and set 1 slider very low and see what happens. It plays the low note 1 step too early.
I have attached the template if anyone can have a look.
Compact Sequencer, Divisions always set to 1 on load
-
- Regular
- Posts: 294
- Joined: 24 Jan 2012 18:22
Compact Sequencer, Divisions always set to 1 on load
- Attachments
-
- compactSequencer.jzml
- (100.83 KiB) Downloaded 52 times
Re: Compact Sequencer, Divisions always set to 1 on load
For the "always starting with division 1" part....
Take a look at the object "StepNoteDivision" scripts....In there is the script "action() which sets the division according to the firstof(x) combined with a custom expression named "divisions". It's obvious that upon loading, the custom variable "divisions" is not yet loaded so the firstof(x) returns 0 so it causes the whole thing to always load in division 1 (or anything that would be the "first" option anyways).
If I were you, and I wanted to always have it load with division 1/16 I'd just insert a init() script where, on load, I would specifically set the divisions to 1/16.
For that other part, Im not with my iPad and I cant test right now.
Take a look at the object "StepNoteDivision" scripts....In there is the script "action() which sets the division according to the firstof(x) combined with a custom expression named "divisions". It's obvious that upon loading, the custom variable "divisions" is not yet loaded so the firstof(x) returns 0 so it causes the whole thing to always load in division 1 (or anything that would be the "first" option anyways).
If I were you, and I wanted to always have it load with division 1/16 I'd just insert a init() script where, on load, I would specifically set the divisions to 1/16.
For that other part, Im not with my iPad and I cant test right now.
Re: Compact Sequencer, Divisions always set to 1 on load
Ok, just tried and my above suggestion didnt work either....In these cases, making the custom expression a local variable (local to the script) helps....So here it is
(notice that in the object I mentioned above, the "divisions" expression is deleted, and instead they are declared locally in the script "action")
(notice that in the object I mentioned above, the "divisions" expression is deleted, and instead they are declared locally in the script "action")
- Attachments
-
- compactSequencer-divFixed.jzml
- (100.54 KiB) Downloaded 55 times
-
- Regular
- Posts: 294
- Joined: 24 Jan 2012 18:22
Re: Compact Sequencer, Divisions always set to 1 on load
That did the trick, thank you very much again.