Exemplo n.º 1
0
        public static void AddNew(Song currentSong)
        {
            Effect nuevo = new Effect();

            nuevo.SetEffectLength(5);

            nuevo.Name = WYZTracker.Core.Properties.Resources.New;
            nuevo.Volumes = new byte[] { 8, 8, 8, 8, 8 };
            nuevo.Frequencies = new int[] { 440, 440, 440, 440, 440 };
            nuevo.Noises = new byte[] { 0, 1, 2, 3, 4 };
            nuevo.ID = currentSong.Effects.GetSafeId();
            currentSong.Effects.Add(nuevo);
        }
Exemplo n.º 2
0
 public static void Remove(Song currentSong, Effect effect)
 {
     currentSong.Effects.Remove(effect);
 }
Exemplo n.º 3
0
 public static void Export(Effect effect)
 {
     Export(new Effects() { effect });
 }