Go Down

Topic: SPI & ADCs: bit-banging vs SPI.h (Read 3 times) previous topic - next topic


The SD has a lot of overhead between blocks and can be busy at times.  I use two 512 byte buffers to record mono.

I think a Mega would be required for more buffering.

You can't do the four byte thing. 



Ok, I'm gonna go after my electronic drums again then.
Will build 2 different circuits, one to capture 16-bit sound in mono to serial SRAM, some large sample size, write it to SD for transfer to PC for editing.
2nd to play back from SD into SRAM for playback thru DAC when triggered. Have xx number of sounds stored. Maybe an LCD screen with menu to show file name selected, button to load into SRAM when selected. Have volume controlled by peak of drum strike on a Remo practice pad with microphone inside running thru peak detector circuit.  Make a bunch up, run outputs into a mixer with pan/reverb/tone/etc. -> amplifier/headphones/etc.
Or maybe something more central, PC that can talk to each channel via USB for downloading.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Go Up