I’m using textedit to display the file name currently held in the buffer~. However, I can’t get the name to show up without " " on either side of it. It works fine typing the file’s name into a message box, prepending ‘set’ and sending to textedit. Why does sfinfo~ and info~ put the file name in quotation marks, and how do you remove them?
----------begin_max5_patcher---------- 460.3oc0U1rbBBCDG+L7TjImsNDDPn2ZeM53zIJQaZgDJIL0VG6ydIK3mUrH 0wQOHqrYI4+9K6lrv1BOVNmovn6QOgrrVXaYAtLNrpe2BmRmOIgpfvvoLkhN ig6UMllMWC9ERz6ERMUykh9oz72TqBIipm7BWL64b1Dc0RE45z2oGZv.Oig3 L.LA8cPip+HQQJWjvzvh5V6jGCKkb7q2QbGrZ9mJEZAMkAi8PNmlfdTlDi2L SxB8pohT6sxk9yLVkhv30KsY9T7ufAHk5z3coss4QuVBIA6iRQ9KFkkyE5ih EBfERkohJgMQExAnBIpSTw47k5MUeHyXhij5g9P15FLDRcuSuffDd6UPnlxE Ske2BtDFXLkO8O4RB+Nwkfl3BTBu1LMQR28OvuyI61qh5PPhDr0wIQC6Pwi2 s3oIrxdpXjhoaAah7Mlp1qSq.xY3ULaLzfEyaAA7pNb00wsCHHnSHvqQDroA p0sKPL3DtX+6qgT13eWLojE4SVsfquxDsIqiYJMW.WXucTls6sh5EdbLSr8k Do73LYo5qkAZzA21ZspLsdWgpp7TSj+eoJP6jqNUEcgYUXa1AAseAU0dULMU WE7OTU4KKs+AcaelXB -----------end_max5_patcher-----------
Nevermind, sorry for the premature post.
When file name is output from [sfinfo~] or from [info~], it is output as a symbol. Sending a message with something like this: file name.wav – this is actually read by [textedit] as a list consisting of (in this case) two elements. All that is needed to be rid of the quotation marks is to convert the symbol back into a list. Hence, [fromsymbol] does the trick.
C74 RSS Feed | © Copyright Cycling '74