Sound playback speed

Discussion in 'Questions (Windows Mobile)' started by LineCutter, Jun 3, 2009.

  1. LineCutter

    LineCutter Active Member Licensed User

    Basically I want to playback a wav/ogg/mp3 file at a speed other than 100% of what it was recorded at. Perfection would be to have the option of preserving the pitch, but the ability to change pitch by altering the speed would be essential.

    The only solution I can see is to use the wavgen library to create a new wav for every pitch, but that would prevent me using the overtones/harmonics that make a note sound like an instrument is playing it.

    Does anyone know something I missed, or an alternative solution??
     
  2. LineCutter

    LineCutter Active Member Licensed User

    I've carried on trying to crack this & have come up with a blank. I tried changing the sample freq of the hekkus library speaker, but that only works over a small range & not always reliably for a given wav.

    I suppose that I could read the wav as an array of bytes, read every nth one & write the result out to a file, but that seems to lack elegance (& subtlety given that I can only create the harmonics of the root note).

    Any thoughts anyone??
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice