Page 2 of 2

Re: vs1003b pitch/tempo shifting

Posted: Wed 2020-11-18 5:29
by Cocoa
It's a mp3 file. Sample rate=44.1khz. Bitrate=128kbps.
Clock=12.288MHz, CLOCKF=0xf800, SPI_MODE=0x0804.

Re: vs1003b pitch/tempo shifting

Posted: Wed 2020-11-18 6:57
by Cocoa
It confuses me a lot that speed-down playing is worse than speed-up playing, that's really amazing.
Here is the original song.

Re: vs1003b pitch/tempo shifting

Posted: Wed 2020-11-18 10:43
by pasi
It sounds like that's what that specific algorithm can accomplish.

The difference between speeding up and slowing down is that when speeding up, the playback plays everything only once (uses windowing to play two portions at the same time to "compress" the playing time), while when slowing down the playback needs to play some portions of the output twice.

Although slowing down also uses windowing, it won't sound as good, because for example you'll get transients twice if they appear in the windowed portions. When speeding up any transients only appear once, although their order might sometimes be swapped.

We have some better approaches, but they are not for vs1003.

Re: vs1003b pitch/tempo shifting

Posted: Wed 2020-11-18 11:53
by Cocoa
Thanks for your explanation. By the way, which of your products are capable of performing it well ? What are them ? :D

Re: vs1003b pitch/tempo shifting

Posted: Wed 2020-11-18 14:30
by pasi
A better version of the pitch shifter is available for VS1005.

The original version: http://www.vsdsp-forum.com/phpbb/viewto ... =13&t=2092
And later integrated into the regular distribution (see the link in the second post of that thread).

Re: vs1003b pitch/tempo shifting

Posted: Thu 2020-11-19 11:33
by Cocoa
Thanks a lot, Pasi !