Random sound file players

Eardrum Nibbler's icon

Hello,

I am a big Brian Eno fan.

I therefore enjoy experimenting with probability and random sequencers.

I mostly work in Ableton and try to create structured chaos there.

I saw an interview with Brian Eno on YouTube where he used an app to play 3 or 4 randomly selected files together from a folder of sound files.

These sound files were organized by the scale in which they were created, so that they matched musically when played together.

So, I would like to create something myself using Max MSP where I could execute the same principle as described above.

What are the functions of the Patch I want to create:

- 3 or 4 sound file players

- These players share a common start and stop knob

- Each player is assigned to a file folder from which it randomly selects a sound file and starts playing it. - When a file finishes, the player randomly selects another sound file from the assigned folder and plays it.

- I would also like to see the name of the sound file that each player is currently playing, as well as the "filepath" where this file can be found.

- If a really nice combination of files were to arise while playing the random files, I would like a function where, with the press of a single button, the filename and "filepath" of the sound files currently playing are saved so that I can play them together again later or import them into a DAW to create a song.

I am fairly new to programming patches myself.

I have already discovered the "Sf Play" module, which I believe could be the appropriate sound file player.

But that is where my knowledge ends.

The following problems/questions come to mind:

- How do I assign a folder containing sound files to the "sf play" module?

- How do I make it select a random file from the assigned folder and play it? -At the end of the file, how do I ensure that "Sf Play" immediately starts playing another random file from the folder?

-How can I ensure that I can always see the filepath of the file being played, as well as the file name?

-How can I save the current files with a single button press to play them again later? (Perhaps a list of these could be created?)

As you can see, a lot of questions/problems…

Who can or wants to help me further with this?

Once I am finished with the patch, I will gladly share it with the community!

Let me know!

Kind regards,

Jeroen