USB microphone as ShoutCast input?

Need help with MPD?
Post Reply
Jeremys
Posts: 5
Joined: December 6th, 2018, 9:27 am

USB microphone as ShoutCast input?

Post by Jeremys » December 6th, 2018, 9:38 am

Dear Board.
I'm sorry but I need some help, 've been searching this forum and google in vain.

? How to Add USB microphone as Shout input device?

Using Raspberry Pi 3 (2018-11-13-raspbian-stretch) with Music Player Daemon 0.19.21.
I have one Shout output that works perfectly:

Code: Select all

audio_output {
	type            "shout"
	name            "RasPi MPD Stream"
	description     "MPD stream on Raspberry Pi"
	host            "localhost"
	port            "8000"
	mount           "/mpd"
	password        "pass"
	bitrate         "256"
	format          "44100:16:2"
	encoding        "mp3"
}
And now I'm trying to get my USB microphone (hw:1,0?) to be the second input for shoutCast.

I'v tried (device "hw:1,0") and (mpc add alsa://hw:1,0) but in vain.

What do I need to add to mpc.conf to have my microphone as second shoutcast output?

max
Forum team
Posts: 800
Joined: January 15th, 2013, 3:43 pm

Re: USB microphone as ShoutCast input?

Post by max » December 6th, 2018, 9:55 am

Your MPD version is outdated and unsupported. See https://www.musicpd.org/help/

Jeremys
Posts: 5
Joined: December 6th, 2018, 9:27 am

Re: USB microphone as ShoutCast input?

Post by Jeremys » December 7th, 2018, 7:28 am

Thank you Max, will update.. using "sudo apt-get install mpc mpd icecast2" before..

but what is the syntax for USB microphone as audio_output {}?

max
Forum team
Posts: 800
Joined: January 15th, 2013, 3:43 pm

Re: USB microphone as ShoutCast input?

Post by max » December 7th, 2018, 9:46 am

"be clear about what you expect MPD to do, and what is actually happening"

So what do you expect to happen when you try to output audio to a microphone?

Jeremys
Posts: 5
Joined: December 6th, 2018, 9:27 am

Re: USB microphone as ShoutCast input?

Post by Jeremys » December 7th, 2018, 12:46 pm

I guess I would expect to have two shoutcast mountpoints at port 8000: /mpd for mp3 library to play and /mic moutpoint to hear the microphone.

max
Forum team
Posts: 800
Joined: January 15th, 2013, 3:43 pm

Re: USB microphone as ShoutCast input?

Post by max » December 7th, 2018, 1:54 pm

So this has nothing to do with Shout and outputs. You want to know how to operate the "ALSA" input plugin.
To be able to help you, you should obey https://www.musicpd.org/help/
Really.

Post Reply