Dear Forum Members,
for quite some time there has existed a need to overhaul the HiRes Recorder.
The existing HiRes Recorder has a few issues:
1) It is large, barely fitting in VS1005's memory, so there is no room for expansion.
2) Updating the LCD is time-critical: update too much at a time, and recording may get interrupted.
3) There is no tool chain for creating custom grraphics.
This is about to change. This message is the first of several that we are going to release before end of December 2020. The HiRes Recorder has been split into three, separate parts:
- A HiRes Recorder Server HRServer.dl3.
- A HiRes Playback Server HPServer.dl3.
- A Text-Based User Interface Client HRTxtCln.dl3.
Together these can be used to implement a HiRes Recorder with playback functionality. During the next few weeks, we will release another example client, this time with graphics, and a tool chain that can be used to create custom graphics.
I hope this new model is useful for everyone intending to create new, exciting user interfaces using the HiRes Recorder framework.
Kind regards,
- Henrik
VS1005 4-channel HiRes Recorder
Re: VS1005 4-channel HiRes Recorder v1.00
- Attachments
-
- HiResRec_Bob2_v100.pdf
- Documentation for the new HiRes Recorder v1.00
- (362.76 KiB) Downloaded 442 times
-
- HPServer_v100.zip
- HiRes Playback Server v1.00
- (10.42 KiB) Downloaded 311 times
-
- HRServer_v100.zip
- HiRes Recorder Server v1.00
- (40.67 KiB) Downloaded 324 times
-
- HRTxtCln_v100.zip
- HiRes Recorder text-based example client v1.00
- (15.71 KiB) Downloaded 320 times
Good signatures never die. They just fade away.
Re: VS1005 4-channel HiRes Recorder
Good morning,
We are doing some tests with your MK2 BreakBoard using the HiResRec, and everything is working fine using de UART cable connected to our laptop, but, for our particular project we would need to use it without any keyboard, serial monitor or display.
Is it possible to use this commands, for instance, with switches, jumpers connected to some pins, or even buttons?
If that would not be possible, could that be used with delays? I mean, start recording when power on and record audios in blocks of certain time?
We are not software experts so, we would apreciate any help, template or piece of code to start with.
Many thanks,
Kind regards.
We are doing some tests with your MK2 BreakBoard using the HiResRec, and everything is working fine using de UART cable connected to our laptop, but, for our particular project we would need to use it without any keyboard, serial monitor or display.
Is it possible to use this commands, for instance, with switches, jumpers connected to some pins, or even buttons?
If that would not be possible, could that be used with delays? I mean, start recording when power on and record audios in blocks of certain time?
We are not software experts so, we would apreciate any help, template or piece of code to start with.
Many thanks,
Kind regards.
Re: VS1005 4-channel HiRes Recorder
Hello and welcome to the forum.
Automatic start: hiresrec +p
There is already GPIO control and it is one define USE_DEVBOARD_KEYS to change to enable or disable. Those pins are GPIO0_0:3. A button which pulls pin high would be best, because those pins set also selects boot config. Dev board schematics: https://www.vlsi.fi/fileadmin/evaluatio ... 18-sch.pdf
The buttons are:
PLAYBACK GPIO0_0 / S1
PAUSE GPIO0_1 / S2
STOP GPIO0_2 / S3
RECORD GPIO0_3 /S4
Automatic start: hiresrec +p
There is already GPIO control and it is one define USE_DEVBOARD_KEYS to change to enable or disable. Those pins are GPIO0_0:3. A button which pulls pin high would be best, because those pins set also selects boot config. Dev board schematics: https://www.vlsi.fi/fileadmin/evaluatio ... 18-sch.pdf
The buttons are:
PLAYBACK GPIO0_0 / S1
PAUSE GPIO0_1 / S2
STOP GPIO0_2 / S3
RECORD GPIO0_3 /S4
Re: VS1005 4-channel HiRes Recorder
Hannu wrote: ↑Wed 2022-06-08 12:24 Hello and welcome to the forum.
Automatic start: hiresrec +p
There is already GPIO control and it is one define USE_DEVBOARD_KEYS to change to enable or disable. Those pins are GPIO0_0:3. A button which pulls pin high would be best, because those pins set also selects boot config. Dev board schematics: https://www.vlsi.fi/fileadmin/evaluatio ... 18-sch.pdf
The buttons are:
PLAYBACK GPIO0_0 / S1
PAUSE GPIO0_1 / S2
STOP GPIO0_2 / S3
RECORD GPIO0_3 /S4
Good morning Hannu, and thanks a lot for your answer, it helped a lot.
We realized that HiResRec only can record .wav files, and they are too heavy for our prototype, so we are trying to use the "Rec" solution, which is letting us to choose the file type as .mp3 or .ogg, which are enough quality for our purpose.
But we have some new problems here:
1) When maximum size file is limited or "n" case is pressed, it stops recording and prepare a new file incrementing the number of file, but it never continues recording, and, if the sistem is restarted, it starts as "0" again.
Here you are the text that appears in PuTTy:
Hello.
VSOS 3.63 build Mar 18 2021 14:14:50
VLSI Solution Oy 2012-2021 - www.vlsi.fi
Starting the kernel..
Starting Devices...
Internal Flash
Installed system devices:
S: 896K SPI Flash c213, handled by FAT.
Load drivers, config 0...
Driver: UARTIN...
Driver: RUN... SetClock -l 87 86
Driver: AUODAC...
Driver: AUIADC... Input 0x0440 Rate 48000
Driver: RUN... AuOutput -s4096
Driver: RUN... AuInput -s4096
Driver: AUXPLAY... E'AUXPLAY not found'
not loaded
Driver: SDSDMN23... D: SD + VS23S040
Driver: Rec... Recording Ogg Vorbis: 48000 Hz stereo at quality 7
~050a'D:REC000.ogg
~030a=1
~030a=2
~030a=3
~030a=4
~030a=5
~030a=6
~030a=7
~030a=8
~050a'D:REC001.ogg
As you can see, it starts as REC000 and then stops, generate a name REC001 but never continues. Could you guide us to make it work please?
2) Is there any way to make it work using the pins as you told us for the HiResRec?
Many thanks
Kind regards.
Re: VS1005 4-channel HiRes Recorder
Hello Arkantium!
I have prepared an answer for you. However, as the answer is regarding the program Rec and not the HiRes Recorder, I have made a new thread for the discussion. It is available here:
viewtopic.php?f=13&p=15361
Kind regards,
- Henrik
I have prepared an answer for you. However, as the answer is regarding the program Rec and not the HiRes Recorder, I have made a new thread for the discussion. It is available here:
viewtopic.php?f=13&p=15361
Kind regards,
- Henrik
Good signatures never die. They just fade away.
Re: VS1005 HiRes Recorder v0.32
Also mentioned here:
(empahsis mine)
Are there plans to support capacity greater than 256GB SD Cards? We need to start thinking about adding support for larger capacity because customers are soon going to be approaching our products with a 512GB card, but find that they have to order another, lower capacity SD card specifically for our products. This may seem like a step backwards in the minds of our customers.
Thanks in advance for your thoughts on this.

