Thread: Changing wave freq

  1. #16
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by abachler View Post
    I think the OP is askign hwo to take a 5 second clip of a mans voice and increase teh frequency of the audio so it soudns like a womans voice, but maintains the same tempo.

    You need to break the sample into its constituent frequencies and then assign them to highr frequencies. So if a sample contains say 1000 2000 and 4000 Hz you then set the output sample to contain 1500, 3000, and 6000 Hz. Fourier analysis is probably the easiest way to do this, but that isnt to imply that it will be easy.
    That will screw up all the formants and cause the voice to sound like a chipmunk, not a woman's voice.

  2. #17
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    If you simply want to alter the pitch of the sound you can accomplish this via the playback frequency. It isn't perfect but if the play rate is greater than the sampling rate the frequency should increase and vice versa.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compression/Decompression Wave File and MP3
    By cindy_16051988 in forum Projects and Job Recruitment
    Replies: 51
    Last Post: 04-29-2006, 06:25 AM
  2. writing a wave file from my wave samples
    By Queatrix in forum Windows Programming
    Replies: 2
    Last Post: 12-31-2005, 11:54 PM
  3. Changing windows without changing?
    By Lionmane in forum Windows Programming
    Replies: 7
    Last Post: 10-19-2005, 11:41 AM
  4. Processing a sine wave file
    By subdene in forum C++ Programming
    Replies: 2
    Last Post: 07-12-2004, 03:04 PM
  5. Help open wave file in Borland C++ plz
    By toa2k in forum C++ Programming
    Replies: 1
    Last Post: 01-22-2004, 07:55 AM