VS1000 overall latency
We need to add audio to an existing product, and are considering the VS1000 for this. We do not need huge storage, or amazing high fidelity.
What we do need is good response time (low latency) to a "trigger" to play a sound, also to stop and restart a sound that may be playing.
So, I have bought several of the Sparkfun "little soundie" with the VS1000D to experiment with. I have Vside loaded, and downloaded various sample programs and datasheets. Quite a big learning curve to get started! And many variables, depending on using OGG or WAV, many other considerations.
Before expending more effort, I though to ask the experts here some questions:
1. From power off, how long does it take to initialise, and start playing a sound?
2. From power on but idle, how long to play a new sound?
3. How long to stop an existing file being played, and either restart it or start new one?
I see that the Sparkfun board has the identical software to the example software provided by VLSI, but they are using "GPIO_MASK" and not "GPIO_PRIORITIES", so it is impossible for me to test the timing without compiling new firmware and sending to the VS1000D.
That is next step!
Finally, is the VS1000D the way to go? Cost is a concern, we would like to lowest cost BOM going forward. As mentioned, adding audio will enhance our product, but it is not the main feature so we have to be careful with cost. So, a more detailed spec in terms of choosing the right chip:
1. Must be easy to add or replace new sounds (even for customer to do it in the field).
2. Fast to respond to instruction to play sound, or stop playing sound, or start new sound
3. Will not be needing much storage and many files (the 4mbit flash on the SParkfun board is sufficient)
3. Not sure of quantities at this stage!