Get filename of sample from buffer~
Hello, although this is my first post here, it's definitely not my first time visiting this forum. This site has been immensely helpful during my college years, and now it's finally my turn to create a topic that will, hopefully, help others in the future.
My problem is the following:
I have buffer~
I put sample in buffer~ (using "replace")
I want to get the name of the sample I put in buffer~ (KickExample.wav)
The end result is a sequencer that updates the name of the track based on which file I put in (see Presentation Mode).
Am I tackling this with the wrong point of view? What am I missing?
Thank you in advance and forgive me if a similar topic with an suiting answer to my problem has already been created!
info~

Of course, I knew that there had to be a simple object that would solve my problem.
Thank you very much double_UG and Roman Thilenius (btw, this is a patch to organize all my samples in my computer outside of my audiofiles folder, so no, I do not (yet) have all of my files in the correct folder)
Romans solution would be what I woud use, in case file name is all you need.
which works if buffer really loaded the file
and will be true in most cases, but to be 100% sure
use done bang from buffer to pick file name from strippath.
here you see error because that wave file is corrupt and buffer could not load it

here all ok

or first collect all paths somewhere (umenu?), then load all files this way.