Hi at all,
I' m trying to change the playback speed of an mp3 or aac file. The documentation about the sonic filter says that it needs a wav input. So my question is: how the pipeline needs to look like?
Option 1: File reader -> mp3/aac decoder -> sonic -> i2s output
Option 2: File reader -> mp3/aac decoder -> wav encoder -> wav decoder -> sonic -> i2s output
Option 3: File reader -> mp3/aac decoder -> wav decoder -> sonic -> i2s output
The point is, that I don't understand what comes out of the mp3/aac decoder? That should be wav or not? I tried all 3 options without success. Maybe I'm missing some kind of buffer in between? Option 1 was doing something but the sound quality was bad and the speed was not adjusted.
Thanks for your help!
Kilian
Filter with encoded input like mp3 or aac
Re: Filter with encoded input like mp3 or aac
Do you use the `set_sonic_info` to set sonic samplerate and channel? If no use, please use `audio_elememt_getinfo` to gain the samplerate and channel of music, then use `set_sonic_info` to set samplerate and channel of sonic
Who is online
Users browsing this forum: No registered users and 7 guests