how use C# Synth Project in windows phone

Oct 10, 2013 at 4:46 AM
i'm using by windows phone

synth = new StreamSynthesizer(44100, 2, 100, 40);
        audioOut = new DynamicSoundEffectInstance(synth.SampleRate, synth.Channels == 1 ? AudioChannels.Mono : AudioChannels.Stereo);
        synth.NoteOn(0, 48, 127, 0);
        audioOut.Play();
synth.NoteOn(0, 48, 127, 0); it's error,how?