| Subcribe via RSS

Pitch Shift in Flash

July 2nd, 2009 | Comments Off | Posted in Audio, Flash

Lee Brimelow and Andre Michelle got together this week to actually do something we’ve only hypothesized about: enabling pitch-shift in Flash. We talked about it – they did it. I’m completely in awe… THANK YOU!!

image links to article & player:

 

(theflashblog.com) This is an extension of the example that can be found in the documentation for the Sound.extract method. Now this example does adjust the pitch but it also speeds the song up as well. This is because you need to skip some samples in order to increase the pitch. Now there are ways to increase the pitch of sounds without speeding them up but I have no idea how to do it. Do you?

 

image links to article & player:

(blog.andre-michelle.com) Pitching MP3 (Not PitchShift!) is possible since Flash10s new Sound API. Today I saw Lee Brimelow’s post about doing so, providing some source code. Cause we spend a lot of time to keep things running more smoothly in the AudioTool, I created another version with has some advantages.

  • No objects are created in runtime (memory usage)
  • The SampleDataEvent is receiving a static blocksize (steady latency)
  • Linear interpolation (sound quality)
  • Speed can go down to zero
  • Adobe – Make some noise

    June 3rd, 2008 | 1 Comment | Posted in Audio, Flash

    Adobe - make some noise logoI’ve been doing a lot of research on how Flash manages sound. Naturally with Mixwit, we’re going to want to have various tools to manipulate audio, including pitch control, tempo control, EQs, etc.

    A few days ago I was researching a few audio visualizers and made several discoveries.

    One biggie is a conflict bug in AS3’s SoundMixer.computeSpectrum(), a class that appears to be directly tied to the actual Flash Player plug-in rather than the current flash movie. The problem occurs if you’re trying to use computeSpectrum when you also have another Flash movie that requires sound, regardless if they’re on the same page. So if you have audio+spectrum in tab #1 of your browser, and a YouTube video in tab #2, computeSpectrum won’t work… and in some cases will crash Firefox. Woot.

    On a high note, the coolest discovery path begins with popforge, an AS3 code-base containing several new audio classes. I haven’t delved too deep into this but expect to very soon. Popforge is a collaboration between two amazing Flash/audio developers: Andre Michelle and Joa Ebert, both developers for Hobnox. They’ve been a big buzz in the ear of Adobe, making demands for more control over audio in Flash. They’ve also set up the Adobe: Make Some Noise website to chronicle the changes they want in the upcoming releases. As a result, Adobe has already revealed details on how Flash 10 has already implemented a new dynamic sound generator. Extra cool.

    Tags: , , , , ,