noteout length

Discuss problems and solutions.
AkaMed
Newbie
Posts: 37
Joined: 31 Mar 2014 00:26

noteout length

Post by AkaMed »

Hi,

I am building a sequencer based on a stepslider, but I don´t find the way to setup the lenght of the steps. I´m using "noteout" on it, but don´t know how to manage with the length...
Any ideas?

Thanks!
oldgearguy
Regular
Posts: 315
Joined: 02 Nov 2013 11:19

Re: noteout length

Post by oldgearguy »

Take a look at this thread for some info/ideas: https://forum.liine.net/viewtopic.php?f=26&t=4115
AkaMed
Newbie
Posts: 37
Joined: 31 Mar 2014 00:26

Re: noteout length

Post by AkaMed »

Thanks Oldgearguy, I´ll have a look...
AkaMed
Newbie
Posts: 37
Joined: 31 Mar 2014 00:26

Re: noteout length

Post by AkaMed »

I am sorry but I don´t find anything related to note length :(
Anyway, it´s an interesting sequencer :)
electrofux
Regular
Posts: 294
Joined: 24 Jan 2012 18:22

Re: noteout length

Post by electrofux »

You are using noteout in an Onclock script?

Then you have the same problem as i have. The notelength can only be set by sending out a noteoff at a certain clock count. There is no length parameter as there is in the sequencer objects. It made its way on the feature wishlist already.
AkaMed
Newbie
Posts: 37
Joined: 31 Mar 2014 00:26

Re: noteout length

Post by AkaMed »

Hi electroflux,
I´m using noteout on a "On expression > step" script.
I guessed I would need to send a noteoff (noteout with zero vel) delayed after each estep, but I don´t find how...
electrofux
Regular
Posts: 294
Joined: 24 Jan 2012 18:22

Re: noteout length

Post by electrofux »

You should use noteout in an on clock script instead because otherwise your timing will not profit from the 5.0 advantages.
With the noteoff, you have to count clock pulses as a measure of notelength and remember what noteon is currently send out.
electrofux
Regular
Posts: 294
Joined: 24 Jan 2012 18:22

Re: noteout length

Post by electrofux »

The easiest way would be:

on clock (lets say 16th division):

noteout (target,last_pitch,0,channel);
noteout (target,pitch,velocity,channel);
last_pitch=pitch;

Now this does the noteoff of the last tirggered note right before the new note on. You need a global variable last_pitch for that.
AkaMed
Newbie
Posts: 37
Joined: 31 Mar 2014 00:26

Re: noteout length

Post by AkaMed »

mmmm....
thanks Eletrofux.
I don´t understand it at all, because I think you are turning off the last pressed note just before the new one is going to be turned on. I am using a similar way to set the noteoffs...
And what I am looking for is the possibility of selecting the length that I want for each note, to have one note long, another short, etc. each note as I want, like the "StepNote module".
...o maybe I don´t understand what you say.... :(
Thanks again!
I am waiting and excited to try your arpeggiator :)
electrofux
Regular
Posts: 294
Joined: 24 Jan 2012 18:22

Re: noteout length

Post by electrofux »

No, you understand right. That is just the most simple way to do it. If you want to kindof of select the length then before sending the noteoff, you need to count up Clock pulses (and set the Clock to a higher rate like 64th). There is no way to do it like on the steplslider.

As i said it is a known problem and i have been told it has been put on the feature wishlist.

The Arpeggiator has been a bit put on hold until i finnished my current project because the thing i wanted to fix was more work than i thought.
Post Reply