Hey James, Well here is another place where recording a pattern is cutting off the first note of the sequence. I'm recording to a sound file rather than a buffer. I've tried a bunch of things but can't get record to start after the pattern starts. Any ideas? ( f = Routine { var tempos, soundFileDuration=600, subdiv = 3/2, subdivstr; tempos = [40]; subdivstr = subdiv.asFraction[0].asString ++ "in" ++ subdiv.asFraction[1].asString ++ "_"; 0.1.wait; tempos.do { |tempo, i| r = Record(s).start("sounds/metronome/" ++ tempo.asString ++ "bpm_" ++ subdivstr ++ ".aiff"); 0.1.wait; p = Ppar([ Pmono(\click5, \trig1, 1, \rel, 0.2, \freq, 200, \outbus, 0, \dur, 1, \tempo, tempo / 60), Pmono(\click5, \trig1, 1, \rel, 0.2, \freq, 1200, \outbus, 1, \dur, 1/subdiv, \tempo, tempo / 60) ]).play; (soundFileDuration + 0.2).wait; p.stop; 0.1.wait; r.stop; 1.wait; }; }.play; ) Thanks Bruce On Dec 1, 2008, at 10:21 PM, James Harkins wrote:
Best Regards, Bruce Arnold 201 East 12th Street #102 New York, New York 10003 212-473-1264 phone 212-473-4601 fax |