Changing wave freq

This is a discussion on Changing wave freq within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by abachler I think the OP is askign hwo to take a 5 second clip of a mans ...

  1. #16
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,274
    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
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    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.

Page 2 of 2 FirstFirst 12
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, 07: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, 12:41 PM
  4. Processing a sine wave file
    By subdene in forum C++ Programming
    Replies: 2
    Last Post: 07-12-2004, 04: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21