Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] strings and InputMessage()

Date2006-05-29 14:23
FromIstvan Varga
SubjectRe: [Cs-dev] strings and InputMessage()
AttachmentsNone  

Date2006-05-29 14:47
FromIstvan Varga
SubjectRe: [Cs-dev] strings and InputMessage()
AttachmentsNone  

Date2006-05-29 15:06
FromVictor Lazzarini
Subject[Cs-dev] strings and InputMessage()
I have been trying to use a string with the API  method
csoundPerformanceThread::InputMessage(), but I get
a 'misplaced string' error.

I take it that it is not possible to use the method with a
string unless it is in p1 ? I was using it as p4, which
I thought was OK, something like this

perf.CsoundPerformanceThread("i1 0 10  \"coltrane.wav\" ")

(except that it was from python)

Would it be possible to change it so that the string is accepted?

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-05-29 15:20
From"Oeyvind Brandtsegg"
SubjectRe: [Cs-dev] strings and InputMessage()
AttachmentsNone  None  None  None  

Date2006-05-29 15:30
FromVictor Lazzarini
SubjectRe: [Cs-dev] strings and InputMessage()
I'll try p5.

Victor
At 14:23 29/05/2006, you wrote:
>If I recall correctly, there is a check that limits the use
>of strings to p1 (for instrument name) or p5 (for GEN01
>file name). It can be removed, though, if there is no real
>reason for this limitation.
>
>On Monday 29 May 2006 16:06, Victor Lazzarini wrote:
>
> > I have been trying to use a string with the API  method
> > csoundPerformanceThread::InputMessage(), but I get
> > a 'misplaced string' error.
> >
> > I take it that it is not possible to use the method with a
> > string unless it is in p1 ? I was using it as p4, which
> > I thought was OK, something like this
> >
> > perf.CsoundPerformanceThread("i1 0 10  \"coltrane.wav\" ")
> >
> > (except that it was from python)
> >
> > Would it be possible to change it so that the string is accepted?
>
>
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-05-30 07:13
FromIstvan Varga
SubjectRe: [Cs-dev] strings and InputMessage()
AttachmentsNone