コード例 #1
0
        public MP_VOICE()
        {
            venv = new ENVPR();
            penv = new ENVPR();
            cenv = new ENVPR();

            main = new MP_CHANNEL();
        }
コード例 #2
0
        public void CloneTo(MP_CHANNEL chan)
        {
            chan.i         = i;
            chan.s         = s;
            chan.sample    = sample;
            chan.note      = note;
            chan.outvolume = outvolume;
            chan.chanvol   = chanvol;
            chan.fadevol   = fadevol;
            chan.panning   = panning;
            chan.kick      = kick;
            chan.period    = period;
            chan.nna       = nna;

            chan.volflg = volflg;
            chan.panflg = panflg;
            chan.pitflg = pitflg;

            chan.keyoff    = keyoff;
            chan.handle    = handle;
            chan.notedelay = notedelay;
            chan.start     = start;
        }
コード例 #3
0
 public MP_CONTROL()
 {
     main  = new MP_CHANNEL();
     slave = null;
 }