Go to the source code of this file.
AHX player functions 
Definition in file ahx.h.
◆ AHXPListEntry
Definition at line 19 of file ahx.h.
 
| Data Fields | 
|---|
| int | Note |  | 
| int | Fixed |  | 
| int | Waveform |  | 
| int | FX[2] |  | 
| int | FXParam[2] |  | 
 
 
◆ AHXPList
Definition at line 27 of file ahx.h.
 
 
 
◆ AHXEnvelope
Definition at line 33 of file ahx.h.
 
| Data Fields | 
|---|
| int | aFrames |  | 
| int | aVolume |  | 
| int | dFrames |  | 
| int | dVolume |  | 
| int | sFrames |  | 
| int | rFrames |  | 
| int | rVolume |  | 
 
 
◆ AHXInstrument
Definition at line 41 of file ahx.h.
 
| Data Fields | 
|---|
| char * | Name |  | 
| int | Volume |  | 
| int | WaveLength |  | 
| struct AHXEnvelope | Envelope |  | 
| int | FilterLowerLimit |  | 
| int | FilterUpperLimit |  | 
| int | FilterSpeed |  | 
| int | SquareLowerLimit |  | 
| int | SquareUpperLimit |  | 
| int | SquareSpeed |  | 
| int | VibratoDelay |  | 
| int | VibratoDepth |  | 
| int | VibratoSpeed |  | 
| int | HardCutRelease |  | 
| int | HardCutReleaseFrames |  | 
| struct AHXPList | PList |  | 
 
 
◆ AHXPosition
Definition at line 54 of file ahx.h.
 
| Data Fields | 
|---|
| int | Track[4] |  | 
| int | Transpose[4] |  | 
 
 
◆ AHXStep
Definition at line 59 of file ahx.h.
 
| Data Fields | 
|---|
| int | Note |  | 
| int | Instrument |  | 
| int | FX |  | 
| int | FXParam |  | 
 
 
◆ AHXSong
Definition at line 64 of file ahx.h.
 
| Data Fields | 
|---|
| char * | Name |  | 
| int | Restart |  | 
| int | PositionNr |  | 
| int | TrackLength |  | 
| int | TrackNr |  | 
| int | InstrumentNr |  | 
| int | SubsongNr |  | 
| int | Revision |  | 
| int | SpeedMultiplier |  | 
| int * | Subsongs |  | 
 
 
◆ AHXVoice
Definition at line 72 of file ahx.h.
 
| Data Fields | 
|---|
| int | VoiceVolume |  | 
| int | VoicePeriod |  | 
| char | VoiceBuffer[0x281] |  | 
| int | Track |  | 
| int | Transpose |  | 
| int | NextTrack |  | 
| int | NextTranspose |  | 
| int | ADSRVolume |  | 
| struct AHXEnvelope | ADSR |  | 
| struct AHXInstrument * | Instrument |  | 
| int | InstrPeriod |  | 
| int | TrackPeriod |  | 
| int | VibratoPeriod |  | 
| int | NoteMaxVolume |  | 
| int | PerfSubVolume |  | 
| int | TrackMasterVolume |  | 
| int | NewWaveform |  | 
| int | Waveform |  | 
| int | PlantSquare |  | 
| int | PlantPeriod |  | 
| int | IgnoreSquare |  | 
| int | TrackOn |  | 
| int | FixedNote |  | 
| int | VolumeSlideUp |  | 
| int | VolumeSlideDown |  | 
| int | HardCut |  | 
| int | HardCutRelease |  | 
| int | HardCutReleaseF |  | 
| int | PeriodSlideSpeed |  | 
| int | PeriodSlidePeriod |  | 
| int | PeriodSlideLimit |  | 
| int | PeriodSlideOn |  | 
| int | PeriodSlideWithLimit |  | 
| int | PeriodPerfSlideSpeed |  | 
| int | PeriodPerfSlidePeriod |  | 
| int | PeriodPerfSlideOn |  | 
| int | VibratoDelay |  | 
| int | VibratoCurrent |  | 
| int | VibratoDepth |  | 
| int | VibratoSpeed |  | 
| int | SquareOn |  | 
| int | SquareInit |  | 
| int | SquareWait |  | 
| int | SquareLowerLimit |  | 
| int | SquareUpperLimit |  | 
| int | SquarePos |  | 
| int | SquareSign |  | 
| int | SquareSlidingIn |  | 
| int | SquareReverse |  | 
| int | FilterOn |  | 
| int | FilterInit |  | 
| int | FilterWait |  | 
| int | FilterLowerLimit |  | 
| int | FilterUpperLimit |  | 
| int | FilterPos |  | 
| int | FilterSign |  | 
| int | FilterSpeed |  | 
| int | FilterSlidingIn |  | 
| int | IgnoreFilter |  | 
| int | PerfCurrent |  | 
| int | PerfSpeed |  | 
| int | PerfWait |  | 
| int | WaveLength |  | 
| struct AHXPList * | PerfList |  | 
| int | NoteDelayWait |  | 
| int | NoteDelayOn |  | 
| int | NoteCutWait |  | 
| int | NoteCutOn |  | 
| char * | AudioSource |  | 
| int | AudioPeriod |  | 
| int | AudioVolume |  | 
| char | SquareTempBuffer[0x80] |  | 
 
 
◆ AHXWaves
Definition at line 102 of file ahx.h.
 
