Go Down

Topic: Reversed voice recorder (Read 541 times) previous topic - next topic

anatjari

I am an artist, I am looking to make an interactive art work where the participant records a spoken word, then that word is repeated back, but in reverse. E.g., "Cat" becomes something like "tack".  I did venture into Arduino world 5 years ago, but I'm basically starting from the beginning, so  a full list of what I will need is greatly appreciated!

DVDdoug

Yo might be able to do it, but I think you're "nuts" to attempt that with Arduino.   ;)   The Arduino is "under-powered" for audio processing and there is no built-in DAC on a standard Arduino.   Plus, you'd need a preamp on the input and a power amp (or powered speakers) on the output.

The TMRpcm library uses "fast PWM" to approximate analog-out without a DAC but that can be "tricky".    TMRpcm also has a recording feature but a lot of people have trouble with that too.

If you can record and play-back reversing the audio is easy...  You just reverse the samples or read the audio file/data backwards.  


Is there a reason you can't use a computer or smart phone?  A computer has a soundcard and plenty of processing power and if you have a laptop it's got a built-in microphone.   If you need something stand-alone, maybe check-out the Raspberry Pi.  It's got some limitations too but it should be more suitable than the Arduino.


Grumpy_Mike

#2
Apr 23, 2019, 06:20 pm Last Edit: Apr 23, 2019, 06:24 pm by Grumpy_Mike
Yes I have done this. You need some external memory and an external D/A converter.
It is in my book
https://www.apress.com/gb/book/9781484217207
It does do in in real time as well.

Hello becomes warla and conversely if you say warla it comes out as hello.

Note this is not possible on the Raspberry Pi because Linux screws things up as it keeps stealing chunks of time from you.

MarkT

I am an artist, I am looking to make an interactive art work where the participant records a spoken word, then that word is repeated back, but in reverse. E.g., "Cat" becomes something like "tack".  I did venture into Arduino world 5 years ago, but I'm basically starting from the beginning, so  a full list of what I will need is greatly appreciated!
You mean the audio is played back in reverse, or that the speech is parsed into words and the spelling reversed and resynthesized?  The first is vastly easier, but you still need a device with enough RAM to store the whole audio recording, which depends on sample rate, sample depth and max recording time wanted.
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

danielcarreraestudia

have you tried Audacity? you can do that...
You never end learning...

Grumpy_Mike

have you tried Audacity? you can do that...
Yes but not without active user intervention.

Go Up