Forums > MaxMSP

variable file's name

August 14, 2011 | 9:55 pm

Hello. I’m quite new to max. I’d like to store midi sequences, that I can retrieve according to some parameter. My idea is to have a variable file’s name, so I can retrieve "seq1.mid", then "seq2.mid", according to the parameter.
How can I get to this? It doesn’t seem to understand a variable string-like file’s name!
Thank you!

August 14, 2011 | 11:47 pm

Something like this perhaps [sprintf read seq%ld.mid]?

August 15, 2011 | 1:21 pm

Yes! It works the way I wanted!
Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)