Re: [PD] hexadecimal conversion problem

2021-01-19 Thread Roman Haefeli
On Wed, 2021-01-20 at 01:19 +0100, oliver wrote: > > > is there anything i can do to make PD take 27E5 as a literal symbol > rather than a float ? * Typing it into a symbol atom * Forcing it to be a symbol by adding an alphabetic character (Prepending a '0x' is quite common) * Receiving the

Re: [PD] hexadecimal conversion problem

2021-01-19 Thread Alexandre Torres Porres
Em ter., 19 de jan. de 2021 às 23:58, Alexandre Torres Porres < por...@gmail.com> escreveu: > sorry, now that I read your email, I see you know about the solution I > provide, and yeah, I now see the same issue. > > But in my abstraction, if I convert "0x27E5" instead of "27E5", it works! > I'll

Re: [PD] hexadecimal conversion problem

2021-01-19 Thread Alexandre Torres Porres
sorry, now that I read your email, I see you know about the solution I provide, and yeah, I now see the same issue. But in my abstraction, if I convert "0x27E5" instead of "27E5", it works! I'll have to see why this is happening... Em ter., 19 de jan. de 2021 às 21:22, oliver escreveu: > hi, >

Re: [PD] hexadecimal conversion problem

2021-01-19 Thread Alexandre Torres Porres
maybe this can help you make a full vanilla abstraction https://github.com/porres/pd-else/blob/master/Classes/Abstractions/hex2dec.pd Em ter., 19 de jan. de 2021 às 21:22, oliver escreveu: > hi, > > i'm trying to convert arbitrary hexadecimal numbers to decimal ones, > preferably with vanilla

[PD] hexadecimal conversion problem

2021-01-19 Thread oliver
hi, i'm trying to convert arbitrary hexadecimal numbers to decimal ones, preferably with vanilla objects. while it's easy to do it the other way round with [makefilename], i'm facing a peculiar problem from hex --> dec when the letter E is present and followed by a number. my approach

[PD] [cyclone/grab]: grab values from outside an abstraction?

2021-01-19 Thread Alexandre Torres Porres
Hi, I'm thinking of working on a variation of cyclone/grab. In short, cyclone/grab can grab values from an object connected to its right outlet, so if you have [f 10], it'll get the value "10" for you and output it on the left outlet if you send it a bang. Now, what I wanted was to use this

Re: [PD] split number into digits

2021-01-19 Thread Lorenzo Sutton
On 17/01/21 22:07, Roman Haefeli wrote: On Sun, 2021-01-17 at 13:29 -0500, José Rafael Subía Valdez wrote: maybe with [mod]. Is the number always going to have 3 digits?? playing around in 3 minutes, I came up with this (see picture attached). I do not consider it to be elegant, but maybe its

Re: [PD] unicode symbols and Pd

2021-01-19 Thread Dan Wilcox
Short answer: IOhannes is right. If you want to use a special font, ask the users to install it on their system, then (re)start Pd with -font-face FONTNAME. You could include a ttf file with your project's download and some instructions on how to set things up but you can't pass in a .ttf and