Aliasing in audio in->out patch

28 views
Skip to first unread message

DIY DSP

unread,
Apr 14, 2015, 10:22:39 PM4/14/15
to axolo...@googlegroups.com
After updating and building this evening (git commit dfafbedbba293145e8308e3576767a02c9cf7677), I tried the guitar multi-fx patch and heard aliasing.  So I modified it to patch in (left channel) directly to out and heard the same aliasing.  I made a short recording which I can upload later.

Johannes Taelman

unread,
Apr 15, 2015, 9:41:53 AM4/15/15
to DIY DSP, axoloti-dev
Hmmm probably a timing issue with the ADC and DAC DMA buffers, resulting in a ADC buffer getting used while it is still being filled.
Both ADC and DAC use a double-buffer DMA setup, but their buffer-swap is not linked.
I had this happening in development, but thought I solved it, and haven't noticed it since, so I'm a bit surprised you get this. Maybe a small variation in timing caused by a different version of gcc or something.
firmware/codec_ADAU1961_SAI.c is the relevant file to look at.


On Wed, Apr 15, 2015 at 4:22 AM, 'DIY DSP' via axoloti-dev <axolo...@googlegroups.com> wrote:
After updating and building this evening (git commit dfafbedbba293145e8308e3576767a02c9cf7677), I tried the guitar multi-fx patch and heard aliasing.  So I modified it to patch in (left channel) directly to out and heard the same aliasing.  I made a short recording which I can upload later.

--
You received this message because you are subscribed to the Google Groups "axoloti-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axoloti-dev...@googlegroups.com.
To post to this group, send email to axolo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/axoloti-dev/d5592de6-e641-481d-9625-4c6481c152a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages