Forum Replies Created
-
AuthorPosts
-
Milky
KeymasterThe computer name should not include the brackets. What happens if you type http://IP address or computer name:8282 into a browser? It should open the webserver page, where you can scroll through all the command options.
BA1 has an inbuilt webserver at port 8282.
Milky
KeymasterYou just need two little batch programs.
Bypass_OFF.bat would have the following line in it.
REM Set Bypass Processing option to OFF curl --silent --output nul http://{YOUR_PC_NAME_HERE}:8282/parameter/hd1/proc/bypass_proxy=0Bypass_ON.bat would have this.
REM Set Bypass Processing option to ON curl --silent --output nul http://{YOUR_PC_NAME_HERE}:8282/parameter/hd1/proc/bypass_proxy=1If you are using AHK you could execute the CURL line using RunWait, like this.
RunWait, curl --silent --output nul http://OTSBOX:8282/parameter/hd1/proc/bypass_proxy=0,, hideto get the current status is a little trickier, but you could use a command to write the status to a file.
; Get current status of Bypass FileDelete, C:\OtsLabs\BypassStatus.txt URLDownloadToFile, http://OtsBox:8282/parameter/hd1/proc/bypass_proxy?get, C:\OtsLabs\BypassStatus.txt FileReadLine, BypassStatus, C:\OtsLabs\BypassStatus.txt, 1You could then test the value of the field BypassStatus. 1 = Bypass ON, 0 = Bypass OFF.
Milky
KeymasterWell, I (for one) care, and I am sure that there are other coders who can learn from your example.
Thank you for contributing.Milky
KeymasterI hear all the doubters out there, and I have passed on this dissent to the Company. What you may not know is that Leif’s long-time business partner, Keith Edwards, passed away suddenly about a year or so ago. He was in charge of maintaining the website, issuing licences and upgrades, all of the financial management and even support for this forum. His loss was a major setback at a very difficult time in Leif’s career.
Keith’s son, John, has now taken over, but it has been a very steep learning curve for him, and things have had to be prioritised. I have drawn his attention to the fact that the BAE version available from the store is not the one that Leif updated because of the Windows update, and I will remind him again now.
As for Leif, I am in contact with him, but he is kept very busy with a personal AND a professional project, both of which are nearing completion. He will surface at some stage, but I wouldn’t expect much before Xmas.
Milky
KeymasterExcellent! I use AHK quite a bit, including to set/unset various things in BA1, but actually Run or RunWait to the curl line similar to the previous examples. That gives me a return code, plus I can specify “Hide” in the options, so you don’t see a box flash up at all. The response isn’t instantaneous, but pretty close to it.
For instance, this line will send a toggle command to turn bypass processing on or off
RunWait, curl --silent --output nul http://otsbox:8282/parameter/hd1/proc/bypass_proxy+=1,,hideMilky
KeymasterAs I read that code, you are GETTING the current value of the volume, but you are not PUTTING a new value to change it.
Milky
KeymasterYes, it is a command line. cURL.exe is bundled with Win10, and downloadable for earlier OSs.
Is there any way that you can shell out to DOS?You could send it to a browser, or possibly directly to the inbuilt web server.
-
This reply was modified 4 years, 7 months ago by
Milky.
Milky
KeymasterSorry, no formal news, but I’ll raise the question with support.
Milky
KeymasterLeif simply doesn’t recommend VM and, if problems occur that can be traced to a VM environment, he will not attempt to fix them. However, there is nothing to stop you from trying BA1 in a VM. If it is successful, perhaps you can share your experiences?
Milky
KeymasterIn the menu group installed in BA1, there is a shortcut to the VAC control panel. If you can open that, and SEE the installed cables, there’s definitely nothing wrong with BA1. Breakaway reads the registry to compile a list of inputs, so you might be able to search the registry via REGEDIT and find the relevant entries. It won’t solve your problem, but it might give you some evidence to bounce back to Radio Boss.
Milky
KeymasterI’m purposely staying out of this discussion, because you seem to have your own “self-help” group going, which is a good thing. My advice is not to diversify into other areas until you get one stream working exactly as you want.
The whole point of VSTs is that they should all have their own functionality. It is not up to BA1 to provide overrides if they do not exist within the embedded program. Take that issue up with the developer of the VST.
Milky
KeymasterThere is a specific reason why Leif uses 32 bit VSTs. This is because they run in their own thread, and, if they crash, it doesn’t take BA1 with it. Stability is super important in unmanned radio environments. I believe that Mr Klorox mentioned the name of the 32 bit VST you need in an earlier post.
You can enable/disable VST in BA1, either by pressing the “button” or sending the web interface a cURL command in a batch file.
If you point all of your sources to the same VAC, they will all work with the one core. Alternatively, you would need separate cores for each source.
-
This reply was modified 4 years, 7 months ago by
Milky.
Milky
KeymasterUseful information, WilleHelm.
However, so much of this is affected environmentally, and even by your PC specifications, so it is always a “balancing act”. I’d like to write the perfect “Tuning Tool”, which would take Performance Specification (CPU/RAM/HDD/Cache/Sound Card etc) into account and display the exact buffer sizes to use.For now, we just have to fine tune as best we can.
Milky
KeymasterAs you have discovered, a bit of tweaking can make a difference to the jitter. However, the trade-off is latency. More buffers equals more time taken to fill them. If you are playing music videos through BAE, you may notice that the lip synch is off compared to the audio. If that isn’t an issue with you go with the lowest jitter. If you can’t adjust anything to get the lip synch back, you may have to sacrifice a bit of jitter for smaller buffers. So long as you don’t hear any dropped frames or artefacts, it should be fine.
A lot of music is recorded in the studio with higher bit depths of 24 or 32 bit, but typical audio devices only play back using 16 bit depth. The “Red Book” standard for CD quality/WAV files is 44.1 kHz/16 bit.
Like you, I like the sound card, playback software and BAE to all be aligned to the highest common denominator, but this may mean that your music is being upscaled multiple times. If you play predominately CDs or WAV files from CD at 44.1 kHz and only the odd recording sampled at 48 kHz, you are forcing your soundcard, BAE and playout software to upscale every track, and they will only be blank frames anyway, because there is no additional information to insert in the extra samples.
-
This reply was modified 4 years, 7 months ago by
-
AuthorPosts
