how to use line_in (I neeeeeeed helf :cry: )

qiuzelin
Posts: 2
Joined: Sat Nov 20, 2021 7:34 am

how to use line_in (I neeeeeeed helf :cry: )

Postby qiuzelin » Sat Nov 20, 2021 8:20 am

I want to ask some questions aout the line_in.

I want to do this: receive audio data from LINE_IN, process it and the output. I ran the official example 'pipeline_passthru' successfully.
However I found that I can't change the data received from LINE_IN. Even after I remove the 'i2s_stream_writer' in 'pipeline_passthru', I can still get output. It seems that it always outputs what you input by LINE_IN no matter if there is an 'i2s_stream_writer'. Because of that , I cant do what I want to do.

Anyone help me, please?

Excuse me for my poor English

beyound
Posts: 20
Joined: Sat Jan 01, 2022 9:55 am

Re: how to use line_in (I neeeeeeed helf :cry: )

Postby beyound » Fri Feb 18, 2022 1:18 pm

you can call I2S_Read to read audio samples from codec es8388 and use I2S_Write to output samples after you init i2s and i2c.

1, init i2s and audio board.
2, while(1)
i2s_read
DSP
I2S_write

that's all.
不用客气!

beyound
Posts: 20
Joined: Sat Jan 01, 2022 9:55 am

Re: how to use line_in (I neeeeeeed helf :cry: )

Postby beyound » Fri Feb 18, 2022 1:23 pm

If you want, you can contect me with Wechat. we can talk about DSP and Esp32

Who is online

Users browsing this forum: No registered users and 31 guests