Search found 108 matches

by Arek
Thu 2019-10-31 11:21
Forum: VS1010 Forum
Topic: Corrupted files after use "fwrite"
Replies: 8
Views: 618

Re: Corrupted files after use "fwrite"

I suspect that the problem described in another thread ("Problem with automation") may have a common cause.
by Arek
Wed 2019-10-30 17:11
Forum: VS1010 Forum
Topic: Corrupted files after use "fwrite"
Replies: 8
Views: 618

Re: Corrupted files after use "fwrite"

Hi,

I make a few test . Unfortunately your tip did not bring the expected results.
After a few "fwrite" I try to play the sound files again and for ogg get:
TheRobotsO.ogg E'Bad libfile VR2'
Maybe important. As I've seen in terminal window, "currentBlockLoaded" was newer true.

many thanks
am
by Arek
Tue 2019-10-29 16:59
Forum: VS1010 Forum
Topic: Problem with automation
Replies: 4
Views: 316

Re: Problem with automation

PS.
Of course VS1010D boot mode is 4.
by Arek
Tue 2019-10-29 15:47
Forum: VS1010 Forum
Topic: Problem with automation
Replies: 4
Views: 316

Re: Problem with automation

Hi Panu, thanks for quick response. "fwrite"- I check it later but problem with automation is much, much bigger. I had problems already using command line interpreter (Win10, cmd.exe). Simply using copy *.*, copy *.* to sys and as last one copy "dummy" file. Lazarus - Free Pascal #1 for i := 0 to (F...
by Arek
Tue 2019-10-29 14:47
Forum: VS1010 Forum
Topic: Problem with automation
Replies: 4
Views: 316

Problem with automation

My new problem. This time it concerns the process of automatically copying data to SPI memory. As long as I do everything "manually" (promx with Termite, "format, "sys" and copying files with Windows Manager)- everything works as expected. Unexpectedly, for me, automating these processes seems impos...
by Arek
Mon 2019-10-21 17:53
Forum: VS1010 Forum
Topic: Corrupted files after use "fwrite"
Replies: 8
Views: 618

Re: Corrupted files after use "fwrite"

Hi Panu, thanks for checking my message. as written earlier, I use a few small programs to manage the program needs. The first one is a “Starter”. It checks: playing music or work in “usb mode” (runlevel 2) or ... a very special case: “Writing procedure”. The last one will happen as a last step in o...
by Arek
Mon 2019-10-14 17:04
Forum: VS1010 Forum
Topic: Corrupted files after use "fwrite"
Replies: 8
Views: 618

Re: Corrupted files after use "fwrite"

Hi Panu, many thanks! I use VS1010D in my application. The SPI memory also contain driver for ogg etc. sound format. Due to memory limitation i have divided my program into a few smaller ones. Programs are run only once. For example: Start with "usercode.dlx" then RunLib("s:A.dlx", "d") or Start wit...
by Arek
Thu 2019-10-10 11:51
Forum: VS1010 Forum
Topic: Corrupted files after use "fwrite"
Replies: 8
Views: 618

Corrupted files after use "fwrite"

Hi, I use SPI memory for programm data and SD for mp3 files. For setting data I place a small file of two bytes in SPI memory. My problem: using procedure "WriteSPIbyte" to changing content of this file will corrupt other files. Data in SetFile is correct written. (Changing two bytes in "SetFile.txt...
by Arek
Mon 2019-07-01 15:09
Forum: VS1010 Forum
Topic: VSIDE DSP Library for VS1010D
Replies: 4
Views: 713

Re: VSIDE DSP Library for VS1010D

Hi Panu, many thanks. I'd like to spent to my Player nice future - a kind of equalizer - to make the sound played from one speaker only a little bit better. (planned from start but not implemented yet) Now I see a possibility to do it. My question. Has the VS1010D enough power to play files with sof...
by Arek
Mon 2019-07-01 10:15
Forum: VS1010 Forum
Topic: VSIDE DSP Library for VS1010D
Replies: 4
Views: 713

Re: VSIDE DSP Library for VS1010D

Hi Alexi,

great work! Thank you.

As i understand, your solution works with analog input data.
How can i switch it (if possible?) to a file (mp3, ogg etc.) played from sd memory with "PlayerPlayFile()"?

With best regards

am