So i'm working on a patch, and its my first time really diving into the msp spectrum of things.. My goal is to be able to record waveforms that have been manipulated in msp (say fm a saw with a tri), and then play them back live in cycle~ as if it was an oscillator (capturing one phase of the waveform I created, and playing that back in a loop, what its for lol)
I've noticed in the tutorials that cycle~ will automatically loop at the 513 sample making it one.. So my first though was to record a wave played at 512 hertz, and hoping it would automatically correlate. Obviously it hasn't and I have done much research in sample rate ect to figure out the best method, but can't seem to make good sense of it all.
So my questions are, is there an appropriate hertz (key) one can play a waveform, and have the phase be exactly 512 samples (assuming a 44100 sample rate), if not whats the best was to make my phase 512 samples, or to determine how many samples are in a phase and thus changing the 'loop sample number' (513 to the appropriate).
Sorry that this could be elementary, been doing a fair share a research and couldn't really pinpoint any solution..