| Data Fields | 
|---|
| char | LowPasses[0x31588] |  | 
| char | Triangle04[0x04] |  | 
| char | Triangle08[0x08] |  | 
| char | Triangle10[0x10] |  | 
| char | Triangle20[0x20] |  | 
| char | Triangle40[0x40] |  | 
| char | Triangle80[0x80] |  | 
| char | Sawtooth04[0x04] |  | 
| char | Sawtooth08[0x08] |  | 
| char | Sawtooth10[0x10] |  | 
| char | Sawtooth20[0x20] |  | 
| char | Sawtooth40[0x40] |  | 
| char | Sawtooth80[0x80] |  | 
| char | Squares[0x1000] |  | 
| char | WhiteNoiseBig[0x780] |  | 
| char | HighPasses[0x31588] |  | 
 
 
◆ AHXPlayer_Init()
◆ AHXPlayer_LoadSongBuffer()
  
  | 
        
          | int AHXPlayer_LoadSongBuffer | ( | void * | Buffer, |  
          |  |  | int | Len ) |  | extern | 
 
 
◆ AHXPlayer_InitSubsong()
  
  | 
        
          | int AHXPlayer_InitSubsong | ( | int | Nr | ) |  |  | extern | 
 
 
◆ AHXPlayer_NextPosition()
  
  | 
        
          | void AHXPlayer_NextPosition | ( |  | ) |  |  | extern | 
 
 
◆ AHXPlayer_PrevPosition()
  
  | 
        
          | void AHXPlayer_PrevPosition | ( |  | ) |  |  | extern | 
 
 
◆ AHXPlayer_VoiceOnOff()
  
  | 
        
          | void AHXPlayer_VoiceOnOff | ( | int | Voice, |  
          |  |  | int | OnOff ) |  | extern | 
 
 
◆ AHXPlayer_SetAudio()
  
  | 
        
          | void AHXPlayer_SetAudio | ( | int | v | ) |  |  | extern | 
 
 
◆ AHXPlayer_PListCommandParse()
  
  | 
        
          | void AHXPlayer_PListCommandParse | ( | int | v, |  
          |  |  | int | FX, |  
          |  |  | int | FXParam ) |  | extern | 
 
 
◆ AHXPlayer_PlayIRQ()
  
  | 
        
          | void AHXPlayer_PlayIRQ | ( |  | ) |  |  | extern | 
 
 
◆ AHXPlayer_ProcessStep()
  
  | 
        
          | void AHXPlayer_ProcessStep | ( | int | v | ) |  |  | extern | 
 
 
◆ AHXPlayer_ProcessFrame()
  
  | 
        
          | void AHXPlayer_ProcessFrame | ( | int | v | ) |  |  | extern | 
 
 
◆ AHXPlayer_SetBoost()
  
  | 
        
          | void AHXPlayer_SetBoost | ( | int | boostval | ) |  |  | extern | 
 
 
◆ AHXPlayer_SetOversampling()
  
  | 
        
          | void AHXPlayer_SetOversampling | ( | int | enable | ) |  |  | extern | 
 
 
◆ AHXOutput_MixBuffer()
  
  | 
        
          | void AHXOutput_MixBuffer | ( | short * | target | ) |  |  | extern |