extract filepath from sfrecord~
Howdy Maxites--
Well we can send an (open) message to [sfrecord~], and then a dialogue comes up to create a soundfile to record into, but is there a way to get the filepath and filename from sfrecord~? If not, perhaps this should be a feature...
waddayareckon?
T
there are a bunch of ways to do this, and this may not be the most efficient, but simple enough. It all depends on how you want to interact with the saving mechanism. Essentially, what you want to do is get that path while you save. savedialog will do:
-Ben
Thanks Ben--
I would have done it this way, but I think I was misdirected by the documentation for sfrecord. it reads:
"if open is followed by another symbol, it creates a file in the current default volume"
which didn't indicate to me that one can specify a particular file path. some objects do have this feature specifically documented, while other(s) evidently don't, which threw me.
It would be good if, for objects that can take file path messages, that that is specifically stated in the documentation for the sake of consistency. Writing documentation is a thankless task; please don't think I'm having a go at anyone, as it's generally very clear, comprehensive and concise.
thanks again,
T