>On Mon, Jul 23, 2012 at 07:06:21PM +0200, Peter Laufenberg wrote:
>> >Peter Laufenberg <open...@laufenberg.ch> wrote:
>> >
>> >> I want to set up a minimal mp3 Internet radio streamer directly on my
>> >> PPPoE ADSL modem so it doesn't travel through the rest of the LAN and
>> >> pollute logs,
>> >
>> >I don't understand that rationale.
>> 
>> For Internet radio to feel as if I was listening to FM radio -- no/little 
>> impact on my LAN, works even if all my computers are off (except the Geode & 
>> modem), can be on all the time. I don't need or want visual feedback, fancy 
>> equalizers or mouse, just 2 accessible *physical* buttons. Picture a car 
>> mechanic with a crappy FM receiver if you will. The decoded audio signal 
>> plugs into the rest of my audio gear which is not PC-based.
>> 
>> >> For play/stop & next controls I'd use a small USB gamepad-type or MIDI
>> >> controller,
>> >
>> >That looks like the most difficult part, because offhand I have no
>> >idea how to interface those input devices with a tty.
>> 
>> The point is not to need tty or network client/server messaging.
>> I query a USB device directly, never leaves the Geode. I've done
>> more complex stuff before, www.hackerdjs.com, and have lots of
>> gear just lying around, forget about that part it's a
>> distraction.
>
>I agree that the most natural interface would be to a simple knob
>to select stations, possibly a knob for the volume, and possibly a
>led to indicate the state.

Nice to find someone who understands audio interfaces, and no I'm not an 
extremist vinyl fondler. I control the volume on the pre-amp, manually, then it 
goes to my industrial Brazilian "Watsom" amp, low-end compared to the racked 
models Sepultura use at concerts, but powerful enough to send cops over every 
now and then.

A led wouldn't be of much use, one of the stations, Ibiza Sonica (mellow 
compared to actual clubs), frequently broadcasts from live venues, drops in & 
out and has gain hickups like somebody sat on an upslider. When the other 
station stops, Couleur 3, it's usually because my crappy ISP connection did. I 
only listen to those two cause I can't figure out Santa Monica KCRW's new grid. 

>If you have a nice usb midi controller with knobs and leds, and if
>you are not scared by writing code, you could write a small program
>to run & kill mpg321/mplayer/whatever instances depending of
>current state of the controller. It's not complicated afaics.

Nah the stressful part was using my MIDIbots router whose Lua scripts I 
idiotically tweaked just before the event. At home who cares, it can crash & 
burn.

>Using directly libmad/libcurl rather than a player and submitting
>audio data to the device could allow switching between stations to
>be smoother. Example, start decoding the next station while the
>previous is still playing, etc.

I'm more concerned about overloading the Geode than rude crossfades. That setup 
is just for radio, my offline library is a hell lot hairier to manage and 
definitely requires a rich UI.

Thx for the advice on libmad/libcurl, I'll try that.

-- p

Reply via email to