Hi,

The names are limited to 16 bytes by Unity:
struct UnityAudioParameterDefinition
{
    char                         name[16];           // Display name on the
GUI
    char                         unit[16];           // Scientific unit of
parameter to be appended after the value in textboxes
    const char*                  description;        // Description of
parameter (displayed in tool tips, automatically generated documentation,
etc.)
    float                        min;                // Minimum value of
the parameter
    float                        max;                // Maximum value of
the parameter
    float                        defaultval;         // Default and initial
value of the parameter
    float                        displayscale;       // Scale factor used
only for the display of parameters (i.e. 100 for a percentage value ranging
from 0 to 1)
    float                        displayexponent;    // Exponent for
mapping parameters to sliders
};

What you can do is to use a tooltip to give additional information:

hslider("vol[tooltip:the main volume control]",...)

Cheers

Yann

-------------------------

Yann Orlarey
Directeur scientifique
www.grame.fr



2017-05-03 19:45 GMT+02:00 Juan Cristóbal Cerrillo <jccerri...@gmail.com>:

> Hello,
>
> I’ve created a unity plugin with the faust2unity script.  Everything works
> fine.  Nevertheless, parameter names appear  truncated at the 15 string
> character in Unity.
> One can always use shorter parameter names, but it would be nice if they
> could be longer (especially for complicated graphs).
>
> all best,
>
> jc
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to