473,883 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 9756
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****@discuss ions.microsoft. com> wrote in message
news:59******** *************** ***********@mic rosoft.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.nosp am> wrote in message
news:uE******** ******@TK2MSFTN GP14.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*****@hotmai l.com> wrote in message
news:OO******** ******@TK2MSFTN GP09.phx.gbl...
"Scott M." <s-***@nospam.nosp am> wrote in message
news:uE******** ******@TK2MSFTN GP14.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.nosp am> wrote in message
news:e6******** ******@TK2MSFTN GP14.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_engine er + 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
1949
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 create new definitions of both cB::fun - cB::fun(int) and cB::fun(const char*) - all is o.k. but - now I decided that function cB::fun(const char*) is same as from cA, so I change it's body to :
2
1410
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
1173
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
1956
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 a field that looks like Last, First M. I need to parse it out into three fields...help?? Thanks! Shelley
2
1530
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 proceeded to download and install it, on a testing machine. All when smoothly. Cool ! I rapidly went and signed up my self, the sign up process asked me to decided whether I would be a job seeker or an employer. I picked the first and went straight...
1
2640
by: Harlin Seritt | last post by:
Is there any type of lame_enc.dll wrapper for Python that's available? Thanks, Harlin Seritt
1
2128
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 display anything unless an example fails, in which case the failing example(s) and the cause(s) of the failure(s) are printed to stdout
2
3266
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
2002
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 PHP? is it impossible for code in the start.inc to get out of my loop?
0
9944
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11154
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10762
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10422
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9586
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7977
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7136
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4622
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3241
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.