I'm wondering if someone could point me in the right direction. I need a sampler I've built to be able to automaticaly set the length of the sample in bars. I'm not sure what the best way to go about it is. I've been thinking about 2 possibilities.
1. Is there an object that will search a message for a number, and if it is there then it will send a bang out of a specified outlet. Basically I'm thinking if I put the length at the end of the samples name. For example the file is named "IntroGuitar4.wav", so the object sees a 4 in the message and sends a bang, which sets the length.
2. Can this be acheived with a mathematical equation, by looking at the number of samples etc?
Thanks in advance for any help.