[Cs-dev] Csound log from Python API
Date | 2010-05-26 18:00 |
From | Olivier Bélanger |
Subject | [Cs-dev] Csound log from Python API |
Attachments | None None |
Hi, I'm using the Python API for the development of the new Cecilia and I didn't find a way to generate a Csound log file on disk. Is it possible or is there a better way to access the details of errors in the csd file (like details in the terminal)? Thanks! Olivier |
Date | 2010-05-26 18:01 |
From | Justin Glenn Smith |
Subject | Re: [Cs-dev] Csound log from Python API |
|
Date | 2010-05-26 18:21 |
From | Olivier Bélanger |
Subject | Re: [Cs-dev] Csound log from Python API |
Attachments | None None |
Yes, this is what I usually do... but it seems to work only when you launch Csound from a command-line. I want the same but from the Python API... Olivier 2010/5/26 Justin Glenn Smith <noisesmith@gmail.com> <CsOptions> |
Date | 2010-05-26 18:25 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Csound log from Python API |
Attachments | None None |
That sounds like a bug. Let me investigate. Victor On 26 May 2010, at 18:21, Olivier Bélanger wrote: Yes, this is what I usually do... but it seems to work only when you launch Csound from a command-line. I want the same but from the Python API... |
Date | 2010-05-26 18:43 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Csound log from Python API |
Attachments | None None |
I think this is something in the Python wrappers. It does not happen in C or C++. Victor On 26 May 2010, at 18:25, Victor Lazzarini wrote:
|
Date | 2010-05-26 18:49 |
From | Olivier Bélanger |
Subject | Re: [Cs-dev] Csound log from Python API |
Attachments | None None |
Is there a possible workaround? Olivier 2010/5/26 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
|
Date | 2010-05-26 18:56 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Csound log from Python API |
> Is there a possible workaround? > > Olivier > can you not provide your own functiuon for the messages in the CSOUDN structure? I am sure I did that in winsound Not guaranteed -- my memory is getting worse ------------------------------------------------------------------------------ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2010-05-26 19:03 |
From | Olivier Bélanger |
Subject | Re: [Cs-dev] Csound log from Python API |
Attachments | None None |
Thanks a lot! self.csound.SetMessageCallback(callback) Exactly what I need! Olivier 2010/5/26 <jpff@cs.bath.ac.uk>
|
Date | 2010-05-26 19:11 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Csound log from Python API |
Attachments | None None |
That was what I was going to suggest, but I was going to write an example script to show you. It looks like you know what to do. On 26 May 2010, at 19:03, Olivier Bélanger wrote: Thanks a lot! |