-
Notifications
You must be signed in to change notification settings - Fork 2
/
vanillaS2f-help.pd
26 lines (26 loc) · 1.18 KB
/
vanillaS2f-help.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#N canvas 210 183 920 348 10;
#X symbolatom 35 150 0 0 0 0 - - -;
#X obj 35 172 vanillaS2f;
#X floatatom 35 214 0 0 0 0 - - -;
#X obj 19 16 cnv 15 400 40 empty empty empty 20 12 0 14 -191765 -66577
0;
#X text 116 215 <-get the value as a float;
#X text 506 28 Arguments: none;
#X text 25 26 [vanillaS2f]: vanilla symbol to float conversion abstraction
;
#X text 438 259 Written by Alexandros Drymonitis \, after a discussion
on the Pd list with Cyrille Henry and Chris McCormick;
#X text 112 148 <-provide a symbol which represents a number. if the
value is decimal \, write it as is. if it's hexadecimal \, include
the 0x prefix. if it's octal start the value with a 0 if it's binary
start the value with a B or b.;
#X text 505 48 Inlet: symbol which represents a number in one of the
four supported numeral systems;
#X text 506 79 Outlet: float from symbol's number;
#X text 21 65 [vanillaS2f] takes a symbol which represents a number
and convert it to a float. It supports four numeral systems \, decimal
\, hexadecimal \, octal and binary. It also supports negative and decimal
values \, scientific notation \, and "inf" (octal doesn't support fractional
values).;
#X connect 0 0 1 0;
#X connect 1 0 2 0;