![]() PitchShifter.PitchShift(PitchShift, offset, count, 2048, 4,, buffer) Int samples = mSource.Read(buffer, offset, count) įor ( int i = offset i < offset + samples i++)īuffer = Math.Max(Math.Min(buffer * gainAmplification, 1), -1) This enables to hear what you speak into the microphone from the speakers with minimum delay.įloat gainAmplification = ( float)(Math.Pow( 10. When you click the Start button, the application initializes the capture device in "exclusive mode" to enable minimum latency. ![]() You can change this mp3 file with your favorite karaoke song to sing like a chipmunk or Darth Vader. When you click the "Add Sample Mp3" checkbox, the sample mp3 file starts to play and stops when you uncheck it. Play with the "Pitch" and "Gain" sliders to change your sound. Select your preferred microphone and speaker and click Start.ĪTTENTION: Please use a headset with a microphone to avoid nasty feedback on your speakers. It uses Wasapi to capture and play audio so you need at least Windows Vista to be able to run. This is how the application looks when you start it. This application uses the excellent C# audio library CSCore to capture, play and process audio and the pitch shifting algorithm written by Stephan Bernsee (see references). ![]() I wrote this application to change my voice in "real time" either to a chipmunk or Darth Vader using an audio pitch shifting algorithm. I love the voices of "Alvin and The Chipmunks" and "Darth Vader". ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |