music

Music - How do you analyse the fundamental frequency of a PCM or WAC sample

Sample held in a buffer from DirectX. It's a sample of a note played and captured from an instrument. How do I analyse the frequency of the sample (like a guitar tuner does). I believe FFT's are involved, but I have no pointers to HOWTO's. ...

How to programmatically normalize music tags?

Suppose I have a large and legal collection of music that has been inconsistently tagged. I want to normalise a single field, eg Artist, so that, for example, the following artists all become the one artists: the Grateful Dead the gratefull dead grateful dead grateful dead, The So... should I be looking at trying to match against a ...

Suggestions on how to add the functionality to import Finale music files on an application?

I'm working on a music writing application and would like to add the functionality to import Finale music files. Right now, the only thing I know is that they are enigma binary files. Does anyone have any suggestions on where I could start so that I could be able to parse through these types of files? ...

Python Music Library?

I'm looking at writing a little drum machine in Python for fun. I've googled some and found the python pages on music and basic audio as well as a StackOverflow question on generating audio files, but what I'm looking for is a decent library for music creation. Has anyone on here tried to do something like this before? If so, what was...

time length of an mp3 file

What is the simplest way to determine the length (in seconds) of a given mp3 file, without using outside libraries? (python source highly appreciated) ...

Software Synth Library for Java

I've been thinking a lot lately about a music-oriented project I'd like to work on. Kind of like a game... kind of like a studio workstation (FL Studio, Reason). I guess the best way to describe it would be: like "Guitar Hero", but with no canned tracks. All original music--composed by you, on the fly--but the software would use its kno...

How do you get a flash mp3 player to keep playing if a user changes page?

I really like the mp3 player on 8tracks.com and was wondering how they manage to keep the mp3 playing even when I change pages? For example, listen to the track here http://8tracks.com/mixes?q=Aztec+Camera and click on one of the links to another page. The music cuts out for 1/4 of a second and then comes back in at exactly the right po...

How do I convert an M4A file to an MP3 or WMA file programmatically?

Greetings, I'm trying to find either a free .NET library or a command-line executable that lets me convert M4A files to either MP3s or WMA files. Please help :). ...

Creating music visualizer

So how does someone create a music visualizer? I've looked on Google but I haven't really found anything that talks about the actual programming; mostly just links to plug-ins or visualizing applications. I use iTunes but I realize that I need Xcode to program for that (I'm currently deployed in Iraq and can't download that large of a f...

Sorting music

So over the years, I've bought music off iTunes, Urge, and Rhapsody and all these files are lying mixed with my non-DRM'd MP3 files that I've ripped off my CDs. Now some of these files have licenses that have expired, and some of them have valid licenses. I want to sort my music by various DRM/license restrictions that they have on them...

Bandlimited waveform generation

I am writing a software synthesizer and need to generate bandlimited, alias free waveforms in real time at 44.1 kHz samplerate. Sawtooth waveform would do for now, since I can generate a pulse wave by mixing two sawtooths together, one inverted and phase shifted. So far I've tried the following approaches: Precomputing one-cycle perfe...

Procedural music generation techniques...

I've been putting a lot of thought into procedural generation of content for a while and I've never seen much experimentation with procedural music. We have fantastic techniques for generating models, animations, textures, but music is still either completely static or simply layered loops (e.g. Spore). Because of that, I've been think...

How do I play background music in my iPhone game?

The official iphone docs aren't bad, but I'm finding them pretty unhelpful on this subject - all I can find is an API for playing midi files, but that's not what I want. I just want to play an MP3 in the background. And if the user is already playing their own music, obviously I don't want to play my own on top of it. Is there a "correc...

Looking for evolutionary music example code

I would like to implement an interactive evolutionary algorithm for generating music (probably just simple melodies to start with). I'd like to use JFugue for this. Its website claims that it is well-suited to evolutionary music, but I can't find any evolutionary examples. I already have a framework to provide the evolutonary machiner...

What's the best strategy for team room music?

Members of my team often dislike the music taste of others. All they can agree on for a while is radio, but all are kinda dissatisfied by that. And there are members who can't concentrate at all when there's music. Headphones for everyone? Any other idea? (no, not put them in different rooms, b/c they're supposed to be a team!) ...

Detecting duplicate music files

I've got two directories containing ~20 GB of music files (mostly mp3, some ogg), and I would like to detect all duplicate songs. There are two complicating factors: A song may have different filenames in the two directories. Two files containing the same song may have different ID3 tags and thus have different checksums. What is a g...

Can an application find out information about currently playing song on iPhone/iPod Touch?

I've searched around a bit in the small amount of iPhone/iPod Touch development information available and couldn't find anything for or against. Can an application find out information about currently playing song on iPhone/iPod Touch? Since the music can continue to play while you are in 3rd party applications, is there a function or ...

Meta-composition during music performances

A couple of weeks ago, my piano teacher and I were bouncing ideas off of each other concerning meta-composing music software. The idea was this: There is a system taking midi input from a bunch of instruments, and pushes output to the speakers and lights. The software running on this system analyzes the midi data it's getting, and deter...

scripting fruityloops or propellerheads reason from VB or Python?

I have both Fruityloops and Propellerheads Reason software synths on my Windows PC. Any way I can get at and script these from either Visual Basic or Python? Or at least send Midi messages to the synths from code? Update : attempts to use something like a "midi-mapper" (thanks for link MusiGenesis) don't seem to work. I don't think Rea...

Software for Classical Music Theory / Composition / Harmony and Counterpoint

Is there any software to help in learning / understanding / experimenting with the rules of harmony and counterpoint? ...