31
General Board / Re: Embedding CDP - possible to "pipe" input and output files?
« on: March 13, 2017, 05:23:39 PM »
This will not be possible sadly. Unix pipes work on "stdio streams", e.g. when a program outputs text to the console or receives text input from a keyboard. In those cases the running output of one program ("stdout") can be piped to the input ("stdin") of the second. CDP programs on the other had work strictly with soundfiles - nominally an "offline" musique-concrete approach. An output soundfile is not in any way a "temporary" file, it is just that, the output soundfile.
Thus any third-party program or application that spawns a CDP program must both provide all the required command line arguments and wait for and check for the program to finish, before making use of the output.
Thus any third-party program or application that spawns a CDP program must both provide all the required command line arguments and wait for and check for the program to finish, before making use of the output.