Is there a way to know the full path of an audio file loaded into a buffer~?

Endorak's icon

Hello,

I'm having a simple problem I think, but I don't know how to solve it.
I'm loading audiofiles into buffers~ with "replace" message.
Is there a way to know the full path of an audio file loaded into a buffer~?
Or to know it in the same moment as you load it into the buffer~?

I know that with dropfile would be possible to have the full path of the dropped file, but I can't use [dropfile] because I want to load the file into the buffer~ with a button, so with a "replace" message.

Please help me because I'm going mad...

Thank you in advance!

Source Audio's icon

befor going mad, write full path of the file into message,
and then use button.
Don't know full path ?
use dropfie to get it.
need path to bunch of files ?
load tham into umenu with autopopulate
...



Endorak's icon

Thank you,

I didn't want to use dropfile, as I mentioned and I don't know the filename or the path.
But I solved with this patch found in the thread below, If could be useful for someone:
https://cycling74.com/forums/displaying-filename-of-replaced-buffer-file

Thank you again!

Roman Thilenius's icon

it is probably easier than you think.

let me try it like this: how did you load the file into the buffer without knowing the name?