Hi everyone,
I have a looper prototype I would like to write the table at a specific time. How can I do that?
Thx
looper-test.pd
Start tabwrite at a specific time
Hi everyone,
I have a looper prototype I would like to write the table at a specific time. How can I do that?
Thx
looper-test.pd
@Butahuruf The zexy library has a [time] object that gets the system time and will give you that facility.
Other libraries might also have something similar?
I suppose you would need to run a [metro] and test for the time you want.
Otherwise you could get some other program or script to send a message to Pd at the required time.
David.
On help section I found < start 500> It should start at 500 msec. I tried this but it doesn't work
500 refers to index 500 not 500ms. in the example the array size is 1000, so start half way, generally audio makes very large arrays, therefore a very large number is required
@Butahuruf [del 500] ?
@Jona I tried this too but it wasn't
@Butahuruf Soory I misunderstood "specific time".
Here is your delay...... loop1.pd
David.
@whale-av Thank you David Probably I wasn't clear enough with my explanation.
What I mean with "Start tab write at a specific time" to record/write a table start from (i.e) 500 msec.
So I set the time and when I start the record it will 'jump' to 500sec and start recording
@Butahuruf This will start at the delayed time and at the delayed index, and only play the part recorded.
Using [pipe]
If you want to then play the whole table, or from the beginning up to where the recording ends then more math will be required........ jump1.pd
P.S. it needs [loadbang] connected to the inlet of the delay fader for it to work when first opened.
David.
But I am still not understanding.
You simply want the recording to start at 500ms into the table when you press start........ so
sinply send into [tabwrite~] the message [start x ( where x is 500 multiplied by your samplerate.
@whale-av Thanks David, [start 500*44.1 ] might be the answer I'll give a try! thanks again
@whale-av Yes it starts recording at that point but I hear no sound. Can you have a look?
I made [start 44100]... 1 sec
looper-test-2.pd
p.s my bad, I typed 41400 instead of 44100
@Butahuruf Your [timer] is setting the desired length, but not starting at the desired time.
jump3.pd should work (I hope)
I am being particularly thick these last few days.
David.
@whale-av Hi David, it doesn't work
Oops! Looks like something went wrong!