0
0

Hi there,

I have a question:

I have a system object of my Eventsystem and add a paramEQ Effect to it.
Then I create two noise-oscillators and add them to seperate channels with a lowpass simple.

My question ist now, why does the paramEQ in this case also affect my noises-channels?

Here my Code (es is the Eventsystem) [C#]

[code:1b11duxi]
result = es.getSystemObject(ref system);
ERRCHECK(result);

        //**************************************************************************************************//
                                                            //DSPs//
        //**************************************************************************************************//

        for (int i = 0; i < dsps.Length; i++)
        {
            if (i == dsps.Length - 1)
            {
                //result = system.createDSPByType(DSP_TYPE.HIGHPASS, ref dsps[i]);
                //dsps[i].setParameter(1, 0);
                //ERRCHECK(result);
            }

            else
            {
                result = system.createDSPByType(DSP_TYPE.PARAMEQ, ref dsps[i]);
                ERRCHECK(result);
            }
            //add to DSP Connection
            system.addDSP(dsps[i], ref dspcons[i]);

        }

        system.createDSPByType(DSP_TYPE.LOWPASS_SIMPLE, ref lowsimple);
        system.createDSPByType(DSP_TYPE.OSCILLATOR, ref noise);

        system.createDSPByType(DSP_TYPE.LOWPASS_SIMPLE, ref lowsimple1);
        system.createDSPByType(DSP_TYPE.OSCILLATOR, ref noise1);

        system.playDSP(CHANNELINDEX.FREE, noise, false, ref noise_ch);
        noise.setParameter((int)DSP_OSCILLATOR.TYPE, 5);

        system.playDSP(CHANNELINDEX.FREE, noise1, false, ref noise_ch1);
        noise1.setParameter((int)DSP_OSCILLATOR.TYPE, 5);

        noise_ch.addDSP(lowsimple, ref lowcon);
        lowsimple.setParameter(0, 47.688f);
        noise_ch.setVolume(1.0f);
        noise_ch1.addDSP(lowsimple1, ref lowcon1);
        lowsimple1.setParameter(0, 60.688f);
        noise_ch1.setVolume(1.0f);
    }

[/code:1b11duxi]

  • You must to post comments
0
0

Hi
The system object is the parent, so your channels are children of the system object.

I would check the dsp tutorial in the documentation, to see the heirarchy.

If you want to keep them seperate, look into categories and channelgroups, and dont add effects to ‘system’.

adding an effect to system will add it to absolutely everything.

  • You must to post comments
0
0

Thanks Brett. Channelgroup solved the problem.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.