473,385 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

VB.Net and Lame

I am trying to decompress MP3 files to WAV using VB.Net. What I really need
is a wrapper in VB.Net or C# that includes ALL of the Lame.Dll funcitons
including those to decompress to a WAV File. Most I've found so far don't
work and lack any form of documention.
--
Dennis in Houston
Nov 21 '05 #1
8 9725
If you make a reference (in VS .NET) to a COM component, VS .NET will
automatically create a wrapper for the COM component and expose all of the
COM objects functionality. If you've done this and can't find what you are
looking for, it's most likely that what you are looking for wasn't in the
COM component in the first place.

"Dennis" <De****@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...
I am trying to decompress MP3 files to WAV using VB.Net. What I really
need
is a wrapper in VB.Net or C# that includes ALL of the Lame.Dll funcitons
including those to decompress to a WAV File. Most I've found so far don't
work and lack any form of documention.
--
Dennis in Houston

Nov 21 '05 #2
"Scott M." <s-***@nospam.nospam> wrote in message
news:uE**************@TK2MSFTNGP14.phx.gbl...
If you make a reference (in VS .NET) to a COM component,


lame_enc.dll is not a COM component. In addition, as far as I can see from a
quick look, it doesn't support decoding to WAV. The lame.exe command-line
application DOES support decoding.

Tim
Tech blog:
http://www.itwriting.com/blog/


Nov 21 '05 #3
If it's not a COM component and it's not a .NET component, then what
architecture is it built upon?
"Tim Anderson" <ti*****@hotmail.com> wrote in message
news:OO**************@TK2MSFTNGP09.phx.gbl...
"Scott M." <s-***@nospam.nospam> wrote in message
news:uE**************@TK2MSFTNGP14.phx.gbl...
If you make a reference (in VS .NET) to a COM component,


lame_enc.dll is not a COM component. In addition, as far as I can see from
a quick look, it doesn't support decoding to WAV. The lame.exe
command-line application DOES support decoding.

Tim
Tech blog:
http://www.itwriting.com/blog/

Nov 21 '05 #4
On Mon, 29 Aug 2005 15:04:03 -0700, Dennis wrote:
I am trying to decompress MP3 files to WAV using VB.Net. What I really need
is a wrapper in VB.Net or C# that includes ALL of the Lame.Dll funcitons
including those to decompress to a WAV File. Most I've found so far don't
work and lack any form of documention.


If what you chiefly need is to decode MP3 to WAV, see this project:
http://www.codeproject.com/audio/mad...80#xx1146380xx

It doesn't use LAME, but rather libmad as its base. But unlike encoders,
all decoders should be equal, n'cest pas?
Nov 21 '05 #5
"Scott M." <s-***@nospam.nospam> wrote in message
news:e6**************@TK2MSFTNGP14.phx.gbl...
If it's not a COM component and it's not a .NET component, then what
architecture is it built upon?


Traditional unmanaged DLL.

Tim
Tech blog:
http://www.itwriting.com/blog/
Nov 21 '05 #6
Can the Windows Media SDK routines decode an MP3 file to a WAV format?
--
Dennis in Houston
"Ross Presser" wrote:
On Mon, 29 Aug 2005 15:04:03 -0700, Dennis wrote:
I am trying to decompress MP3 files to WAV using VB.Net. What I really need
is a wrapper in VB.Net or C# that includes ALL of the Lame.Dll funcitons
including those to decompress to a WAV File. Most I've found so far don't
work and lack any form of documention.


If what you chiefly need is to decode MP3 to WAV, see this project:
http://www.codeproject.com/audio/mad...80#xx1146380xx

It doesn't use LAME, but rather libmad as its base. But unlike encoders,
all decoders should be equal, n'cest pas?

Nov 21 '05 #7
On Tue, 30 Aug 2005 16:14:02 -0700, Dennis wrote:
Can the Windows Media SDK routines decode an MP3 file to a WAV format?


Probably, but in my searching I couldn't wrap my head around how to use the
Windows Media SDK. :(
Nov 21 '05 #8
Hi Dennis,

Ironically, you posted the same question I was going to ask, but I was
going to ask it in the C# context (I'll take it either way).

Anyway, in doing some more nosing around, I found this:

http://groups.google.com/group/micro...fe492f83b5ef1/

....and I thought it just might help you in your situation. I'm looking
forward to trying it out, though probably not in the near term. Hope it
works for you, though as was mentioned earlier lame_enc.dll may not
support the functions you're looking for, in which case these articles
might be a better way to go:

http://www.codeproject.com/vb/net/LameShell.asp
http://www.csharphelp.com/archives/archive264.html

Have fun!

:: evan.st0ne | s0ftware_engineer + dj
:: -----------------------------------------
:: http://evanstone.blogspot.com/
:: petaluma, ca, usa
Nov 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Rafal 'Raf256' Maj | last post by:
Hi, I have base class that defines function 'fun'. This function is overloaded - it can be used fr argument int or for const char* Function is virtual. Now I create a dervied class cB, and I...
2
by: Jan Winnicki | last post by:
i'm making console app, and its main menu looks like this: Main menu Option 1 Option 2 Option 3 user should hit eg 1 on keyboard to choose Option 1 etc
7
by: Gu | last post by:
hi to all again! well, if i have the simplest object: a=new Object() it seems i can't assign properties to it.. b.c="something" as when i say:
7
by: sbowman | last post by:
I have a completely lame string parsing question, but I need an answer fast and I know this is where to get it...I'm not completely familiar with the Len, Right, Left, and mid functions and I have...
2
by: craigkenisston | last post by:
So, I wanted to implement a very, very basic job posting capability to one of my website. I made some searches and I found there is a JOBS STARTER KIT !! Wow, "it's my lucky", I thought. I...
1
by: Harlin Seritt | last post by:
Is there any type of lame_enc.dll wrapper for Python that's available? Thanks, Harlin Seritt
1
by: Erik Jones | last post by:
So, I was just taking a look at doctest.py and saw this: Then running the module as a script will cause the examples in the docstrings to get executed and verified: python M.py This won't...
2
by: =?Utf-8?B?anVhbg==?= | last post by:
Hello: I have tried for weeks to use LAME in Windows. Can somebody tell me how to do it? I can't add a reference to the project (Visual Basic 2005). Thanks.
18
by: fshsoup | last post by:
If i write this $page = 'start'; for (;;) { include "$page.inc"; } and inside start.inc I put a "break;" it should work, right? no it doesn't. And why isn't there any "goto" statement in...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.