| Thanks Michael. Note to everyone else, this is a completely new thing
for me, I am more than happy to learn if parts of it are done wrong,
poorly, etc, and how they could be improved. I have no particular
attachment to how I did things, just wanted to get stuff happening! = )
Iain
Michael Gogins wrote:
> I have attached a somewhat more complete version of your demo. I have
> tested it only in the most cursory way, but on my machine I can run
> csd files with it, stop them, and restart them. Also I seem to be able
> to send rt events. Haven't tested the function table stuff. If it
> doesnt work, let me know and I will debug it.
>
> Note:
>
> No need to store the .csd file -- only its filename.
>
> Csound MUST perform in a separate thread -- the API gives a function
> for starting one. The methods for doing this in this demo are similar
> to the ones that I use in CsoundVST and I haven't been able to get it
> to work any other way. You have been warned.
>
> csoundInputMessage appears to work for rt events, csoundScoreEvent
> appears not to work. Don't know why.
>
> The paths to libraries etc. in the Dev-C++ project file will be wrong
> for you; you will need to fix them to use the project, but you may be
> able to compile the fl_controller.cpp file using SConstruct or your
> own makefile.
>
> Note that I used std:: collections where possible.
>
> I have booked the controller into CVS so if you want to change it, if
> you aren't a Csound developer, ask John ffitch to make you one and fix
> the file yourself; if this is too much trouble go ahead and change it
> and email your new version to me.
>
> ----- Original Message ----- From: "Iain Duncan"
> To:
> Sent: Tuesday, October 26, 2004 10:37 PM
> Subject: Re: Controller demo
>
>
>> gogins@pipeline.com wrote:
>>
>>> Haven't had time, but now do.
>>>
>> Great. I've been really busy too, so the wait has not mattered at
>> all. If you have time later to think about the best way to add midi
>> input using portmidi that would be cool too.
>>
>>> If I get it working, can I use it as an API example in the Csound 5
>>> distribution? Needs to be LGPL.
>>>
>>
>> Of course, that was the whole point of it. ; ) Attach whatever
>> license you see fit.
>>
>> Thanks so much,
>> Iain
>>
>>> Original Message:
>>> -----------------
>>> From: Iain Duncan iainduncan@telus.net
>>> Date: Tue, 26 Oct 2004 05:05:40 -0700
>>> To: gogins@pipeline.com
>>> Subject: Controller demo
>>>
>>>
>>> Any progress on the controller demo? If you haven't had time, no
>>> worries. Just thought I'd check. = )
>>>
>>> Thanks
>>> Iain
>>>
>>> --------------------------------------------------------------------
>>> mail2web - Check your email from the web at
>>> http://mail2web.com/ .
>>>
>>>
>>>
>>>
>>
>> |