mp3

How can I layer two audio files in C#?

I need to mix two audio files. Audio 1 will be a static file and used to "tag" Audio 2. To be clear I'm talking about an audio tag not an ID3 tag. There are two basic problems I can't wrap my head around. 1) How can I repeat Audio 1 when mixed with Audio 2 so that the result is the same length as Audio 2? 2) Audio 2 will be an MP3 an...

MP3 coversion on Amazon's EC2

I run a small record label and we have a bunch of audio files stored on Amazon's S3. We want them converted to MP3's with a standard bitrate. I read about the NYTimes converting all their PDF's using EC2 and since I'm a nerdy web programmer, I'm intrigued. Instead of downloading all the files and converting them by hand, I'm wondering wh...

C# and mp3 fade in/out

I am looking for a library to offer me an option to cut mp3 files. I want to cut a certain part of file and fade in/out the volume. Right now Im using Windows Media Encoder SDK, but it does not have an option to fade in/out or I am not aware of it. On some forum I noticed that somebody suggested DirectX SDK for fading, but I cant find ...

How do I create a "sound on/ sound off" button?

I've seen many web pages with a simple sound on /sound off button which plays music or some mp3 file when you press sound on and turns it off when you press off. How do I do that? Hi, I wasn't planning on using Flash -- if there is a standard plugin I could use and then make modification to the script, that'd be cool. I'm open to what...

Converting mp3 bitrates using lame_enc.dll or similar.

I need to programatically convert mp3's of any bitrate to a standard bitrate for streaming audio using c#. Currently a buffer is populated with mp3 data from disk and then send out to the "listeners" at what should be a constant speed (the broadcast), but the mp3's could be of any bitrate. This makes timing extremely difficult and should...

How can I open an mp3 file using Java/Groovy via a URL?

Does anyone have any useful advice/links to information about working with mp3 files in Groovy. I appreciate that this is just the same as working with Java libs, but wanted a simple solution to this problem: I want to load an mp3 via a URL and interrogate it. I'd like to test whether it exists and pull out the title, artist and defau...

Play MP3 from .net code

I am getting married this coming Saturday (May 30 2009). We are poor. So, instead of hiring a DJ, I want my friend to kick off mp3 playlists from a laptop to be played through a PA system. Well I had a vision for some software that would be perfect for this. Here is that vision: I want this to be so that my friend can't screw this up ...

WAV / MP3 Conversion On Web Server

I'm looking to convert uploaded WAV files to MP3 on my shared hosting server (ASP.NET / C#) and am curious if anyone else has tackled this before. I've seen a few open source C# libraries for performing audio conversion (AumpLib, for example), but in most cases it looks like people are using them on desktop applications. Are there any ...

Audio Libraries for MP3 editing

In one o f my projects using ASP.NET + C# I want to be able to dynamically create 30 seconds clip of MP3 files and add a fade in/out. What library would you recommend? I saw there are a lot, including: http://www.alvas.net/alvas.audio.aspx http://www.audiosoundeditor.com/ http://www.mitov.com/html/audiolab.html Have you...

How to get audio data from a MP3?

Hi, I'm working on an application that has to proccess audio files. When using mp3 files I'm not sure how to handle data (the data I'm interested in are the the audio bytes, the ones that represent what we hear). If I'm using a wav file I know I have a 44 bytes header and then the data. When it comes to an mp3, I've read that they are ...

Ubuntu mp3 runtime command

Is there a command that I can run on an mp3 file that will pipe it's runtime to stdout without playing the file? ...

Ruby mp3 Id3 parsing

Hello folks, Currently im working on some sort of music project, so dealing with user mp3 uploads. And the problem is that i cant find id3 library, that will work correctly for all files. I have tried libs: id3-ruby, Mp3Info, but still none of them gives me correct results. For example, most common problems: wrong stream parameters ...

Python library for playing fixed-frequency sound

Hi, I have a mosquito problem in my house. This wouldn't usually concern a programmers' community; However, I've seen some devices that claim to deter these nasty creatures by playing a 17Khz tone. I would like to do this using my laptop. One method would be creating an MP3 with a a single, fixed-frequency tone (This can easily done by...

What is the defacto standard for an audio player in a web page?

I need to embed some audio in a corporate web site. The user is aware they will be getting the audio, and will be looking for it. I found several flash players, but nothing seemed to simply let me embed audio on the page with a play button without jumping through several hoops and creating playlists. ...

Is there a way to play mp3s in Qt 4.5?

Is there a way to play mp3s in Qt 4.5? Thanks! ...

mp3 length in milliseconds

I need a script or cmd line tool get an mp3 length in milliseconds. The files are 64 kbits mono cbr encoded with lame. (I looked for a libmad for ruby, my language of choice, but found nothing noteworthy...) ...

What are the best affordable c++ audio libraries?

I'm looking for a c++ audio library that can play mp3s and mix audio. I can spend some money on it, but I'm on a somewhat tight budget, so the less the better. It really needs to just run on Windows and Mac OS X although Linux and embedded devices are a big plus. Anyone know of a good library or two? Thanks! ...

Embedded flash player for uploaded mp3s

I'm looking to create a site that essentially has the some of the same functionality as myspace's music section (hopefully a little less garish). I'd want to allow users to upload mp3s and then have an embedded flash player on their profile that plays their songs. Is there anything pre-built like this? If not, what are some good tutorial...

How do I concatenate files in Python?

I have multiple (between 40 and 50) MP3 files that I'd like to concatenate into one file. What's the best way to do this in Python? Use fileinput module to loop through each line of each file and write it to an output file? Outsource to windows copy command? ...

calculate mp3 average volume.

I need to know the average volume of an mp3 file so that when I convert it to mp3 (at a different bitrate) I can scale the volume too, to normalize it... Therefore I need a command line tool / ruby library that gives me the average volume in dB. ...