Author |
Message |
Bogus Noise
Joined: Jun 03, 2009 Posts: 65 Location: Sheffield
|
Posted: Mon Feb 10, 2014 6:39 am Post subject:
Cheap solution for audio sample storage and playback |
|
|
Someone's asked me to build them a few copies of a circuit that plays back a personalised sample. The circuit is purely for playback and does not need to record, but the sample should stay in memory when the batteries run out.
What options are there for this kind of thing? Doesn't need to be pristene quality, but good would be nice
SMD chips might be handy for this one as well, but will consider all possibilities! _________________ Circuit Bent Sonic Absurdity:
www.bogus-noise.co.uk
http://www.youtube.com/user/BogusNoise |
|
Back to top
|
|
|
PHOBoS
Joined: Jan 14, 2010 Posts: 5591 Location: Moon Base
Audio files: 705
|
|
Back to top
|
|
|
DUBmatze
Joined: Feb 18, 2013 Posts: 150 Location: south Germaica (schwabilon)
|
Posted: Mon Feb 10, 2014 11:03 am Post subject:
|
|
|
a easy way is playing it with an Arduino and a SD card reader. (i buy my sdcard reader from china and it was about 1,70€ with shiping).
For lofi there is also a way to store the wavfile in the Arduino or atmega ... but it is only 8khz and 8bit. (8khz sample shud work with 8mhz clock so you only need the atmega == 1chip solution ) its enouth for a "plz reeeewind selekta"
http://playground.arduino.cc/Code/PCMAudio |
|
Back to top
|
|
|
Bogus Noise
Joined: Jun 03, 2009 Posts: 65 Location: Sheffield
|
Posted: Mon Feb 10, 2014 2:37 pm Post subject:
|
|
|
PHOBoS wrote: | Not so much a circuit you can build but a cheap mp3 player could do the trick.
Or maybe you could use one of those digital recording devices as I did in
my simple sampler. |
The mp3 player is probably a bit overkill, only needs to be one sample of a few seconds long. Had been wondering about the greeting cards recorders, but figured they'd lose their memory when the battery goes. Did you find any that were persistent?
DUBmatze wrote: | a easy way is playing it with an Arduino and a SD card reader. (i buy my sdcard reader from china and it was about 1,70€ with shiping).
For lofi there is also a way to store the wavfile in the Arduino or atmega ... but it is only 8khz and 8bit. (8khz sample shud work with 8mhz clock so you only need the atmega == 1chip solution ) its enouth for a "plz reeeewind selekta"
http://playground.arduino.cc/Code/PCMAudio |
Cool idea! Probably overkill for my project though...
If I could essentially make one of those little playback devices that goes in greetings cards, that'd be perfect. As I understand it the circuits themselves are cheap, but have a huge minimum order... I need about 25! _________________ Circuit Bent Sonic Absurdity:
www.bogus-noise.co.uk
http://www.youtube.com/user/BogusNoise |
|
Back to top
|
|
|
DUBmatze
Joined: Feb 18, 2013 Posts: 150 Location: south Germaica (schwabilon)
|
Posted: Mon Feb 10, 2014 6:57 pm Post subject:
|
|
|
Bogus Noise wrote: | I need about 25! | == 2 octave keyboard?
cheapest atmega i found at my dealer is arround 1.80€ (atmega8) |
|
Back to top
|
|
|
Bogus Noise
Joined: Jun 03, 2009 Posts: 65 Location: Sheffield
|
Posted: Mon Feb 10, 2014 9:51 pm Post subject:
|
|
|
25 individual circuits. They're essentially going to be mini personalised greetings cards.
1.80 sounds like a feasible price per unit. I'll have to read up more into these, I haven't experimented with Atmega stuff before. Do you have any recommended links?
I put "atmega8 smd audio playback" it into Google and this thread shows up on the first page already _________________ Circuit Bent Sonic Absurdity:
www.bogus-noise.co.uk
http://www.youtube.com/user/BogusNoise |
|
Back to top
|
|
|
bubzy
Joined: Oct 27, 2010 Posts: 594 Location: United Kingdom
Audio files: 64
|
|
Back to top
|
|
|
Bogus Noise
Joined: Jun 03, 2009 Posts: 65 Location: Sheffield
|
Posted: Tue Feb 11, 2014 1:30 am Post subject:
|
|
|
Ah... of course! Funnily enough I think I have one of those around from an unfinished project from far too long ago. Can't find any of those particular chips online to sell to the UK yet but Digikey carry a wide range of the ISD series, including SMD. Definitely worth looking into this one. _________________ Circuit Bent Sonic Absurdity:
www.bogus-noise.co.uk
http://www.youtube.com/user/BogusNoise |
|
Back to top
|
|
|
DUBmatze
Joined: Feb 18, 2013 Posts: 150 Location: south Germaica (schwabilon)
|
Posted: Tue Feb 11, 2014 4:29 am Post subject:
|
|
|
Bogus Noise wrote: | 25 individual circuits. They're essentially going to be mini personalised greetings cards.
1.80 sounds like a feasible price per unit. I'll have to read up more into these, I haven't experimented with Atmega stuff before. Do you have any recommended links?
I put "atmega8 smd audio playback" it into Google and this thread shows up on the first page already |
dil or smd dont make any difference
this you need:
- somthing to make the program for the atmega -> very easy is the arduino IDE (http://arduino.cc/en/Main/Software)
-a protoboard: you can use an arduino or make your own (http://arduino.cc/en/Main/Standalone)
- the code. in the arduino ide is a pwm example. see: http://highlowtech.org/?p=1963 . Google "Arduino pwm playback"
this is very easy and u need about 1h or so from unpacking your arduino to understand and make this. the trouble starts when making it standalone (a arduino uno clone cost 17€ on ebay). you have chose a atmega with smd solder this up and programm this. the best way is programming it is with a usb programmer and the standard 6pin header in your circuit. |
|
Back to top
|
|
|
Bogus Noise
Joined: Jun 03, 2009 Posts: 65 Location: Sheffield
|
|
Back to top
|
|
|
|