mp3

How to get the final length on a Sound object that is still loading?

I'm creating a basic MP3 player in ActionScript 3. I have a basic progress bar that indicates how much of the song has played. The progress is calculated as a decimal percentage normalized between 0 and 1 as such: var progress:Number = channel.position / sound.length; The problem is, if the audio is still loading/buffering the sound...

Streaming MP3s from Amazon S3

Is there a way to stream MP3s stored on Amazon S3 via a Flash widget embedded in a website, or some other method? ...

What's the best way of playing audio on Mobile Devices from a web page?

So lets assume we have a load of music files, mp3's most probably but we could re-encode them if it helps. We want as wide a range of people with mobile phones to be able to listen to these as possible via a website - bonus points if we can listen to a playlist (ie. several tracks one after the other). Websites nearly always make use o...

abstracting the conversion between id3 tags, m4a tags, flac tags...

I'm looking for a resource in python or bash that will make it easy to take, for example, mp3 file X and m4a file Y and say "copy X's tags to Y". Python's "mutagen" module is great for manupulating tags in general, but there's no abstract concept of "artist field" that spans different types of tag; I want a library that handles all the ...

should I close() a sound, or stop() the channel? (AS3)

Hi there, I am trying to get a flash application to stop downloading any MP3 when the user leaves the page. So far, I have been using the stop(); command on the channel, however, you can see in the browser activity that the MP3 is still downloading. On the positive, the sound has stopped. Any ideas? I have tried the close(); command b...

Where can I learn how to work with audio data formats?

I'm working on an openGL project that involves a speaking cartoon face. My hope is to play the speech (encoded as mp3s) and animate its mouth using the audio data. I've never really worked with audio before so I'm not sure where to start, but some googling led me to believe my first step would be converting the mp3 to pcm. I don't rea...

How to read ID3 Tag in an MP3 using Python?

Does anyone has an experience of reading and writing ID3 tags in an MP3 file or a WMA file? There are some libraries but I would like to do it from the scratch. :-) ...

How to decode wav, mp3, and/or ogg in .Net/Mono?

I am looking for a cross-platform (.Net and Mono on Windows, MacOSX, and Linux) way to decode wav, mp3, or ogg files such that I can then play the decoded streams through DirectSound or OpenAL as desired. A solution that can decode either mp3 or ogg would be sufficient -- decoding both is not necessary. If it (or another solution) can d...

How can I use lame to encode wav files within a shell script?

I'm trying to set artist information via variables with spaces in them. Lame craps out. Maybe I'm being retarded with bash? #!/bin/bash year=2008; artist="New Kids On The Block"; album="The Block"; bitrate=320; lame="lame -b $bitrate --ta \"$artist\" --tl \"$album\" --ty $year" function first_half { for (( i=1;i<10;i++ )); do ...

Python scripted mp3 database, with a php front end

So, here's the deal. I am attempting to write a quick python script that reads the basic id3 tags from an mp3 (artist, album, songname, genre, etc). The python script will use most likely the mutagen library (unless you know of a better one). I'm not sure how to recursively scan through a directory to get each mp3's tags, and then fil...

Online Flash Mp3 Player Music Button

So I have a website that queries a database with information about music, with id3 information and file location information. I would like to use THIS to add a little playable mp3 player beside each of the search results, but I can't figure out how to do this without generating the xspf file, which would mean I would need an xspf file f...

Access the BPM ID3 tag in iPhone OS 3.0

Is there any way to access the BPM (beats per minute) ID3 tag of a song on your iPod using the iPhone OS 3.0 SDK? I'm looking at https://developer.apple.com/iphone/prerelease/library/documentation/MediaPlayer/Reference/MPMediaItem_ClassReference/Reference/Reference.html and i don't see it: NSString const MPMediaItemPropertyPersistentI...

playing(and controlling) mp3s in Python

First things first, I am a Python beginner, with a typical C++/Java background for object oriented stuff. I was convinced to try Python for this current endeavor I am working on, and so far I like it. One issue I am having though is finding a good mp3 module. I have tried TkSnack, which installed and ran fine with no errors(as long as ...

.mp3 Filetype Upload

I'm working on a PHP upload script which allows .mp3 file uploads amongst others. I've created an array which specifies permitted filetypes, including mp3s, and set a maximum upload limit of 500MB: // define a constant for the maximum upload size define ('MAX_FILE_SIZE', 5120000); // create an array of permitted MIME types $permitted =...

MP3 playback with dynamic tempo adjustment

I need to whip up a quickie app, something quick and dirty, on windows that lets a user control the tempo of a playing mp3 file with a slider. Any recommendations on libraries/programming languages/controls that can make this easy? I don't have control over the media choice (has to be mp3) or the platform (has to be windows) Edit: Ac...

Best library for audio file meta data?

I am looking for a library to read meta data from compressed and uncompressed audio files (i.e. mp3, ogg, etc.). In the past I have used libvorbis and id3lib, but I'm wondering if there are better libraries around? Ideally I would like a library that provides a common API to reading meta data from all the various formats. I realize more ...

Using Ogg Vorbis in Flash/Flex applications

I am looking to use ogg vorbis, instead of mp3s to stream audio. It seems that Flash player does not natively support ogg. Is there a codec engine that can be embedded with the app itself that can play .ogg instead of .mp3? In general, what would be a better format than mp3 for streaming audio and that is supported by Flash? ...

Convert .caf to .mp3 on the iPhone

Hello, is there a way to convert my recorded .caf files to .mp3 using the iPhone SDK / Core Audio, something else? I've been looking around for a while, but all I've found was a command line uitility (which isn't allowed to run on the iPhone). Regards ...

How do I make it difficult for users to save mp3 files from my site to their hard drives?

I want users to be able to upload mp3s and also be able to play them through a player embedded on a page. I know it's impossible to stop dedicated users from copying the audio by directly recording it from the computers output but I want to make it difficult or impossible for a user to just copy a URL and paste it which will allow them d...

How do I seamlessly concatenate MP3 streams?

Hey, I'm working on a streaming server that will be capable of broadcasting targetted ads. Basically listeners hear the same music, but every, say, 30 minutes comes a block of ads and every listener has his/her own block. Implementing such streaming server poses various problems and this question is about one of them. The server will w...