Hi there
I am relatively new to csound and cabbage, but have been throwing myself to the wolves with it. Im taking the class for it at Berklee, and for part of my final, I set out to make a sampler that allows me to “re-time” a sample by giving it an original BPM and length in beats, and then using the host bpm and a new length in beats. The idea is to be able to set them all to wacky uneven lengths and create long looping polymetric textures.
in the current state, I have used sndwarp to allow for realtime change of the speed using a phasor as the time pointer, and then passing that on to a pvsanal-pvsynth combo for realtime pitch control, since it seems you can’t really do that with JUST sndwarp
the hurdle I’m running into is that I really would like to have drag and drop functionality, and I took the bit from the Rory Walsh live style sample for the mouse bounds condition, and in that same if statement I am sending it to file analysis with goto. The problem is that for whatever reason, no matter where I put the file string, it will not get past the init pass because the labeled section doesn’t have the file to analyze; I get the can’t open from file error
also just generally on top of this, I feel like I have a bad case of not knowing what I don’t know, and I imagine my overall solution to this project is not very elegant, especially with handling doing the function table for the sndwarp AND the soundfiler for just the display. I know its a lot of code to sift through, but I could REALLY use some guidance on this, as I’m kinda in too deep to switch to a totally new idea this late in the semester…
this csd is just the code for a single sampler, and I tried my hardest to document thoroughly. If anyone could help me out with this I would be forever grateful. I really really want this idea to work!
Polymetric Sampler V2.csd (5.8 KB)