Pitch Shifter and Speed Shifter for VS1005 / VSOS

Discussion about writing software for VS1005 and the VSOS Operating System. Also posts about VS1005-related hardware design and device drivers should be posted here.
Post Reply
User avatar
Henrik
VLSI Staff
Posts: 1033
Joined: Tue 2010-06-22 14:10

Pitch Shifter and Speed Shifter for VS1005 / VSOS

Post by Henrik » Tue 2017-03-14 15:47

Hello!

Here is a brand new driver, called FTOPITCH.DL3. It connects to stdout, and offers a combined pitch shifter / speed shifter.

WHAT IS A PITCH / SPEED SHIFTER?

Normally, if you increase the playback speed of an audio file, the song will play at a higher tempo, and also at a higher pitch. Equally, if you slow playback down, both tempo and pitch get lower.

In some applications (e.g. karaoke, or language learning machines), it is desirable to be able to change pitch and tempo separately.

A pitch shifter can change playback pitch without changing playback tempo.

A speed shifter can change playback tempo without changing playback pitch.

FTOPITCH.DL3

FTOPITCH.DL3 offers both functions. It has been optimized to give best quality when the audio sample rate is between 32 and 48 kHz. Se the accompanying README.TXT file to see how to change pitch / speed from the C code or from the command line.

PlayDir

A new version or PlayDir is included, which shows how to program the shifter. It has 6 new keys:
  • '+' - Increase pitch by 0.5%.
  • '-' - Decrease pitch by 0.5%.
  • '=' - Reset pitch.
  • 'f' - Make playback Faster by 0.5%.
  • 's' - Make playback Slower by 0.5%.
  • 'b' - Go back to Base speed.
Kind regards,
- Henrik
Attachments
FtPitch100.zip
Pitch / Speed shifter library. Install the .DL3 file to your SYS/ folder, then read the README.TXT file.
(45.18 KiB) Downloaded 45 times
PlayDir102.zip
Command-line example on how to use the Pitch / Speed shifter in a playback program.
(20.69 KiB) Downloaded 36 times
Good signatures never die. They just fade away.

User avatar
Henrik
VLSI Staff
Posts: 1033
Joined: Tue 2010-06-22 14:10

Re: Pitch Shifter and Speed Shifter for VS1005 / VSOS

Post by Henrik » Tue 2017-05-23 14:47

The Pitch shifter / Speed shifter as well as the newest PlayDir programs are now an integral part of the VSOS 3.42 Root and Libraries Source Code package, available at the end of this thread:
viewtopic.php?t=680

Kind regards,
- Henrik
Good signatures never die. They just fade away.

Post Reply

Who is online

Users browsing this forum: No registered users