Thanks,
I had tried [35( with [makefilename %c] before. Needed a [symbol] before sending, though. When I print (in parallel) to the console I get C#, when I send to the canvas I get C$ on the canvas.
It has been annoying me for years.
I don't know if it is a bug in canvas or something that's done on purpose. And if it is on purpose how I could make it work?
I tried C # or C# but still get C$. I can't be the only one having this issue. How does anyone else do this?
Ingo
-----Original Message----- From: Pd-list [mailto:pd-list-bounces@lists.iem.at] On Behalf Of Jack Sent: Sunday, January 17, 2021 12:08 PM To: pd-list@lists.iem.at Subject: Re: [PD] unicode symbols and Pd
Hi,
I would use :
[35( | [makefilename %c] | [C$1( | [;mycanvas label $1(
Don't know if there is a method to do it directly in the setup box. ++
Jack
Le 17/01/2021 09:37, Ingo a crit :
Not really a unicode thing but if I send [C#( to a canvas I get [C$(. How can I get the # to be displayed in the canvas?
Unicode symbols would be great to have, though. This would definitely simplify naming pitches / notes.
Ingo
From: Pd-list [mailto:pd-list-bounces@lists.iem.at] On Behalf Of Alexandre Torres Porres Sent: Sunday, January 17, 2021 3:19 AM To: Pd-List Subject: [PD] unicode symbols and Pd
Hi, I'm working on an abstraction that converts MIDI pitches to note name symbols, such as "C?"
At first I was using lame symbols like "#" and "b" for sharp/flat, but I then tried the unicode symbols and it works nice on my patch. The thing is I wanna share this abstraction as part of my library and I'm not sure it'll work everywhere. For reference, here's the sharp unicode character compart.com/en/unicode/U+266F - in [list fromsymbol], this character gives me "226 153 175".
In fact I'm even able to use double sharps (??) and double flast (??). I guess I can use "lame" symbols for these also, like "x" and "bb", but it's nice if we have support for these symbols.
Now, at this page => https://www.alt-codes.net/music_note_alt_codes.php I see just a few of the music symbols (far from all). The rest are just empty squares... and I wonder then if some of you are seeing those squares here instead of
the sharp/flat symbols.
So, I'm on macOS mojave, I never installed fonts here...
Anyway, so, I wonder what's the deal with unicode characters in general, how do they show up or not, and if and how we can know if Pd will
display them.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list