karawin / Ka-Radio32

esp32 version of Ka-Radio (https://github.com/karawin/Ka-Radio) by jp Cocatrix
516 stars 155 forks source link

add software generated spdif output via I2S data pin #178

Closed r3d4 closed 4 years ago

r3d4 commented 4 years ago

Reworked commit to better integrate into Ka-Radio32. Almost only needs changes in audio_renderer.c

Vasilis-7 commented 3 years ago

Hi. Is it working the SPDIF out?

marcinmaster999 commented 3 years ago

spdif works directly without vs1053 so only soft mp3 works and you hear crackling noises when switching channels but sounds works good ;)

wt., 18 sie 2020 o 08:40 Vasilis-7 notifications@github.com napisał(a):

Hi. Is it working the SPDIF out?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/karawin/Ka-Radio32/pull/178#issuecomment-675286491, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFATJL7AQDJPIRCRWEEMVLSBIO5LANCNFSM4NA4QJ2Q .

Vasilis-7 commented 3 years ago

Thank you for your answer. So, I will attach an optical Transmitter at the I2S data pin. What will be the option for the audio output, in the web interface of KaRadio ?

marcinmaster999 commented 3 years ago

VID_20200818_114013.mp4 https://drive.google.com/file/d/10xXgD4IcJeohxMoWrpPTvKGZ0CTqbRKO/view?usp=drive_web and link to video.best regards ;)

wt., 18 sie 2020 o 11:35 m bla marcinmaster999@gmail.com napisał(a):

this on my karadio32 ;)

wt., 18 sie 2020 o 10:12 Vasilis-7 notifications@github.com napisał(a):

Thank you for your answer. So, I will attach an optical Transmitter at the I2S data pin. What will be the choice for the audio output, in the web interface of KaRadio ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/karawin/Ka-Radio32/pull/178#issuecomment-675330385, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFATJJBWGA22YABIIWKI23SBIZXNANCNFSM4NA4QJ2Q .

Vasilis-7 commented 3 years ago

Thank you. I need access to your file through Google Drive. I have send you a request.

Thank you! Vasilis

marcinmaster999 commented 3 years ago

ok but i go to work a share later you got my picture? a have a size error

wt., 18.08.2020, 13:22 użytkownik Vasilis-7 notifications@github.com napisał:

Thank you. I need access to your file through Google Drive. I have send you a request.

Thank you! Vasilis

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/karawin/Ka-Radio32/pull/178#issuecomment-675420853, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFATJP7ZYZA3G7VECD666TSBJQATANCNFSM4NA4QJ2Q .

Vasilis-7 commented 3 years ago

Ok. No problem. i will wait. Sorry but i cannot understand what are you writing about the picture.

Vasilis-7 commented 3 years ago

I have n't receive any picture.

marcinmaster999 commented 3 years ago

Output will be chosen on web interface.

wt., 18.08.2020, 13:45 użytkownik Vasilis-7 notifications@github.com napisał:

I have n't received any picture.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/karawin/Ka-Radio32/pull/178#issuecomment-675429680, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFATJK3A5G4JPE6ZRXSFBTSBJSUDANCNFSM4NA4QJ2Q .

Vasilis-7 commented 3 years ago

I have the current version, and i don't have option for SPDIF output.

marcinmaster999 commented 3 years ago

maybe try this https://github.com/r3d4/Ka-Radio32/tree/SPDIF

śr., 19 sie 2020 o 12:10 Vasilis-7 notifications@github.com napisał(a):

I have the current version, and i don't have option for SPDIF output.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/karawin/Ka-Radio32/pull/178#issuecomment-676080133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFATJOCXCOBLCANRNLTW3DSBOQIZANCNFSM4NA4QJ2Q .

marcinmaster999 commented 3 years ago

or my https://github.com/marcinmaster999/Karadio32_mod

czw., 20 sie 2020 o 10:06 m bla marcinmaster999@gmail.com napisał(a):

maybe try this https://github.com/r3d4/Ka-Radio32/tree/SPDIF

śr., 19 sie 2020 o 12:10 Vasilis-7 notifications@github.com napisał(a):

I have the current version, and i don't have option for SPDIF output.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/karawin/Ka-Radio32/pull/178#issuecomment-676080133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFATJOCXCOBLCANRNLTW3DSBOQIZANCNFSM4NA4QJ2Q .

briankdlee commented 3 years ago

I can choose sound output as SPDIF with the recent version 1.9 R10. But I wonder how to wire. Can I connect from I2S pin to optical port(i.e. PLT133) directly? Isn't there needed any resistors?

r3d4 commented 3 years ago

Yes, you can wire PLT133 Pin 3 (VIN) directly to I2S data pin. PLT133 has logic input so no resistor is needed You also need to connect 3V..5V power supply at PLT Pins 1(GND) and 2 (VCC). Also put 100nf ceramic capacitor between VCC and GND direct at PL133 pins.