Search found 1966 matches

by pasi
Sat 2022-04-09 10:24
Forum: VS1005 and VSOS Software
Topic: chaining i2s input & output
Replies: 18
Views: 5317

Re: chaining i2s input & output

If that's your code accurately quoted, the biggest reason is that you don't have any function there that could contain the code you have put in.

What is on line 20?
by pasi
Wed 2022-04-06 12:57
Forum: Microcontroller Software
Topic: vs1003 simultaneous recording by a microphone of a codec and playback of another audio stream by a codec
Replies: 4
Views: 250

Re: vs1003 simultaneous recording by a microphone of a codec and playback of another audio stream by a codec

The audio paths of vs1003b are pretty limited. If you need simultaneous DAC and ADC functions, the available samplerates are limited, and you need a separate application. You can try the "8 kHz Phone/Headset Application" from https://www.vlsi.fi/en/support/software/vs10xxapplications.html ...
by pasi
Tue 2022-04-05 13:03
Forum: VSIDE
Topic: VSIDE development for VS1053B
Replies: 16
Views: 1971

Re: VSIDE development for VS1053B

audio_buffer .. lineInBuf .. audio_rd_pointer .. audio_wr_pointer they are not used anywhere. Why to do that? A lot the symbols are defined in ROM and allocated to specific addresses. For example the DAC interrupt routine in ROM uses the read pointer to see what the next samples to output are. The ...
by pasi
Fri 2022-04-01 10:44
Forum: Stand-Alone Applications
Topic: AGC does not seem working
Replies: 5
Views: 227

Re: AGC does not seem working

You talked about "target level". Where I can set this value? Or, if not configurable, which value have it? The target level is fixed, I don't off-hand remember what it is, and it varies a bit between the different AGC implementations. You could determine the level yourself by playing a st...
by pasi
Fri 2022-04-01 10:37
Forum: DSP and Audio Software
Topic: OGG Vorbis VOX detection
Replies: 5
Views: 191

Re: OGG Vorbis VOX detection

Can I know if there is an alternative solution and why it was not possible to implement VOX detection with the OGG / VORBIS stereo plugin? I can answer the why: there is not enough code space available with the stereo encoder. For the first question, maybe Henrik has some idea, but he's not at the ...
by pasi
Thu 2022-03-31 11:56
Forum: Stand-Alone Applications
Topic: AGC does not seem working
Replies: 5
Views: 227

Re: AGC does not seem working

The encoding mode in vs10xx ROM checks AICTRL2 when starting and if it's 0, sets it to 65535. The datasheet only describes the ROM functions. The feature doesn't seem to exist in the loadable Ogg Vorbis Encoder Application. Instruction memory is tight in the app for some of the profiles, which may b...
by pasi
Thu 2022-03-31 11:19
Forum: DSP and Audio Software
Topic: Low pass filter on top of MIDI synth
Replies: 7
Views: 268

Re: Low pass filter on top of MIDI synth

Correct, the 4-bit value for the amplitude is in 2's complement format.
by pasi
Wed 2022-03-30 13:41
Forum: DSP and Audio Software
Topic: Low pass filter on top of MIDI synth
Replies: 7
Views: 268

Re: Low pass filter on top of MIDI synth

Ok, the first try. Taking over the 9-tap treble FIR won't give much suppression, so we'll probably need to change our approach. Anyway, the procedure for vs1053b (the addresses are chip-specific) is: - write 0x8100 to SCI_BASS, this will activate the treble control the next time new samples are proc...
by pasi
Wed 2022-03-30 10:16
Forum: Stand-Alone Applications
Topic: AGC does not seem working
Replies: 5
Views: 227

Re: AGC does not seem working

Hi, If this is the vs1053/vs8053 Ogg Vorbis Encoder Application like it sounds, then the document lists: SCI_AICTRL0 Maximum signal level, set to 0x8000 (mono) or 0x8080 (stereo) SCI_AICTRL1 Recording gain (1024 = 1×) or 0 for automatic gain control SCI_AICTRL2 Maximum autogain amplification (1024 =...