Exemple #1
0
 public Channel1(NR52 _nr52) : base(_nr52, 0, true)
 {
     sweep.Write(0x80);
     waveDuty.Write(0x3F);
     envelope.Write(0x00);
     frequencyLow.Write(0xFF);
     frequencyHigh.Write(0xBF);
 }
Exemple #2
0
 public SoundChannel(NR52 nr52, int channelNr)
 {
     this.nr52      = nr52;
     this.channelNr = channelNr;
 }
Exemple #3
0
 public Channel2(NR52 nr52) : base(nr52, 1, false)
 {
 }