Gonzague DDR wrote:
Desole pour le doublon ....
Pour mes nombres , j ai vraiement besoin de la forme 0.12345e+01 car le but est de simuler un appareil dont le driver attend cette forme a 5 decimale et un exposant .
Ah, that means you want it as symbol, then you would have to notate it as symbol and not as number. Sorry I only know how to do it in Max, but eventually in pd its the same: "0.12345e+02" (use quotes) or [tosymbol] Or you have to find out the decimal point seperately with mod or moses or alike. Inside pd a number is still a number which has absolutely nothing to do with the way its displayed.
(I answer in english not only because my french is bad, also that the rest of the world will understand ;-)
Stefan
Ok , i get the message .
I've tried whith a [makefilename]and calculate the decimal point seperately but it's so heavy : i have 96 dof betwen -999.999 to 999.999 to format , that makes a lot of "if" ....
What about the [tosymbol] object , where can i find it ? , and what do you mean by (use quotes) ( i'm under win xp , sorry ).
--- Stefan Tiedje Stefan-Tiedje@addcom.de a écrit :
Gonzague DDR wrote:
Desole pour le doublon ....
Pour mes nombres , j ai vraiement besoin de la
forme
0.12345e+01 car le but est de simuler un appareil
dont
le driver attend cette forme a 5 decimale et un exposant .
Ah, that means you want it as symbol, then you would have to notate it as symbol and not as number. Sorry I only know how to do it in Max, but eventually in pd its the same: "0.12345e+02" (use quotes) or [tosymbol] Or you have to find out the decimal point seperately with mod or moses or alike. Inside pd a number is still a number which has absolutely nothing to do with the way its displayed.
(I answer in english not only because my french is bad, also that the rest of the world will understand ;-)
Stefan
--
[][] [][][] [][] [][][] [][] [][][] [][] [][][]
[][][][][][][][][][][][][][][][][][][][][][][][][][][][]
Stefan Tiedje Klanggestaltung CD-Mastering /~~~~~\ Elektronische \\\ /|() ()|\ Komposition ))))) )| | |( \\\ & Improvisation /// \ \_/)/ ))))) \___/ ///
---------------------------- 9, rue Moreau -_____-----------|---------- 93200 Saint Denis -(_|_ ----|-----|-----()--- France
- _|_)----|-----()---------- CCMIX 01-49 77 51
72 ---------()-----------------
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
===== http://cypres.dyndns.org:40020/
Vous manquez dÂespace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
Hallo, Gonzague DDR hat gesagt: // Gonzague DDR wrote:
I've tried whith a [makefilename]and calculate the decimal point seperately but it's so heavy : i have 96 dof betwen -999.999 to 999.999 to format , that makes a lot of "if" ....
What about the [tosymbol] object , where can i find it ? , and what do you mean by (use quotes)
Sorry, no "quotes" in Pd. [tosymbol] is part of the Cyclone external collection.
But maybe a simple message: [symbol $1( can solve your question, which I didn't understand because I don't understand french at all. :(
Frank Barknecht _ ______footils.org__
Ok , thanks for cyclone's stuff , and excuse me for speaking french . My question was about format a number so it "looks like" 1.12345e+02 instead of 112.345 . The atached file is the more simple i can do , but it's heavy , and i thought that there was a simpler way to bypass this "convertion".
3o3
--- Frank Barknecht fbar@footils.org a écrit :
Hallo, Gonzague DDR hat gesagt: // Gonzague DDR wrote:
I've tried whith a [makefilename]and calculate the decimal point seperately but it's so heavy : i
have 96
dof betwen -999.999 to 999.999 to format , that
makes
a lot of "if" ....
What about the [tosymbol] object , where can i
find it
? , and what do you mean by (use quotes)
Sorry, no "quotes" in Pd. [tosymbol] is part of the Cyclone external collection.
But maybe a simple message: [symbol $1( can solve your question, which I didn't understand because I don't understand french at all. :(
Ciao
Frank Barknecht _ ______footils.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
===== http://cypres.dyndns.org:40020/
Vous manquez dÂespace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
Gonzague DDR wrote:
Ok , thanks for cyclone's stuff , and excuse me for speaking french . My question was about format a number so it "looks like" 1.12345e+02 instead of 112.345 . The atached file is the more simple i can do , but it's heavy , and i thought that there was a simpler way to bypass this "convertion".
a) your patch is buggy. it does not take care of execution-order and thus produces the wrong results (independent of any float2symbol conversion); try using [trigger] as much as possible
b) i was really amazed, that [makefilename] can only handle integers. a quick look at the source-code verified this...too bad
c) the really "heavy" thing is the multiple conversion to symbols (pd is not *really* strong in symbol handling)
d) if you don't care about quantization (obviously you don't as your patch has shown), what about this
| [* 1000] | [int] | [/ 1000] | | [/ 100] | [makesymbol %se+02] |
(the first three object are only for quantization)
mfg.asd.r IOhannes
--- IOhannes m zmoelnig zmoelnig@iem.at a écrit :
a) your patch is buggy. it does not take care of execution-order and thus produces the wrong results (independent of any float2symbol conversion); try using [trigger] as much as possible
You're wright .
d) if you don't care about quantization (obviously you don't as your patch has shown), what about this
| [* 1000] | [int] | [/ 1000] | | [/ 100] | [makesymbol %se+02]
You're wright . Thanks , and sorry for stupid question .
3o3
===== http://cypres.dyndns.org:40020/
Vous manquez dÂespace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
Gonzague DDR wrote:
Thanks , and sorry for stupid question .
it was not stupid at all. took me some experimenting to make it that simple...
and i really think, that [makefilename] should support %f somehow.
mfg.asd.r IOhannes
PS: i still don't know, why you need exactly that format ? for displaying reasons only ?
--- IOhannes m zmoelnig zmoelnig@iem.at a écrit :
PS: i still don't know, why you need exactly that format ? for displaying reasons only ?
No , i have a good and fast drivers for my polhemus ( magnetic motion capture ) to go into xsi ( 3d software ) , and the polhemus format the data as this . The goal is to simulate the polhemus with pd so i can resend what i want into xsi , like a generic chanel in ... It still not working but it will !
3o3
===== http://cypres.dyndns.org:40020/
Vous manquez dÂespace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com