I have some problem to solve and I need the sampling frequency at 22050Hz. Since we know that for Fs=22050 so meaning that 1s = 22050 data. So, I want to do some frame analysis and for the time being the recording is still runinng. For example:

While recording i want to frame the data to 1024 data only, then from x= 1024 i want to do a simple calculation, x.^2..

Recently I bought the Rugged Audio Shield, to combine it with my Arduino UNO.I would like to load the file "RecordWAV.ino" which I found on https://github.com/RuggedCircuits/Rugged-Audio-Shield-Library/tree/master/examples/RecordWAVWhen I try to load the file using the Arduino software, I get a load of errors.

Rec_PlayBack:31: error: 'RAS' does not name a typeRec_PlayBack.cpp: In function 'void setup()':Rec_PlayBack:34: error: 'RAS' was not declared in this scopeRec_PlayBack:43: error: 'SOURCE_MONO' was not declared in this scopeRec_PlayBack:43: error: 'SOURCE_MIC' was not declared in this scopeRec_PlayBack.cpp: In function 'void loop()':Rec_PlayBack:53: error: 'RAS' was not declared in this scope

So I try to load it via the Arduino UNO. But the errors already pop up during compiling.Do I need other software to load this file?I feel pretty stupid. What do I do wrong? What should I read?

I don't have a lot of experience with Arduino, but I did make a nice 24Vdc/4KW bidirectional motor controller using a Arduino UNO.So making a record and playback sampler shouldn't be so difficult I guess....

I bought RC Audio Shield more then year ago and unfortunately have to say that I was rather disappointed about results.I never used it since.

Here is a short excerpt from a mail I wrote to RC. just to say that the guys never updated their answer:

Hello guys! [...] I got big expectations about your Audio Shield. I just got hooked up by the very first line of your description: "playing audio files from a microSD card (16-bit mono/stereo WAV)". Now I realize that I was too euphoric about it. Because I marginalized the sentence 9 lines further: "12-bit audio input and output resolution". What is the use to put information about playback of 16-bit CD-quality files at the first, if the nominal 12-bit resolution will reduce the sound quality (by decreasing dynamic range / adding noise) anyway?.. Please don't say it is just about marketing. I like the build quality and features of your audio board. It feels sturdy and nice. But now I realize that the quality of audio playback just don't fit my needs. 16-bit audio? No way. So why to mention it at all?.. OK, let's assume it is all about noisy and cool 12-bit sound. Lo-Fi, so to say. Cool guys dig it. I started to put test WAVs on the micro SD. But even if I made neat fade-ins / fade-outs (means from- and to digital zero), the playback on RC Audio Shield always makes a loud, big and scary "bump" both at the beginning and at the end of respective audio file. Should it be like that?.. Please do say it should'nt. I was happy to think that RD Audio Shield will replace my cumbersome Akai S5000 Sampler for playback. But it seems I rather will be fine with Arduino / MIDI Shield (not tested it yet) + Sampler instead - too bad. :-( best, Girts

Hello Girts,

Thank you for your detailed feedback. We will use it to look into the "bumps" at the beginning and end of the sound, and to improve the design for the next revision.

I fixed the "bump" at the beginning and end of playing a wav file by explicitly calling "stop" in the firmware. See pull request here: https://github.com/RuggedCircuits/Rugged-Audio-Shield-Firmware/pull/1

Hello everyone!I am a newbie in the Arduino world, having lots of fun, but ran into a problem.I am trying to combine a Rugged Audio Shield with an Arduino WiFi shield on top of an Arduino Uno.I got the Audio shield to work by itself, I got the WiFi to work by itself, but when I plug in the 3 of them together, in no matter what order, I keep getting the message "WiFi shield not present" (not sure this is the exact message, but...).Is there other ways to connect them, or at least how do I diagnose why the WiFi shield stops working when the Audio shield is present?