Posted Oct 16 2017 - 05:53 AM
Internally, Windows probably uses a system of "vector chaining" to allow several processes to work alongside each other on a timeshare basis. The old Atari 8-bit computers (400, 800, 800xl and related models) used a similar, but much cruder, system which allowed a programmer to "piggyback" user assembly code onto operating system functions. If Windows does use this system, then in theory it shouldn't matter if you're running both 'pace notes' and 'track sounds' at the same time, and it shouldn't really matter which one of them you start first. Windows will simply give time to each process on every 'tick' of the operating system, and they will appear to the user to run in parallel.
Obviously any program which tries to piggyback onto the Windows sound system must do two things: (1) it must run as quickly and efficiently as possible to process its sound effects. If it's too much of a resources hog, then it will start to interfere with other processes. And (2) it must use the correct operating system protocols to set up the 'piggyback' process, and to terminate itself when its job is finished.
Obviously, with the amount of practice he's had, Lee knows how to cover those two last points like an expert!