Dear PD-Community,
I´m looking for a way to play about 5 or 10 different audio-files one after the other. The file should be in a an audio-file-stack where a pointer stores the position in the stack, when the audio-playback got stoped. - Activating the stack-playback again, the next audio-file should be played. Does anybody know, how to solve such a problem ?
fränk
Hallo, Fränk Zimmer hat gesagt: // Fränk Zimmer wrote:
I?m looking for a way to play about 5 or 10 different audio-files one after the other. The file should be in a an audio-file-stack where a pointer stores the position in the stack, when the audio-playback got stoped. - Activating the stack-playback again, the next audio-file should be played. Does anybody know, how to solve such a problem ?
You could store the file- or array-names in a textfile object. A [textfile] is like a fifo-stack. You cannot access every line randomly with an index, but for playing the files one after the other, a textfile is fine. (If you need indexed, random access look at pool or coll, but those are externals.)
You can connect the right outlet of readsf~ to a [next( message for the textfile.
Frank Barknecht _ ______footils.org__