Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Sound storage and playback

2007-09-29 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "usafcjf2003" <usafcjf2003@...> wrote:
> if i could figure out how to parse RAW (wav???) data to the SRAM.
The GoldWave audio editor (free download at http://www.goldwave.com) 
can be used to generate a series of datapoints representing the 
instantaneous relative amplitude of an audio signal.

Once you have the series of datapoints, you can then use a digital-to-
analog conversion technique (e.g. PWM) to regenerate the audio 
signal.  This is the general idea implemented in the PlaySound() 
subroutine in the ZBasic System Library 
(see http://www.zbasic.net/doc/ZBasicSysLib.php?page=169).

Don Kinzer
ZBasic Microcontrollers
http://www.zbasic.net

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.