KISS WAV Player Driver

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1
Request group membership
By: Kwabena W. Agyeman, created: 2013-04-10 | updated: 2014-01-07

A WAV player driver that runs on one cog. The code has been fully optimized with a super simple spin interface for maximum speed and is also fully commented.

Provides full support for:

  • Playing ANY WAV file. (8-Bit/16-Bit, 1/2 Channels, 1-44100 Hz) 
  • Pausing the playback of the playing WAV file.
  • Getting the state of the WAV player playing the WAV file.
  • Changing the left channel volume.
  • Changing the right channel volume.
  • Getting the WAV file sample rate.
  • Setting the WAV file sample rate.
  • Getting the number of samples in the WAV file.
  • Getting the current sample position in the WAV file.
  • Getting the current signed 16-Bit value being sent to the left channel output. 
  • Getting the current signed 16-Bit value being sent to the right channel output.

Please download the V2 wav player. It is much imporved. The wav player now supports switching between wav files seamlessly.

 

Original File Upload
AttachmentSize
WAV-Player_Program.zip32.55 KB
V2-WAV.zip112.78 KB