this is a looper I made by gating feedback through a del(read/write) pair. I originally set out to write the sounds to arrays, so one could [soundfile] save and reload, but I'm having some difficulty working out how to get around resizing the array only after the sound is complete, and then passing the sound to the array, then syncing tabwrite to the delread. Has anybody got suggestion, work around, personal best bowling score, etc?
-
Looper
any technology distinguishable from magic
is insufficiently advanced. -
here's some messy code, that's more along the lines of what I'm trying to do.
any technology distinguishable from magic
is insufficiently advanced. -
[tabosc~] is a way of scanning a variable sized table in a fixed time - is that any use, or am I misunderstanding?
Use the Source.
-
as I understand tabosc4~, it won't help me here. I need to write time(0) - time(n) to an array, and at time(0) the value for n is unknown.
any technology distinguishable from magic
is insufficiently advanced. -
I don't know if i understand this correctly. You're trying to create exact saveable loops (external or generated audio) for which you don't know the length in advance? If so, this is what i would do :
- setup a delay-line with a fixed maximum (e.g. 60000)
- have 1 toggle to start/stop recording
- when the toggle flips on do this : route the external audio to the [delwrite~] and start a [timer] object
- when the toggle flips of do this : stop routing the external audio. Stop the timer so you know the elapsed timespan. Set the time of a [vd~] object to that time and route it's output to the [delwrite~] to setup the loop.
You now have your loop in the delayline + you know the exact time. So with this you can :
- resize the array
- with a bang/del (del to send a [stop( message) write the audio to the array
Now you have your loop in a table ready for saving to a file.
Hope this helps.
|] [] |.| ][|-| -- http://soundcloud.com/domxh
-
grazi domien, this may do the trick
any technology distinguishable from magic
is insufficiently advanced. -
....You have it in a table one repetition of the loop later. What if it's a really long loop and you don't want to wait?
-
Domien, I have a couple of important related questions:
- [timer]'s precision: is it rounded to the nearest block length?
- For writing to an array later, do you do this with a tabwrite~ , and if so, is it a problem that tabwrite~ only starts on block boundaries?
Thanks.