Deutsch English Français Italiano |
<vsjotj$14v21$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!news.tomockey.net!news.samoylyk.net!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: pozz <pozzugno@gmail.com> Newsgroups: comp.arch.embedded Subject: Voice compression Date: Wed, 2 Apr 2025 18:33:56 +0200 Organization: A noiseless patient Spider Lines: 22 Message-ID: <vsjotj$14v21$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 02 Apr 2025 18:33:56 +0200 (CEST) Injection-Info: dont-email.me; posting-host="a8f3dc281d45f50be0652c7d15c0f675"; logging-data="1211457"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ws8vBiNz0HCq960ihKjH42K+8LQl7a4s=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Jz9xtwXpadomehbNmmjjbK0tz90= Content-Language: it Bytes: 1867 I need to manage some audio voice streams. They will be saved on a non volatile memory as raw arrays of unsigned char. The main goal is to play these audio streams through a DAC/PWM. I'm not interested in high quality, a "mid/low" quality could be good. My hardware is a poor AVR8 8-bits MCU. I have a limited memory space, so I'm searching a good voice codec with compression. Lower the bitrate, more streams I can store. 16kbps can be good for my application. Maximum 24kbps. By using 4-bits ADPCM I could have 32kpbs at 8kHz sampling rate. With 3-bits ADPCM I could read 24kbps. I tried to reduce sampling frequency to 4kHz, but the quality is drastically reduced. I know there are many others voice codecs that reduce the bitrate a lot, but the decoder seems too complex to implement on AVR8. Any suggestions?