Dear all,
I completed the PHP interface for editing Csound instrument files and
updated the documentation accordingly:
https://bolprocessor.org/misc/BP3/CheckList.html
No emergency to implement the loading of "-cs" files! I will still take
time studying more documentation and documenting the Timebase editing.
Dealing with Csound instruments forced me to study the old documentation
and remember main features : chapter 17 of
https://bolprocessor.org/reference-manual-bp2-9-8/
Notably, I understand that "tables" stored in the "-cs" Csound
instrument file are not used for creating Csound scores. Their content
is ignored by BP and inserted at the top of each score. Therefore they
could be kept in memory as a string to be inserted where necessary.
I also remembered that BP does nothing with the Csound orchestra file.
Its name is saved in the "-cs" Csound instrument file as a reminder that
this is the orchestra matching the output.
I have a problem here. "-da.tryCsoundObjects" uses "BP2test.orc"
provided in the package, whose arguments are used as by default when
producing Csound scores in the absence of Csound instruments. However,
"-gr.tryCsound" calls "-cs.tryCsound" declaring "tryCsound.orc" as the
correct orchestra file. But I haven't found a trace of "tryCsound.orc"…
It's an instrument with 13 arguments because many parameters are controlled.
It is quite possible that I never designed it, being illiterate in
Csound! ;-) I remember checking the proper combination of Csound
structures by looking at the result on Csound scores. I've spent several
months on these algorithms because of the difficuulty of matching Csound
features with BP time model.
So, I hope that Csound wizzards will program comprehensive items and
instruments up to the stage of sound production…
Bernard
PS. Rainer, you can post to GIThub the new version of
https://bolprocessor.org/misc/BP3/bolprocessor_php.zip
with the comment "Editing Csound instruments". Thank you in advance!
|