Results 1 to 7 of 7

Thread: Changing frequency in a wav file

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Denmark
    Posts
    16

    Question

    Is it possible to change the frequency of a .wav file in VB3 and if so - how ?
    Thanks

    Claus Bruun
    CLA

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    I dunno if DirectX works with VB3, but using DSound you can change such things of wav files...

  3. #3
    New Member
    Join Date
    Aug 2000
    Location
    PA
    Posts
    1
    I know it's possible with the API, because I've seen examples and I have a project that does it. However, I haven't really looked at it, so I couldn't tell you off the top of my head. Search the internet and you'll eventually find something.

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Do you want to alter the file itself or simply play it back at a different rate?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Hmm, you could just change the frequency in the toc part of the wav file;

    http://forums.vb-world.net/showthrea...threadid=14791
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Denmark
    Posts
    16
    To parksie

    I want to play the .wav file back at a different rate.

    Claus
    CLA

  7. #7
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    If you're using the wave stream functions, set the frequency to what is thould be played at, keeping the data the same.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width