Porting mp3 codec to sharc/scope ?

A place for developers to share ideas and assist each other in solving problems.

Moderators: valis, garyb

Post Reply
casevanrij
Posts: 3
Joined: Wed May 29, 2002 4:00 pm
Location: SLAMMedia Inc
Contact:

Post by casevanrij »

Im interested in using the CW Pulsar as a replacement for the audioscience cards we're using in our audioservers. These cards have 8 analog inputs and hardware mp3 encoders, but are horribly expensive ($3000+ for 4 stereo in)

How realistic would it be to port an mp3 codec (like lame, or iso reference C) to the sharc dsp ? Would the 6 sharc dsps on the pulsar be fast enough to do realtime encoding of 4 or 6 stereo signals to 24-112kbps mp3 ?

And finally, if I were to port lame to the sharc using the analog devices sdk (free 30 day trial!) would I be able to load this code into the pulsar's dsps ?

Thanks.
kimgr
Posts: 621
Joined: Tue May 22, 2001 4:00 pm
Location: Easter Bronx, DK
Contact:

Post by kimgr »

Besides the Analog Devices SDK, you'll also need Scope/DP AND Scope SDK.
But I think that Creamware would be VERY interrested in having mp3 enconding on the platform...

Kim.
jupiter8
Posts: 448
Joined: Wed Mar 28, 2001 4:00 pm
Location: Sweden lives in Norway

Post by jupiter8 »

I have mailed Creamware about the possibility to use C++ code in Scope DP but i have'nt recieved any answer.
Personally i doubt it, but who knows.
kimgr
Posts: 621
Joined: Tue May 22, 2001 4:00 pm
Location: Easter Bronx, DK
Contact:

Post by kimgr »

No doubt... You can with the Scope SDK.
But to create Sharc-DSP code in C++, you need the VisualDSP++ software from Analog Devices.

Kim.
jupiter8
Posts: 448
Joined: Wed Mar 28, 2001 4:00 pm
Location: Sweden lives in Norway

Post by jupiter8 »

So you can do that.
That is really excellent.

How do you "import" the C++ code into the Scope?

Then one should be able to more or less easily compile VSTi:s to the Scope platform.
This is an area that i think could greatly benefit our beloved platform.
kimgr
Posts: 621
Joined: Tue May 22, 2001 4:00 pm
Location: Easter Bronx, DK
Contact:

Post by kimgr »

How do you "import" the C++ code into the Scope?
You simply "drag" the file into your device.
Then one should be able to more or less easily compile VSTi:s to the Scope platform.
This is an area that i think could greatly benefit our beloved platform.
Erhh, no. VSTi's are running on Intel & Motorola CPU's, Scope uses Sharc DSP's, so you'll have to rewrite most of the code. (AFAIK).

Kim.
jupiter8
Posts: 448
Joined: Wed Mar 28, 2001 4:00 pm
Location: Sweden lives in Norway

Post by jupiter8 »

The beauty of C++ is that it is platform independent.
To a degree.

VSTi code is except for the GUI completly platform independent.
You just compile it for a different processor.

I know there would be some work to do, perhaps a lot but most of the code is already written.

Maybe it is even possible to make a generic wrapper for VSTi:s. That is if you have the source code of course.
Post Reply