Hello,
I am making this patch that plays loops... i can get the loops to load and play once fine but i cant get them to loop or repeat...
can anyone help me
attached is the loop player i modified from drumpad....
Looping a Sample
Hello,
I am making this patch that plays loops... i can get the loops to load and play once fine but i cant get them to loop or repeat...
can anyone help me
attached is the loop player i modified from drumpad....
I believe the right output from the [tabplay~] object outputs a bang when the sample is completely played. You can use this together with a [spigot] to retrigger itself (as long as the [spigot] is active.
Hope this helps,
Domien
|] [] |.| ][|-| -- http://soundcloud.com/domxh
Thanks for your comment...
i couldn't get it to work with the spigot but i did get it to repeat using a bang and a metro function....
i put in a stop function in but it seems to only kick in when the loop is finished playing...
you see i was hoping to use the wii controller to flick through an array of samples using the arrow keys to browse through them then hold down the a or b button to apply an effect...
any help would be greatly appreciated i will share it online as soon as its done..
If you can get a wiimote to generate signal data, or fudge in with [sig~] You might try using [tabplay4~] This object is much better for 'scratching' stuff, if this is what you are trying to accomplish.
Can you not use a [phasor~] object with [tabread~] or [tabread4~], or is that too expensive for your application?
the tutorials in audio examples section have alot of info about different methods of triggering...
Thanks for all your comments
My next question is how do I browse through a series of bangs
example
[0]
|
[read sound.wav table 23]
|
soundfiler
imagine 10 of these the [0] represents a bang but when i hit the left or right key on the wii controller i want it to play the next
[0]
|
[read sound2.wav table 23]
|
soundfiler
has anyone any idea how one might accomplish this?
Better is to have 10 tables and load all the samples at the start. Then use a single [tabread~] with [set( messages to select which table to read from. If you read each sample from disk as you play it there may be glitches.
Use the Source.
Thanks I will give that a go...
you could also load one big soundfile into a single array and, depending on your button pushes, start and end the playback at different points.
oK here is what i have put together i think its getting there just a few small problems to iron out... can anyone help me with this patch
TO loop them, route the right outlet through a spigot and back to the left inlet. the right inlet bangs when the sample is through. As far as only one playing, that would take some trickery. tabplay~ only stops when told to, so you would have to send it a message when another one is banged. I'm not used to this way of thinking anymore. honestly, I gave up on tabplay~ a while ago and now pretty much only use tabplay4~ for looping.
Here's it replaced with [tabread4~] but to do loops this way you need to get the length of the table and use that in the multiplier for the phasor. It's monophonic by design because [tabread4~] can only be reading one table at once.
Use the Source.
This works great...
Thanks obiwannabe.. good stuff
This is great the loops load fine when you hit the symbol box.
However i need this patch to take in messages from another patch that is connected to a Nintendo Wii.
So when the user hits the left and right button they will be able to jump from loop to loop.
i haven't a clue how to accomplish this..
I have tried using radio buttons and a host of others methods i feel like my attempt below is really close but their seems to be no help file on the hradio button..
Any suggestions on how i could fix this patch below?
In the attached zip file you find a fake wii remote patch - it actually uses the keyboard left and right arrow buttons - plus your loop patch with the necessary stuff to move the hradio according. Both patches communicate via the and [r] objects.
Hope this helps.
Domien
|] [] |.| ][|-| -- http://soundcloud.com/domxh
Thanks very much this was a big help.....it is browsing through the horizontal radio panel perfectly.. my next step is to figure out how to get the radio panel to control the symbols.... but i should be able to figure it out.... i feel i'm getting closer
thanks again
Oops! Looks like something went wrong!