public fluid_channel(MidiSynth psynth, int pchanum)
        {
            gens    = new double[Enum.GetNames(typeof(fluid_gen_type)).Length];
            gen_abs = new bool[Enum.GetNames(typeof(fluid_gen_type)).Length];
            cc      = new short[128];

            synth   = psynth;
            channum = pchanum;
            preset  = null;
            tuning  = null;

            fluid_channel_init();
            fluid_channel_init_ctrl();
        }
Esempio n. 2
0
 static string fluid_tuning_get_name(fluid_tuning tuning)
 {
     return(tuning.name);
 }