Search found 1416 matches

by pasi
Tue 2017-12-05 16:09
Forum: DSP and Audio Software
Topic: VS1053 MIDI audio
Replies: 2
Views: 43

Re: VS1053 MIDI audio

The master and channel volumes affect the level. There is also a compander so that the output would not be clipped.

Do you have SCI connected? (It could be used to manipulate various things.)
by pasi
Wed 2017-11-29 17:06
Forum: VS1005 and VSOS Software
Topic: Long File Names
Replies: 3
Views: 50

Re: Long File Names

There are various solutions to include the information in the file content itself, depending on the format.

WAV can include extra information in a "custom" RIFF chunk, for mp3 you can insert an ID3v2 tag, for Ogg Vorbis you can overwrite the encoder version string.
by pasi
Mon 2017-11-27 13:03
Forum: Slave Decoder Applications
Topic: VS1053b - No luck with flac
Replies: 8
Views: 71

Re: VS1053b - No luck with flac

HDAT1 gives information about the currently playing format. Most formats are detected from the first dozen bytes, so after sending the first block of data, HDAT1 should tell you something. Even if your SPI bus were too slow, you would hear something. If you're using a tried-and-tested plugin load ro...
by pasi
Fri 2017-11-24 13:28
Forum: Slave Decoder Applications
Topic: VS1053b - No luck with flac
Replies: 8
Views: 71

Re: VS1053b - No luck with flac

Hi Andrej, Both files seem to play with my C model and with vs1053b when vs1053b-patches-flac is loaded. HDAT1 should have 'fL', i.e. 0x664c. vs1053b-patches-flac.plg seems to include the write to AIADDR (0x300), so it should start automatically. Do not give software reset after loading the code. Us...
by pasi
Wed 2017-11-22 12:02
Forum: Microcontroller Software
Topic: How to create an Audio File using raw data from VS1053 Encoder
Replies: 10
Views: 123

Re: How to create an Audio File using raw data from VS1053 Encoder

The code looks ok.

Is the the monitoring sound from headphones working correctly? Does it sound normal?
by pasi
Tue 2017-11-21 16:50
Forum: Microcontroller Software
Topic: How to create an Audio File using raw data from VS1053 Encoder
Replies: 10
Views: 123

Re: How to create an Audio File using raw data from VS1053 Encoder

Mystery. Have you checked that your crystal is really running at 12.288MHz and your CLOCKF value is correct?
by pasi
Tue 2017-11-21 14:17
Forum: DSP and Audio Software
Topic: USE_TYPE and QUEUE vs1000
Replies: 3
Views: 580

Re: USE_TYPE and QUEUE vs1000

You should get either "add " or "nof " and the filename as a response.

What are the sizes of spiall.spi and eeprom.img ? Do sdplayer.spi / spiplayer.spi change when you rebuild the solution?

Check that the post-build step of the four solutions have "/y" in "copy /y spiall.spi eeprom.img" .
by pasi
Tue 2017-11-21 14:03
Forum: Slave Decoder Applications
Topic: VS1053b - No luck with flac
Replies: 8
Views: 71

Re: VS1053b - No luck with flac

Does the HDAT1 register value change when you try to play a flac file? Is DREQ always high with FLAC?

Can you send us the FLAC file you are testing with (to support@vlsi.fi )?
by pasi
Mon 2017-11-20 16:07
Forum: Slave Decoder Applications
Topic: VS1053b - No luck with flac
Replies: 8
Views: 71

Re: VS1053b - No luck with flac

vs1053b does not natively play FLAC files. You need to upload the correct variant of the patch from the vs1053b patches package ( http://www.vlsi.fi/en/support/software/ ... tches.html ).

I don't know which variant of the patch, if any, the default Adafruit library uses.
by pasi
Mon 2017-11-20 13:33
Forum: Slave Decoder Applications
Topic: Minimal MIDI decoder
Replies: 31
Views: 2015

Re: Minimal MIDI decoder

If the GPIO pins have pull-down/pull-up resistors, you could try to configure the pins as outputs and to your desired states through SCI_WRAMADDR/SCI_WRAM, and then give software reset. If they are hardwired to GND or IOVDD, this would not work. 0xc017 -> WRAMADDR, 3 -> WRAM, 0 -> WRAM, state -> WRAM.