David
Re: VS1005 4-channel HiRes Recorder
Emphasis on word tested. That means the card has appeared on Henrik's desk, and hiresrec has been working on those cards.
The real hard limit is 2 TB. It is 2^32 * 512 byte blocks. It's limiting on every level from physical card to VSOS.
A soft limit is 1TB because then the MSb of sector address is high and if it is treated as a signed value, it would be negative value. And this one too is untested as there isn't anything that big to connect on VS1005 (yet).
So everything up to 1 TB should work and up to 2 TB can work while upper test limit is currently on 256 GB and that's why it is advertised to work up to 256 GB cards.
The real hard limit is 2 TB. It is 2^32 * 512 byte blocks. It's limiting on every level from physical card to VSOS.
A soft limit is 1TB because then the MSb of sector address is high and if it is treated as a signed value, it would be negative value. And this one too is untested as there isn't anything that big to connect on VS1005 (yet).
So everything up to 1 TB should work and up to 2 TB can work while upper test limit is currently on 256 GB and that's why it is advertised to work up to 256 GB cards.
Re: VS1005 HiRes Recorder v0.32
Hello David!DavidMc wrote: ↑Wed 2022-08-31 0:08Also mentioned here:(empahsis mine)
Are there plans to support capacity greater than 256GB SD Cards? We need to start thinking about adding support for larger capacity because customers are soon going to be approaching our products with a 512GB card, but find that they have to order another, lower capacity SD card specifically for our products. This may seem like a step backwards in the minds of our customers.
Thanks in advance for your thoughts on this.![]()
David
I know this is a very late (second) reply to your question, but it might still be useful as our status with big SD Cards have changed this week.
We have now succesfully tested (SanDisk) 512 GB and 1 TB SD Cards.
Testing these new cards revealed a new bug that didn't bite us yet with 256 GB cards (a 32-bit value was read as only 16 bits and that wrapped at card sizes somewhat larger than 256 GB). This error in VSOS 3.65 has now been corrected, and a new VSOS 3.66 has been released.
VSOS 3.66 is available for download here:
viewtopic.php?p=15636#p15636
I hope this is still useful information for you.
Kind regards,
- Henrik
Good signatures never die. They just fade away.