Search found 1984 matches

by pasi
Fri 2022-05-27 10:22
Forum: Microcontroller Software
Topic: nRF52 master VS1053 slave - load plugin operation is slow
Replies: 2
Views: 124

Re: nRF52 master VS1053 slave - load plugin operation is slow

Check the tips in: viewtopic.php?f=11&t=2883

Your code comment also reminds you that you can increase the SPI speed after SCI_CLOCKF has been written.
by pasi
Fri 2022-05-27 10:13
Forum: Microcontroller Software
Topic: Slowing playspeed without changing pitch
Replies: 4
Views: 626

Re: Slowing playspeed without changing pitch

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 plugi...
by pasi
Fri 2022-05-27 9:59
Forum: DSP and Audio Software
Topic: Switching between microphone and I2S for VS1053
Replies: 3
Views: 110

Re: Switching between microphone and I2S for VS1053

Two options: 1) Switch to encoding mode. You get the ADC monitoring through the analog output, but you don't need to read out the encoded data. 2) Use the VS1053b ADMixer plugin to mix the ADC input(s) to the decoded signal. If you don't want both at the same time, stop sending the data to decode (s...
by pasi
Fri 2022-05-27 9:49
Forum: Microcontroller Software
Topic: Playing audio with left and right channel components on the vs1053b, and how to use a patch/plugin
Replies: 7
Views: 210

Re: Playing audio with left and right channel components on the vs1053b

Can you include a short portion of the resulting file for me to take a look? (I.e. export a few seconds and attach to a post here.)
by pasi
Thu 2022-05-26 11:07
Forum: Microcontroller Software
Topic: Playing audio with left and right channel components on the vs1053b, and how to use a patch/plugin
Replies: 7
Views: 210

Re: Playing audio with left and right channel components on the vs1053b

Check the output sample format you export from Audacity. vs1053b doesn't support e.g. floating point or 32-bit formats. 16-bit stereo PCM is what should work.
by pasi
Thu 2022-05-26 11:04
Forum: DSP and Audio Software
Topic: Switching between microphone and I2S for VS1053
Replies: 3
Views: 110

Re: Switching between microphone and I2S for VS1053

How did you manage that?

vs1053/vs1063 can only send to I2S in master mode, they cannot receive I2S data.

Did you mean you're sending data from the ESP32 through SDI?
by pasi
Wed 2022-05-25 9:09
Forum: VS1010 Forum
Topic: VS1010 Create PWM with GPIO1_7 for Fading LED effect on Startup
Replies: 1
Views: 93

Re: VS1010 Create PWM with GPIO1_7 for Fading LED effect on Startup

You can try the below "advanced pulse density modulation" version I made a few weeks back. I modified it to use GPIO1, that part is untested. void DeClickIO1(register __c0 s_int16 start, register __c1 s_int16 speed, register __d0 s_int16 bitNum); Call DeClickIO1(0x7fff, -16, 7); to fade GP...
by pasi
Sat 2022-05-21 11:31
Forum: VS1010 Forum
Topic: VS1010D USB DAC supports IPAD and IPH?
Replies: 1
Views: 82

Re: VS1010D USB DAC supports IPAD and IPH?

Does iOS support standard USB Audio Devices? To my knowledge, yes.
by pasi
Thu 2022-05-19 10:05
Forum: Microcontroller Software
Topic: Mikromedia PIC24FJ256GB110 VS1053
Replies: 18
Views: 609

Re: Mikromedia PIC24FJ256GB110 VS1053

in the Initialisation software I write the below to SCI_CLOCKF. WriteSci(SCI_CLOCKF, HZ_TO_SC_FREQ(12288000)); This sets the base XTALI value, but not the internal clock multiplier (PLL). The vs1053b will then run with 1.0x clock, which is not enough for higher bitrates and samplerates in stereo. 1...
by pasi
Wed 2022-05-18 13:37
Forum: Microcontroller Software
Topic: Mikromedia PIC24FJ256GB110 VS1053
Replies: 18
Views: 609

Re: Mikromedia PIC24FJ256GB110 VS1053

If it's slow, then either: - The decoder is not decoding it quickly enough. Do you have SCI_CLOCKF set? E.g. 2.5x should be enough for vs1053b to decode all mp3 files. - You're not providing the data quickly enough. What's your storage? After you have written SCI_CLOCKF, you can probably increase yo...