> Date: Thu, 21 Feb 2002 15:19:40 -0800
> From: Eckhart Koeppen <eck1000_at_gmx.net>
>
> John Goggan wrote:
>> I can't find much in the way of details except that the mp3 data
>> is in a soup named "audio".
>
> The frame format of an entry in the "Audio" soup is as follows:
>
> For regular tracks:
>
> entry := {
> class: 'MP3Data,
> title: "...",
> artist: "...",
> album: "...",
> MP3Data: {
> samples: <Binary object, class 'samples, contains raw MP3 data>
> }
> codec: "MP3"
> }
>
that entry structure looks straightforward for Sloup.
it would map to a set of commands like:
audio
{class: 'symbol, title: "string", artist: "string", album: "string",\
codec: "string", {MP3Data: "binary:samples"}}
MP3Data<tab>Here Comes The Sun<tab>Beatles<tab>Abbey Road<tab>MP3<tab>\
012345678...\
BYE!
>> Is there details on how I can package these up
>> myself and then using Sloup or something to dump an MP3 or two onto the Newt
>> from my Wintel box and play it with MAD Max?
>
> The only problem I see is the MP3Data.samples slot which contains the
> raw MP3 data. It tends to be a quite big object, I'm not sure how Sloup
> deals with those. Steve Weyer has for sure more info on that.
Sloup transfers binary objects as 'hextext' basically just the hexadecimal
representation of the data, but it works pretty universally with any
terminal emulator with just text transfer (and xon/xoff support). if a
string or binary objects gets large, it gets stored in a VBO, so large
transfers are possible (e.g., works for packages, graphics, etc.) though
it's often slow (due to slow serial connections, and verbosity of hex).
main issue would be if there are desktop apps that would generate the hex
format for other objects -- I'm fairly sure the following handle at least
binary for packages:
NewtonLink
http://misf67.cern.ch/~reinhold/Newton/newtonlink-doc-en.html
nXchange
http://www.jotabout.com/newton/nxchange/
or if there are other tools that will do this, let me know so I can update
my Sloup/tools page. (or if other developers want to know about Sloup
format, let me know).
[another transfer option for non-Mac users might be to send the MP3 file via
SimpleMail as an attachment, or transfer to EETransfer via ZModem protocol;
the issue then would be to do a copy of the entry from Inbox along with a
couple of extra slots to the audio soup; a couple of lines of NewtonScript
or NSBasic...]
-- Steve weyer_at_kagi.com Newton apps/tools: Newt's Cape, newtVNC, NewtDevEnv, Sloup, Crypto,... http://www.kagi.com/weyer/-- This is the Newtontalk mailinglist - http://www.newtontalk.net To unsubscribe or manage: visit the above link or mailto:newtontalk-request_at_newtontalk.net?Subject=unsubscribe
This archive was generated by hypermail 2.1.2 : Sat Mar 02 2002 - 10:03:34 EST