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); }
public static void Remove(Song currentSong, Effect effect) { currentSong.Effects.Remove(effect); }
public static void Export(Effect effect) { Export(new Effects() { effect }); }