[Cs-dev] regarding named plugin GENs
Date | 2008-06-05 21:27 |
From | victor |
Subject | [Cs-dev] regarding named plugin GENs |
Attachments | None None |
I am finding the GEN plugin interface quite useful
and I am glad it's
there. There are a couple of limitations,
however:
1. inhibiting rescaling can't be done by normal
means, because
the GENS are named not numbered. There is a
work-around.
2. strings can't be used in the p-fields because
the single slot
is already taken by the GEN name. Nothing can be
done until
multiple strings are allowed per score
statement.
The work-around for 1 is to add a code to one of
the p-fields and
then reassign the GEN number (p4) to -1 as
in
if(resc!=0.0) ff->e.p[4] = -1;
A bit of a hack but it seems to work without any
problems.
I have slightly modified the tanh GEN in ftest.c
and added an
exp GEN to it (only last month when I
needed to lookup an
exponential function on a table I realised there
wasn't a GEN
for it).
I also realised there is no documentation
on named GENs and
on the plugin gens, so I guess I'll have to write
it.
Victor |
Date | 2008-08-13 23:13 |
From | "Andres Cabrera" |
Subject | Re: [Cs-dev] regarding named plugin GENs |
Attachments | None None None None |
Date | 2008-08-14 08:52 |
From | jpff |
Subject | Re: [Cs-dev] regarding named plugin GENs |
I think that the scoregens/top.xml is wrong about the names. I think that plugin creates a score macro for the gen name rather than using a string. Or has that changed? ==John ffitch ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-08-14 10:30 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] regarding named plugin GENs |
I am not sure; all I know is that instead of a GEN number, I use a string for the GEN name. I haven't looked at the internals. At 08:52 14/08/2008, you wrote: >I think that the scoregens/top.xml is wrong about the names. I think >that plugin creates a score macro for the gen name rather than using >a string. Or has that changed? >==John ffitch > >------------------------------------------------------------------------- >This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >Build the coolest Linux based applications with Moblin SDK & win great prizes >Grand prize is a trip for two to an Open Source event anywhere in the world >http://moblin-contest.org/redirect.php?banner_id=100&url=/ >_______________________________________________ >Csound-devel mailing list >Csound-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/csound-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |