Usually, the buffer size on VAIO1 is 7168 when VB-Matrix starts up. This is the buffer size I want it to use. Once in a while, it starts at 3072 and shows this value in the main window with red lettering and a red outline. I can change it manually to 7168 by clicking on it red box while holding down the shift key and selecting 7168 from the dropdown list.
I would like to ensure VM-Matrix always starts with this buffer size set to 7168. I thought perhaps I could create an XML config file and set the value explicitly there. I saved the current settings to a file and do not see any XML element or property for it:
Can you tell me what method I can use to ensure it starts correctly? If not, can you recommend a way that a program I have written can communicate with VB-Matrix and set the correct buffer size? And while I'm asking, is there any API I can use in general to control a running VB-Matrix's configuration? Can MIDI commands work with VAIO as well as VBAN?
Yes, as I mentioned, I know this and manually use the dropdown list to set the buffer size to 7168 when VB-Matrix starts up with it set to 3072 (in red). If the correct value is stored in the registry, why do you think it would sometimes be mis-read? Please tell me the registry key that is stored under and I can troubleshoot this further.
This screenshot shows the buffer size at 3072 on startup. Usually, the buffer size on VAIO1 is 7168 when VB-Matrix starts up. It is shown in blue like all the other numbers on the main screen.
VB-Matrix main screen - wrong VAIO1 buffer size in red.png (66.5 KiB) Viewed 401 times
More info in case it helps.
VB-Matrix system settings.png (110.97 KiB) Viewed 401 times
1- You set your SSL ASIO driver as master device with 2048 sample buffer size (which is un usual)
an ASIO driver is expected to work perfectly with 256 sample at 44.1/48 kHz, 512 sample ate 88.2/96 KHz and 1024 Sample at 192khz.
2- Since your master device is working with 2048 sample buffer, the Matrix main stream is using 2048 sample buffer size, also to ask audio signal to VAIOs. But if VAIOs run with internal latency below 3x buffer size, it could not work, that's why your VAIO1 3072 is displayed in red (because it is expected to be 3x 2048 sample instead).
So, or you decrease your SSL driver buffer size below 1024 samples, or you change the VAIO1 internal latency to 3x 2048 samples (or default value : 7168)
I am surprised at our difficulty communicating. I'd try to write in French but I have forgotten most of what I learned 50 years ago.
I want VAIO1 operating with a 7168 byte buffer. I have set it to that. Most of the time when VB-Matrix starts, VAIO1 is set to 7168. Sometimes, quite randomly, VAIO1 is set to 3072 when VB-Matrix starts up and I have to manually change it to 7168.
Please understand these points:
- VB-Matrix usually starts with VAIO1 set to 7168.
- sometimes when it starts, VAIO1 is set to 3072
- when that happens, I manually change it to 7168
- I would like it to always start at 7168 so I don't have to check it and change it.
The buffer size should be deterministic according to however your program stores its settings. Nothing changes in my system that I am aware of of that might cause VB-Matrix to start with the wrong VAIO1 buffer size.
As I turned on the system today, the buffer size is what I want: 7168. Yesterday, it wasn't.
I have no guarantee that making the buffer sizes smaller as you suggest would prevent VB-Matrix from starting with a different buffer size sometime like it does now.
Please tell me anything I could check, monitor, etc, to help you find out why this is happening. Perhaps it is a problem with the order or timing of events that makes VB-Matrix behave incorrectly.