variable file's name

Aug 14, 2011 at 9:55pm

variable file's name

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!

#58476
Aug 14, 2011 at 11:47pm

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

#210134
Aug 15, 2011 at 1:21pm

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

#210135

You must be logged in to reply to this topic.