Not a problem.N871 wrote:they all need to have the same length up to the sample to work well in my max msp program
If you get the audio as close as possible to the required length with perfect complete samples (as described in my previous post) then you can stretch the entire track a little to fit the required length using this code:
Code: Select all
(setq new-length 100000) ; required length is samples
(force-srate (* (/ new-length len) *sound-srate*) s)