Path: csiph.com!xmission!news.alt.net!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail From: Jasen Betts Newsgroups: sci.electronics.design Subject: Re: How to Embed WAV files into a Device Date: 14 Dec 2015 07:43:50 GMT Organization: "JJ's own news server" Message-ID: References: <2kbp6b9iv9if89lqp3ssr42pvahr5lfuf9@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Face: ?)Aw4rXwN5u0~$nqKj`xPz>xHCwgi^q+^?Ri*+R(&uv2=E1Q0Zk(>h!~o2ID@6{uf8s;a +M[5[U[QT7xFN%^gR"=tuJw%TXXR'Fp~W;(T"1(739R%m0Yyyv*gkGoPA.$b,D.w:z+<'"=-lVT?6 {T?=R^:W5g|E2#EhjKCa+nt":4b}dU7GYB*HBxn&Td$@f%.kl^:7X8rQWd[NTc"P"u6nkisze/Q;8 "9Z{peQF,w)7UjV$c|RO/mQW/NMgWfr5*$-Z%u46"/00mx-,\R'fLPe.)^ User-Agent: slrn/1.0.2 (Linux) Lines: 35 NNTP-Posting-Host: 16a43918.news.astraweb.com X-Trace: DXC=6EiGjTDj7I;R@Y?`:@TCo5L?0kYOcDh@:F0dO^g=nH0gfGbRJZ> Xref: csiph.com sci.electronics.design:389410 On 2015-12-12, David King wrote: > > I have four 16-bit 44100 audio WAV files, each one being a 1 minute > _stereo_ sound effect recording. > > I would like to build these into a device so that any one of the four > can be selected and played, as per the original stereo, in loop mode. do you need hi-fi? I scoped a name brand toy phone and saw only 4 different voltage levels at the speaker. > Can anyone advise what the best way of doing this might be? the easiest way that meets your requirements is best. > I will be making a number of these devices to be used at different > locations, so inputting audio from an external device is not really an > option. > The audio amp will be built separately, so I am only interested in a > storage solution as described above. > > There are no limitations on size, voltage or power. a raspberry pi zero has audio out and playback software and plenty of GPIO to trigger the noises with it, needs an SD card. you could do development on a "pi2 model B" then switch to the cheaper zero for deployment if you don't need hi-fi there are cheaper message recorder chips. -- \_(ツ)_