hi list, is possible to name an external f0_% and have pd load it? as this of course the setup method isn't found...
void f0_fmod_setup(void) { this_class= class_new(gensym("f0_%"), (t_newmethod)f0_fmod_new, 0, sizeof(x_f0_fmod), 0, A_DEFFLOAT, 0);
is there something like aliases or object mappings?
also had problems with a dots in my names. so for namespace which is the preferred char: f0_asdf or f0-asdf?
and last a sort of related canvas crash method. name it something with %, close properties window and then try to edit it again. #N canvas 0 22 454 304 10; #X obj 115 95 cnv 15 100 60 empty empty boom% 20 12 0 14 -233017 -66577 0;
guess i should name my externals something simple, _fredrik (pd 0.39-2, os X.3.9)
#| fredrikolofsson.com klippav.org musicalfieldsforever.com |#
Yeah, IOhannes' loaderhex patch makes this possible. You basically replace the % with the 0xXX hex number of the ASCII value. Then the function will be something like
setup_f0_0x34(void)
.hc
On May 12, 2006, at 12:03 PM, Fredrik Olofsson wrote:
hi list, is possible to name an external f0_% and have pd load it? as this of course the setup method isn't found...
void f0_fmod_setup(void) { this_class= class_new(gensym("f0_%"), (t_newmethod)f0_fmod_new, 0, sizeof(x_f0_fmod), 0, A_DEFFLOAT, 0);
is there something like aliases or object mappings?
also had problems with a dots in my names. so for namespace which is the preferred char: f0_asdf or f0-asdf?
and last a sort of related canvas crash method. name it something with %, close properties window and then try to edit it again. #N canvas 0 22 454 304 10; #X obj 115 95 cnv 15 100 60 empty empty boom% 20 12 0 14 -233017 -66577 0;
guess i should name my externals something simple, _fredrik (pd 0.39-2, os X.3.9)
#| fredrikolofsson.com klippav.org musicalfieldsforever.com |#
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
________________________________________________________________________ ____
"If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of everyone, and the receiver cannot dispossess himself of it." - Thomas Jefferson
Am 12.05.2006 um 19:37 schrieb Hans-Christoph Steiner:
Yeah, IOhannes' loaderhex patch makes this possible. You basically replace the % with the 0xXX hex number of the ASCII value. Then the function will be something like
setup_f0_0x34(void)
Are you sure the 0x can be in the middle of the name? Haven't looked into the source code though....
greetings, Thomas
On Sat, 13 May 2006, Thomas Grill wrote:
Am 12.05.2006 um 19:37 schrieb Hans-Christoph Steiner:
Yeah, IOhannes' loaderhex patch makes this possible. You basically replace the % with the 0xXX hex number of the ASCII value. Then the function will be something like
setup_f0_0x34(void)
Are you sure the 0x can be in the middle of the name? Haven't looked into the source code though....
You can put a hex char anywhere using the hexloader patch.
.hc
zen \ \ \[D[D[D[D
all right! thanks for that one. but then, and excuse my ignorance, other non-loaderhex-patched PDs still can't run them right? hm, i'll stick with alphanumeric. _f
On 12.05.2006, at 19:37, Hans-Christoph Steiner wrote:
Yeah, IOhannes' loaderhex patch makes this possible. You basically replace the % with the 0xXX hex number of the ASCII value. Then the function will be something like
setup_f0_0x34(void)
.hc
On May 12, 2006, at 12:03 PM, Fredrik Olofsson wrote:
hi list, is possible to name an external f0_% and have pd load it? as this of course the setup method isn't found...
void f0_fmod_setup(void) { this_class= class_new(gensym("f0_%"), (t_newmethod)f0_fmod_new, 0, sizeof(x_f0_fmod), 0, A_DEFFLOAT, 0);
is there something like aliases or object mappings?
also had problems with a dots in my names. so for namespace which is the preferred char: f0_asdf or f0-asdf?
and last a sort of related canvas crash method. name it something with %, close properties window and then try to edit it again. #N canvas 0 22 454 304 10; #X obj 115 95 cnv 15 100 60 empty empty boom% 20 12 0 14 -233017 -66577 0;
guess i should name my externals something simple, _fredrik (pd 0.39-2, os X.3.9)
#| fredrikolofsson.com klippav.org musicalfieldsforever.com |#
Fredrik Olofsson wrote:
all right! thanks for that one. but then, and excuse my ignorance, other non-loaderhex-patched PDs still can't run them right?
well right. bt since the heaxloader patch made it into core pd (as of version 0.40 iirc) this shouldn't be a problem; i mean you could also refrain from using pd on osX since oler versions of pd where not available on this os :-)
hm, i'll stick with alphanumeric.
this is generally a better idea. the reason for my patch was really about making it possible to have names like [mtx_*] which are a lot more clumsy when you use[mtx_multiply] - and not so much to have cool [ä()$$] names (but as a by-product this is also possible)
mfg.dar# IOhannes
_f
On Sun, 2006-05-14 at 19:31 +0200, IOhannes m zmölnig wrote:
well right. bt since the heaxloader patch made it into core pd (as of version 0.40 iirc) this shouldn't be a problem; i mean you could also refrain from using pd on osX since oler versions of pd where not available on this os :-)
speaking of the hexloader ... this introduced a memory leak, since altname is not properly freed ...
not sure, if it was a devel only problem or if this has been fixed ...
tim
-- TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
Most of the trouble in this world has been caused by folks who can't mind their own business, because they have no business of their own to mind, any more than a smallpox virus has. William S. Burroughs
On Mon, 15 May 2006, Tim Blechmann wrote:
On Sun, 2006-05-14 at 19:31 +0200, IOhannes m zmölnig wrote:
well right. bt since the heaxloader patch made it into core pd (as of version 0.40 iirc) this shouldn't be a problem; i mean you could also refrain from using pd on osX since oler versions of pd where not available on this os :-)
speaking of the hexloader ... this introduced a memory leak, since altname is not properly freed ...
not sure, if it was a devel only problem or if this has been fixed ...
tim
I don't think its been fixed. Please submit a patch to the tracker so it will be fixed.
.hc
zen \ \ \[D[D[D[D