Slowing playspeed without changing pitch

Writing software for systems that use VLSI Solution's devices as slave codecs to a host microcontroller.
Post Reply
sidaro
User
Posts: 2
Joined: Mon 2021-10-25 12:32

Slowing playspeed without changing pitch

Post by sidaro »

Hi,

Setting an higher playSpeed works fine for me but now I would like to set a lower playspeed (without changing audio pitch).
According to datasheet this is not implemented on the chip (only x2, x3,...) but any idea how to do that on the software side?
(I'm using an adafruit music maker feather wing & arduino IDE).

thanks for your help!
User avatar
pasi
VLSI Staff
Posts: 2019
Joined: Thu 2010-07-15 16:04

Re: Slowing playspeed without changing pitch

Post by pasi »

You would need a "tempo changer", which is the reverse part of a pitch-shifter.

Which vs10xx chip are you using?

There are pitch shifter plugins for some of the IC's, see http://www.vlsi.fi/en/support/software/ ... ugins.html .
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
sidaro
User
Posts: 2
Joined: Mon 2021-10-25 12:32

Re: Slowing playspeed without changing pitch

Post by sidaro »

Thanks for your answer, looks exactly what I need.
I'm using the VS1053B included in an adafruit feather wing:
https://cdn-learn.adafruit.com/assets/a ... 1481755871
jtlechem
User
Posts: 16
Joined: Tue 2022-05-10 23:54

Re: Slowing playspeed without changing pitch

Post by jtlechem »

I'm using Adafruit's breakout board with the 1053b and microSD slot (https://www.adafruit.com/product/1381) and need to use the 1053b patches/plugin for tempo shifting

How do I utilize that patch/plugin? Can it be loaded onto my SD and read from there by the 1053?

Since the breakout board is just the 1053 chip + sd reader + aux jack, I'm programming it with my Arduino Uno following these guidelines (https://learn.adafruit.com/adafruit-vs1 ... g-recorder) instead of with VSIDE
User avatar
pasi
VLSI Staff
Posts: 2019
Joined: Thu 2010-07-15 16:04

Re: Slowing playspeed without changing pitch

Post by pasi »

The patches package has been designed to be loaded through the serial control interface (SCI).

Technically it's possible for vs1053 to read files from a uSD card, the standalone player is a proof of that. However, vs1053 doesn't have any SD or FAT filesystem code, so you would need to upload a plugin using your controller (or store the code in SPI memory for vs1053b to load it from there) to allow that. Then, having the loader code in memory at the same time that is loads the plugin over itself would make it pretty hard...

It's much easier to just include the vs1053b patches in your controller and upload from there directly.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Post Reply