Hello,
I have just uploaded revised versions of the console and its interface.
No changes to core algorithms. I only fixed problems with the display of
images. For example, there was a tiny bug in "Timeset.c" that
incorrectly calculated the left image border when an out-time object was
at time = 0.
Overall, small bugs can take a long time to resolve! :-\
It was also necessary to fix the coordinates of the graphics in order to
deal with very large images. The "canvas" graphic scheme has limitations
that make it impossible to handle coordinates greater than "a certain
amount", which I estimate at 16383... As this is a limitation of web
browsers, we can hope that their designers will extend the range.
A nice new feature is the addition of start dates near the links to
(sound-object) images in "Improvize" mode. This will later be applied to
"pianoroll" images.
The new interface also accepts alternative names for the Csound console,
which may be required to run Csound on Windows.
Finally, I created a "PANIC" button that creates a "_stop" file in the
"temp_bolprocessor/messages" folder. It is intended to stop the console
in improvise mode or when it is playing a long piece in realtime MIDI.
As I explained earlier, it does not always work because the browser
session is "hogged" by the console. One trick was to restart Apache. Now
the same can be achieved by clicking "PANIC" on a different browser
(running a different session).
I am still looking for a method to send a system command to the console,
perhaps from Javascript... But my "colleague" ChatGPT pretends it is
impossible for security reasons!
All suggestions and comments welcome!
Bernard
|