Exemple #1
0
        public BasicPlaySound()
        {
            InitializeComponent();

            Info.Text = AppResources.BasicsPlaySoundInfo;

            sound = Global.Yse.CreateSound();
            sound.Create("snare", null, true);
            sound.Volume = 0.5f;
        }
        public BasicReverb()
        {
            InitializeComponent();
            Info.Text = AppResources.BasicsReverbInfo;

            foreach (string name in stringToPreset.Keys)
            {
                ReverbChoice.Items.Add(name);
            }

            reverb.Active = true;
            Global.Yse.ChannelMaster.AttachReverb();

            snare = Global.Yse.CreateSound();
            snare.Create("snare", null, true);
            snare.Play();
        }
Exemple #3
0
        public BasicChannels()
        {
            InitializeComponent();

            Info.Text = AppResources.BasicsChannelsInfo;

            ambient = Global.Yse.CreateSound();
            ambient.Create("flies", Global.Yse.ChannelAmbient, true);
            ambient.Play();

            music = Global.Yse.CreateSound();
            music.Create("my2chords", Global.Yse.ChannelMusic, true);
            music.Play();

            voice = Global.Yse.CreateSound();
            voice.Create("countdown", Global.Yse.ChannelVoice, true);
            voice.Play();
        }