Jump to content

Alex N

New Members
  • Posts

    5
  • Joined

  • Last visited

Alex N's Achievements

Combat Commando

Combat Commando (1/9)

0

Reputation

  1. Here's the xex that corresponds to the wav file. The attack/decay subroutine has been ommitted and there is only one volume dip at the end of each note. 60Hz_interrupt_8.xex
  2. Thanks for the replies! If I leave the volume level alone, what's best approach for transitioning note changes on AUDF#? At the moment I have hard changes from 440Hz to 742Hz and there is noticeable 'clicking'. I'm also getting other random blips and bloops which may be caused by interrupts and so forth but I've yet to nail these down. ode_to_joy.wav
  3. I'm generating notes using the 60Hz interrupt with 16bit mode with channel 0 locked onto to channel 1. AUDC1 is set to pure tone, no high pass filters, 1.79MHz clock. I'm attempting to add attack and decay to the notes by incrementing/decreasing the volume bytes in AUDC1. When the volume changes I get these wave discontinuities as highlighted which produces an unwanted rattling noise. The rattling noise occurs only during the attack/decay periods. My understanding so far is that changing AUDC# or AUDF# resets the wave generator, resulting in a discontinuity if this happens in the middle of a wave period. Am I supposed to time the AUDC#/AUDF# changes to coincide with the beginning of each wave and can that be done during the 60Hz interrupt routine?
×
×
  • Create New...