MrSinatra;573067 Wrote: 
> i'm not sure i understand exactly what you're trying to do?

Sorry, I'll try to explain a little more clearly.

I have "a box."  You plug either analog audio (that gets immediately
digitized at, e.g., 44.1kHz/16bits or similar) or digital audio into
it.  In general I happen to know that that audio was previously
compressed.

"The box" has a serial port on it over which I receive metadata over. 
So internally I have metadata and a PCM data stream (i.e., just raw
audio samples).

And finally, "the box" has an Ethernet port on it.  It's plugged into
the same network as a Squeezebox server as well as a few Squeezebox
players (radio & duet in my case -- not any of the really old ones).

The goal is to come up with the *simplest* encoding method possible
within "the box" that will allow a Squeeze player to playback the audio
stream and successfully receive metadata.

The most *obvious* means of this is to have the box provide a
Shoutcast-compatible stream -- which is just straight MP3 plus metadata
inserted every now and again.  However, "the box" doesn't have a very
powerful CPU (just some low-end ARM), so it's not fall-off-a-log-easy
to get the box to perform real-time MP3 encoding.  ...plus doing that
MP3 encoding is undesirable since, as mentioned, the audio inputs
already came from a compressed source.

> 
> my questions to you are this:
> 
> 1. are you trying to get the metadata reported by your radio hardware
> broadcast as part of your net stream?
> 

Yes.

> 
> 2. why does any of this have anything to do with squeezebox?
> 

Because Squeezeboxes are the "listening devices" I'm primarily
targeting, and unfortunately there's no obvious place to go that
provides a comprehensive list of which audio formats they support.

> 
> for the first question, i think it will be hard to do unless you have a
> script or something that can parse the data and reinsert it.  does the
> DAB output the metadata as XML or something?
> 

It comes in over a RS-232-like serial port, so it's easy for me to
parse and keep around in a global structure.  If you look at the
Shoutcast format, it's trivial to create if you already have an MP3
stream and the metadata around -- I'm just trying to avoid having to
create an MP3 stream, if possible.

Thanks for your help,
---Joel


-- 
JKoltner
------------------------------------------------------------------------
JKoltner's Profile: http://forums.slimdevices.com/member.php?userid=22531
View this thread: http://forums.slimdevices.com/showthread.php?t=81604

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/ripping

Reply via email to