Read score section in an external file with CSound command line file

Hi!

I’m looking for a way to integrate CSound with Composers Desktop Project to make it work like a DAW with Tabula Vigilans (Composers Desktop Project language) or Clojure. I was wondering if CSound command line can read an external file that has a CSound score in it. If that’s possible? What’s the format to follow? Should I include CSound Score tag in that external file or should I just write just the score events i 1 0 0 for example?

I’m exploring the option of generating MIDI files and pass them with the -F flag but having a method to read score external file would be great to know as well.

Thanks!

Csound historically operated with .orc and .sco files, and a lot of early approaches used custom tools or scripts to generate .sco files. You can look at most .csd files and just split out the CsInstruments into an .orc file and CsScore into a .sco file, and run it using:

csound -o dac a.orc a.sco

The .sco will have score events like i1 0 2.

I think a lot of CDP was historically used with Csound.

For a DAW experience, you might try my program Blue. It has support for using external CLI apps within objects on the timeline as well as scripting (including built-in Clojure object). The last version of Blue was released a few years ago but I am just about to release a new version.

Hi Steven!

Thanks a lot for your reply :slight_smile: I had a hard time finding the answer.

Cool to know about being able to split the orchestra section as well. That gives me more flexibility to create instruments I guess.

I briefly had a look at blue when I discovered CSound but I’ll come back to it now that you suggest it.

That’s for making blue and CSound IDE. It’s trully inspirational to see your work, I’m glad that we musicians/sound designers can get access to such powerful tools that open doors to new ways to create sound.

Have a great day!