Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Some API documentation points

Date2005-05-06 21:44
FromMichael Gogins
SubjectRe: [Cs-dev] Some API documentation points
I think a csoundapi~ object is a great idea, but I suspect it would work better, and I am sure it would have a longer life, if it were based on Csound 5.

Regards,
Mike Gogins


-----Original Message-----
From: Victor Lazzarini 
Sent: May 6, 2005 2:56 PM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Some API documentation points

Btw there is a bug in csoundScoreEvent() in csound.c
(4.23), a call to newevent() using the *csound pointer, when
the implementation does not use such argument.
I'm in the process of implementing a csoundapi~ class
for PD (mimicking Matt's csound~) and I discovered this
and another bug (in newevent()).

I also could not get csoundRewind() to work properly.
It seem to go back to the beginning of the score, but it
looks as if csoundPerformKsmps() will not run after I
call it (I have to check again if the bug is not in my code,
but it doesn't look like that).

Victor

>
> csoundKeyPress, Invalue, Outvalue, and ScoreEvent are all
> things i added and use frequently.  they are for HOST
> applications communicating with a csound library and are
> VERY useful to me.  they are pretty worthless  for
> opcode plugins though.
>
> it has been suggested a few times to make separate api's
> for hosts and  plugins, which
> i would not object to..
>
> >> - the csoundKeyPress() entry in csound.h mentions the
> 'keypress'  >> opcode, which does not have an entry in the
> manual
>
> i think thats a typo, it should say the 'sensekey' opcode
> [ not  'keypress' ]
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4
> great events, 4 opportunities to win big! Highest score
> wins.NEC IT Guy Games. Play to win an NEC 61 plasma
> display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel





-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-05-06 22:45
FromIain Duncan
SubjectRe: [Cs-dev] Some API documentation points
Uh, yeah, oops didn't notice that. I'd help test a csound5 one. Csound4 
doesn't really run my stuff too well anymore.

Iain

Michael Gogins wrote:
> I think a csoundapi~ object is a great idea, but I suspect it would work better, and I am sure it would have a longer life, if it were based on Csound 5.
> 
> Regards,
> Mike Gogins
> 
> 
> -----Original Message-----
> From: Victor Lazzarini 
> Sent: May 6, 2005 2:56 PM
> To: csound-devel@lists.sourceforge.net
> Subject: Re: [Cs-dev] Some API documentation points
> 
> Btw there is a bug in csoundScoreEvent() in csound.c
> (4.23), a call to newevent() using the *csound pointer, when
> the implementation does not use such argument.
> I'm in the process of implementing a csoundapi~ class
> for PD (mimicking Matt's csound~) and I discovered this
> and another bug (in newevent()).
> 
> I also could not get csoundRewind() to work properly.
> It seem to go back to the beginning of the score, but it
> looks as if csoundPerformKsmps() will not run after I
> call it (I have to check again if the bug is not in my code,
> but it doesn't look like that).
> 
> Victor
> 
> 
>>csoundKeyPress, Invalue, Outvalue, and ScoreEvent are all
>>things i added and use frequently.  they are for HOST
>>applications communicating with a csound library and are
>>VERY useful to me.  they are pretty worthless  for
>>opcode plugins though.
>>
>>it has been suggested a few times to make separate api's
>>for hosts and  plugins, which
>>i would not object to..
>>
>>
>>>>- the csoundKeyPress() entry in csound.h mentions the
>>
>>'keypress'  >> opcode, which does not have an entry in the
>>manual
>>
>>i think thats a typo, it should say the 'sensekey' opcode
>>[ not  'keypress' ]
>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: NEC IT Guy Games.
>>Get your fingers limbered up and give it your best shot. 4
>>great events, 4 opportunities to win big! Highest score
>>wins.NEC IT Guy Games. Play to win an NEC 61 plasma
>>display. Visit http://www.necitguy.com/?r=20
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 great events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 great events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net