MiczFlor / RPi-Jukebox-RFID

A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
http://phoniebox.de
MIT License
1.37k stars 398 forks source link

Question: Adding a microphone for singing #826

Open Discoverer81 opened 4 years ago

Discoverer81 commented 4 years ago

Hello,

i´m building the phoniebox for my son and i would like to add a microphone, so that he can also sing with it.

I have an USB-Soundcard and want to stick the cinch of the microphone in it.

Now my question, how can i add this without destroying any important codes which Phoniebox needs?

Does anybody has this option and can share his programming please?

Thanks in advance!

s-martin commented 4 years ago

Do you want to record something from a microphone? Then you would need to add a dedicated record GPIO button and uncomment the recording functionality in scripts/gpio-buttons.py.

Using the IN port of the USB sound card should work, but I haven't done it myself, so I don't know, if you need to change some other settings, too.

Discoverer81 commented 4 years ago

Hello,

i´ve checked it on alsamixer, but my micro isn´t shown there. The mirco is dont defect, i also checked to be sure.

Even so, my target is to speack into the micro and voice come out of the boxes. Do i need sth additional that this works?

s-martin commented 4 years ago

Unfortunately I don't have much experience with alsa, so I can't really help you. But I think your desired functionality should be possible with alsamixer.

ZyanKLee commented 4 years ago

I'm also not sure how this works with alsa, but it is surely just a matter of settings. A web-search for alsa and microphone to speaker should bring helpful sources.

Discoverer81 commented 4 years ago

Hi,

checked on this, but found nothing. I think i need something to set microphon as default (always on)

ZyanKLee commented 4 years ago

always on

😨

at least its not sending the audio off to some proprietary cloud 😆