Search found 1586 matches

by pasi
Wed 2019-09-18 9:10
Forum: Slave Decoder Applications
Topic: VS1053 record OOG silent
Replies: 3
Views: 26

Re: VS1053 record OOG silent

But SPI_AIADDR then is not same, I wrote 0x34 to this register but get 0x00 when read. Is it normal? You write 0x34 to start the application. The application intentionally clears the value after starting, so reading back 0x0000 is ok. However, reading SPI_AIADDR seems to cause a call to AudioSet(),...
by pasi
Tue 2019-09-17 14:14
Forum: Slave Decoder Applications
Topic: VS1053 record OOG silent
Replies: 3
Views: 26

Re: VS1053 record OOG silent

VS1003_WriteReg(SPI_WRAMADDR, 0xc01a); reg = VS1003_ReadReg(SPI_WRAMADDR); printf("SPI_WRAMADDR: %x <====\r\n", reg); VS1003_WriteReg(SPI_WRAM, 0x02); reg = VS1003_ReadReg(SPI_WRAM); printf("SPI_WRAM: %x <====\r\n", reg); Note that writing and reading SPI_WRAM autoincrements the address, so you are...
by pasi
Mon 2019-09-16 15:18
Forum: DSP and Audio Software
Topic: Can VS1000 do pitch shifting?
Replies: 8
Views: 40

Re: Can VS1000 do pitch shifting?

Here's sdplayer with pitch shifting 0.75..1.5 (if samplerate is low enough). UART control 'u' / 'd' / 's' for pitch down, pitch up, and set to 1.0x. (Pitch up is 'd', and down is 'u', you can reverse them.) The added code is inside #ifdef USE_PITCH_SHIFT sections, so you can integrate into your code...
by pasi
Mon 2019-09-16 12:51
Forum: DSP and Audio Software
Topic: Can VS1000 do pitch shifting?
Replies: 8
Views: 40

Re: Can VS1000 do pitch shifting?

My old test code seems to be limited between 0.75x and 1.5x, but I'm not sure if that's the limit of the pitch shifter itself.

Are you using SD card or SPI memory for storage? I might be able to give you example code.
by pasi
Mon 2019-09-16 11:10
Forum: DSP and Audio Software
Topic: Can VS1000 do pitch shifting?
Replies: 8
Views: 40

Re: Can VS1000 do pitch shifting?

There is a speed shifter in libdev1000.a, see dev1000.h for the documentation and prototypes. There is also a mono-specific version. To make a pitch shifter out of a speed shifter, you would "just" need to adjust the playback samplerate in the other direction. If you don't care about accurate playti...
by pasi
Mon 2019-09-16 10:16
Forum: DSP and Audio Software
Topic: Can VS1000 do pitch shifting?
Replies: 8
Views: 40

Re: Can VS1000 do pitch shifting?

Hi,
What kind of files are you playing? Mono or stereo Ogg Vorbis? Samplerate?

How good would the pitch-shifting need to be? How much of a shift up and down is needed?
by pasi
Mon 2019-09-09 12:06
Forum: Slave Decoder Applications
Topic: VS1053b / VS1103b MIDI Controls
Replies: 14
Views: 8955

Re: VS1053b / VS1103b MIDI Controls

Great!

It is always good to double-check how it should work from the actual code, so no harm done.
by pasi
Fri 2019-09-06 14:17
Forum: VS1005 and VSOS Software
Topic: May MP3MODEL and parts be used in a commercial product?
Replies: 2
Views: 42

Re: May MP3MODEL and parts be used in a commercial product?

Yes, you can use all libraries and examples as a base to develop your own applications for the vs1005 IC.
by pasi
Mon 2019-09-02 15:25
Forum: Slave Decoder Applications
Topic: VS1053b / VS1103b MIDI Controls
Replies: 14
Views: 8955

Re: VS1053b / VS1103b MIDI Controls

Channel Parameters which affect reverb: - effect control 1 (0x0c) - controls decay time (global) - effects level (0x5b) - channel reverb send level (channel-specific, default is 12) The final reverb amount for a note also depends on the instrument - each instrument has their own "base reverb", and t...
by pasi
Mon 2019-09-02 12:09
Forum: Microcontroller Software
Topic: VS1003 IMA ADPCM Recording
Replies: 5
Views: 364

Re: VS1003 IMA ADPCM Recording

RecordTest.wav does not seem fully valid file, so you are sometimes reading too much, too little, or have transfer errors. Check your SPI read speed. Opening 'RecordTest.wav' got "fmt " left 20 rate 8000, bits 4, format 17 0x0011 WAVE_FORMAT_IMA_ADPCM, ch 1, align 256 got "fact" left 4 got "data" le...