Welcome to %s forums

BrainModular Users Forum

Login Register

How to get comma text from sample audio filenames (instead of the full path)?

I need help on a Patch
Post Reply
creal
Member
Posts: 96
Contact:

How to get comma text from sample audio filenames (instead of the full path)?

Unread post by creal » 20 May 2022, 11:38

Hello,

I noticed that the outlet "list comma text" gives a comma text of the full path of audio files. I can't use them for displaying a drop-down menu because it's too long (and useless). So I wonder how to only get the filenames instead?

If it's possible, I also wonder how to get rid of the last four characters (the extension)?

What it gives: D:\MAO\Nobody\Audio\Chap1\clap.wav,D:\MAO\Nobody\Audio\Chap1\kick.wav
What I want: clap.wav,kick.wav
What I dream about: clap,kick

Thanks for your help,

creal.

creal
Member
Posts: 96
Contact:

Unread post by creal » 20 May 2022, 12:16

I found out on my own: "Extract filename" and "File delete extension" modules do exactly what I wish!

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 20 May 2022, 13:45

yes exactly!

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests