0

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: Actually, I can convert the files to whatever format is necessary.

srboisvert
  • 12,679
  • 15
  • 63
  • 87
  • 1
    Does the pitch have to remain constant or can it fluctuate with the speed changes? – Ryan Bolger Apr 27 '09 at 14:49
  • I am open to any languages. I'm pretty comfortable with them all but would prefer a quicker scripting option over c/c++ or java. I'm thinking it will probably end up being a dotnet app. – srboisvert Apr 27 '09 at 14:49
  • Ryan, I am not knowledgeable about sound so I don't know. I was asked to whip something up for a researcher to let people estimate the tempo of something they heard by listening to a file and adjusting it so my guess is that the pitch would have to be constant or it would be another cue. – srboisvert Apr 27 '09 at 14:59

3 Answers3

2

Windows Media Player v10+ has this built in. Take a look here. Isn't that what you need?

Magnus Johansson
  • 28,010
  • 19
  • 106
  • 164
  • Sweet! I never knew that WMP could do that. Thanks for the tip! – Simon Gillbee Apr 27 '09 at 17:25
  • That's cool but what I need is to be able to manage it programmatically (embed in an app, randomize the initial tempo and record the users selected tempo) so I need to know how to get at it via WMP's API. – srboisvert Apr 28 '09 at 11:28
0

You might take a look at this.


Edit: The WinMM.dll has a function called waveOutSetPlaybackRate (P/Invoke) which might be helpful as this DLL (which has been included with windows since Win 9x) can play MP3's. Here is some basic info on how to play the sounds using C#.

Kredns
  • 36,461
  • 52
  • 152
  • 203
0

So far this is what I have found:

2xAV™ Plug-In For Windows Media Player®

Ideally, I would prefer something open source but if I can't find other options I'll give this a go.

srboisvert
  • 12,679
  • 15
  • 63
  • 87