Csound Csound-dev Csound-tekno Search About

Re: python api, linux, howto

Date2006-03-16 22:39
FromVictor Lazzarini
SubjectRe: python api, linux, howto
csoundAV?

I think the API you have been discussing is for csound 5.

The API documentation is still non-existent, but I hope
we'll get round to do it. However, you can look at
csound.h, csound.hpp and csnd.py. The c functions and C++
class are mirrored in Python (and Java), so the C/C++ header
files will be meaningful. The functions etc are explained
briefly
in the header files.

Michael was going to rewrite his python examples to use
the Python API, but I am not sure whether he got round to
doing
it.

Victor

>
> Hi
>
> I hear all this talk about the API, Iain seems to be using
> it, I want in :-)
>
> So I need some starters: Am I supposed to install csoundAV
> , and if so  how is that done on linux? I normally install
> from cvs...
>
> Where do I find documentation on the API, I'm esp.
> interrested in the  python API? Some examples, some
> explanations to get me started.
>
> Thanks in advance for any response!
>
> --
> peace, love & harmony
> Atte
>
> http://www.atte.dk
> --
> Send bugs reports to this list.
> To unsubscribe, send email to
> csound-unsubscribe@lists.bath.ac.uk

Date2006-03-16 22:49
From"Steven Yi"
SubjectRe: python api, linux, howto
AttachmentsNone  

Date2006-03-17 07:31
FromAtte André Jensen
SubjectRe: python api, linux, howto
Victor Lazzarini wrote:
> csoundAV?
> I think the API you have been discussing is for csound 5.

Ok, what do I know?

> The API documentation is still non-existent, but I hope
> we'll get round to do it.

Sigh. I might give it a shot, simply because it would be too great, If 
could make it work.

> However, you can look at
> csound.h, csound.hpp and csnd.py. The c functions and C++
> class are mirrored in Python (and Java), so the C/C++ header
> files will be meaningful. The functions etc are explained
> briefly
> in the header files.

And the broarder view, is there anyway to get that? I mean, poking 
around in the files mentioned will reveal a number of functions I can 
use, but I have no idea which functionallity is needed in my code.

Well, I'm not in a position to complain, so I guess I'm gonna have to 
roll up my sleeves, and ask when I get stuck. Hopefully I'll find time 
tomorrow.

-- 
peace, love & harmony
Atte

http://www.atte.dk

Date2006-03-18 03:49
FromIain Duncan
SubjectRe: python api, linux, howto
There are a couple of (older) examples in the csound5 source code in the
examples directory. Go look at wxController.py, wxController2.py and
fl_controller. I still intend to make some examples of other work of
mine, but I have been swamped with other work for the last few months,
bleah.

Iain

Atte André Jensen wrote:
> Victor Lazzarini wrote:
> 
>> csoundAV?
>> I think the API you have been discussing is for csound 5.
> 
> 
> Ok, what do I know?
> 
>> The API documentation is still non-existent, but I hope
>> we'll get round to do it.
> 
> 
> Sigh. I might give it a shot, simply because it would be too great, If
> could make it work.
> 
>> However, you can look at
>> csound.h, csound.hpp and csnd.py. The c functions and C++
>> class are mirrored in Python (and Java), so the C/C++ header
>> files will be meaningful. The functions etc are explained
>> briefly
>> in the header files.
> 
> 
> And the broarder view, is there anyway to get that? I mean, poking
> around in the files mentioned will reveal a number of functions I can
> use, but I have no idea which functionallity is needed in my code.
> 
> Well, I'm not in a position to complain, so I guess I'm gonna have to
> roll up my sleeves, and ask when I get stuck. Hopefully I'll find time
> tomorrow.
>