Recording, editing and playing simultaneously a signal

Hello,
I am currently making a project for College where I have to create a big recreation of an hearing aid, which means my project needs to record a signal, edit it while separating the frequency bands, and then playing it right after it. I've searched many programs offering to play, or record signals, but I've never seen any which proposes to instantly play an edited sound.
To save some memory, it would also delete the edited sound as soon as it is played. The easiest solution is of course to use a PC software, however the entire idea of this projet is to make it portable. This also implies the program needs to be REALLY quick (as in reality, hearing aids need to be as fast as possible to make them comfortable).
I'm quite sure my Arduino UNO isn't as quick as needed but I'd still like to give it a try. Does anyone has an idea to help me ?

Thanks

Audacity

1 Like

I'm going to use Audacity to verify whether my system works however the goal of this project is to use electronic components and not a PC

Then for those "electronic components" (presumably an MCU) you will have to write a program that is more or less equivalent to Audacity.

The Uno is completely out of the question, since it has far too little memory to store a significant amount of audio signal.

I may not have been precise enough, but as a school project, the real main goal isnt to really recreate an entire hearing aid, as efficient as real ones, but to use the Arduino functionalities, so I sure need a quick program, however it doesn't need to be that complex.
Anyways I found a starting point : https://www.instructables.com/Intelligent-Hearing-Aid/

What a remarkable find! Good luck with your project.

The Instructables project uses entirely analog processing (including digitally-controlled analog amplifiers). There will be no latency (delay). The actual audio doesn't go-through the Arduino.
There is no DSP and the regular Arduino is fast-enough for this.

BTW - Most of the audio latency through a computer is related to buffering which is required with a multi-tasking operating system. So you have dedicated DSP hardware with no operating system, latency isn't usually a problem.

Thanks for these valuable details ! :grinning:

Maybe this project could help?

https://www.pjrc.com/tympan-open-source-hearing-aid/

I guess so but sadly they're out of stock
Thanks still

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.