how to deactivate the reading?
not sure to understand , but :
add a wavedisplay on your sampler
link the outlet start pos of this wavdisplay to a "has changed " module
link this has changed module to the inlet of a button , and the button to the play of your sampler , ( sync mode set to "play button" of course )
is this what you mean...?
add a wavedisplay on your sampler
link the outlet start pos of this wavdisplay to a "has changed " module
link this has changed module to the inlet of a button , and the button to the play of your sampler , ( sync mode set to "play button" of course )
is this what you mean...?
this is cool ,i'm gonna use it,but i want to read the sample only when i pass on it...it's not about deactivate reading,but read just when you modify the position...more clear?
so maybe you mean this :
you don't hear the change if you have this cursor ( when your mouse is on the waveform) :

but if you put your mouse outside the waveform , you'll have this cursor , and then you hear the position changes in realtime...

?
you don't hear the change if you have this cursor ( when your mouse is on the waveform) :

but if you put your mouse outside the waveform , you'll have this cursor , and then you hear the position changes in realtime...

?
-
Clearscreen
- Member
- Posts: 482
- Location: Australia
- Contact:
do you effectively want to be able to 'scratch' the file? so when you're not moving the cursor, no sound is made? and when you move the cursor sound is played at the rate at which you move the cursor?
if so, here's an example of a patch that does that:

note that i'm using a grain sampler and i've got the play speed set to zero. effectively this mean that it keeps looping the same grain continusouly, but you mute that with the pass event switches on the audio output. the smoother on the position helps the sound stay, well, smoother - play with it and you'll see what i mean. you could probably use an envelope follower somewhere in there to stop the pass event flow being so clicky maybe?
ps - sorry about the big image, haven't linked images until recently so still learning how to do it...
[edit] whoops - i've got the grain sampler in play button mode here, it might be better off in loop mode.
if so, here's an example of a patch that does that:

note that i'm using a grain sampler and i've got the play speed set to zero. effectively this mean that it keeps looping the same grain continusouly, but you mute that with the pass event switches on the audio output. the smoother on the position helps the sound stay, well, smoother - play with it and you'll see what i mean. you could probably use an envelope follower somewhere in there to stop the pass event flow being so clicky maybe?
ps - sorry about the big image, haven't linked images until recently so still learning how to do it...
[edit] whoops - i've got the grain sampler in play button mode here, it might be better off in loop mode.
remember wanting the same, kind of scrub fuction independant from play/stp/
just contol the pos and hear audio?
off but not topic:
just thought bmoussay roll array script might emulate a scratcher/scubber? tried to put the wavform in an array and then get element value relating to percent position sampler (x5,12 trunk to get 512 at the end of the loop but audio out has a caracter of the drumloop in but very strange, flangy minimalistic synth style.. ).
is it possible to manipulate audio via arrays? or is is 512 array lengh is too short?
self answer mm yes 512 samples seems a short time arf.
just contol the pos and hear audio?
off but not topic:
just thought bmoussay roll array script might emulate a scratcher/scubber? tried to put the wavform in an array and then get element value relating to percent position sampler (x5,12 trunk to get 512 at the end of the loop but audio out has a caracter of the drumloop in but very strange, flangy minimalistic synth style.. ).
is it possible to manipulate audio via arrays? or is is 512 array lengh is too short?
self answer mm yes 512 samples seems a short time arf.
-
Clearscreen
- Member
- Posts: 482
- Location: Australia
- Contact:
Double whoops, forgot about the pause button - here's another way...

more or less doing the same thing though...
also, i need to point out that in the top 'A=B' module B=1, and in the other 'A=B' module B=0
all these do is trigger the play and pause conditions of the grain sampler.
[edit] just found that if you use loop mode and delete the top 'A=B' module it's better...

more or less doing the same thing though...
also, i need to point out that in the top 'A=B' module B=1, and in the other 'A=B' module B=0
all these do is trigger the play and pause conditions of the grain sampler.
[edit] just found that if you use loop mode and delete the top 'A=B' module it's better...
thanks a lot guys! it was simple,i was missing the smooth module ,it 's very efficient,could you tell me what it does? how and when we can use it? thanks again...(P.S. to 23fx23: i never use array,but i've seen there is a new topic about it,i'm gonna read it now)
the smooth act as an average relating to time. it can be used to smooth hehe a weird suddently changing data.héliouk 6 wrote:i was missing the smooth module ,it 's very efficient,could you tell me what it does? it? )
you could be facing often a pb like above, when impulses are very short, going from 0 to 1 in a very short time, this can make
the transition instead of being 0 then suddently 1, it will make 0/ 0,1/ 0,3/ 0,6/ 0,9 (example) and the time defines the smoothing time. (note that extreme values will be lowered, and a relating to time factor slight latency will be added)
I think it work on taking a defined portion of time, and calculate the median of all received values.
so let's say a visual example is if you have short spikes from 0 to 1, the more you smooth the more spike will morph to rounded hills, if you smooth too much you ll get a flat line of 0,5 value.
smooth can be useful for example when dealing with wiimote, your hands could shake a litlle, adding a smooth can make shake less perceived, the noisy curve will be rounded. but there a lot's of other applications, generally to "smooth" a transition;)
but be aware the more you smooth, the less "responsive" it will be.
-
Clearscreen
- Member
- Posts: 482
- Location: Australia
- Contact:
i tried the hysteresis module which should reject close on/off's, but i couldn't get it to work as expected. so the smoother seems to be the one to use for now. i'll have another go later on and see if i can get it to work right, as ultimately i think it'd give a better result again.
Who is online
Users browsing this forum: No registered users and 20 guests
