Csound Csound-dev Csound-tekno Search About

[Csnd] Pfield warnings

Date2011-03-29 03:23
FromSteven Yi
Subject[Csnd] Pfield warnings
Hi All,

Does anyone know if you can turn off the warning about pfields given
not matching max num pfields? I'm designing an instrument right now
that works with 5 pfields or 8 pfields, the first used when notes are
generated from MIDI within blue, the other when doing hand scoring and
script-generated scoring. I get messages like:

WARNING: instr 1 uses 8 p-fields but is given 5

when I'm working from MIDI and while it's just a warning, it'd be nice
to be able to turn this on/off.

Thanks!
steven


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-03-29 12:47
FromRory Walsh
SubjectRe: [Csnd] Pfield warnings
I normally test the number of pfields in the instrument to eliminate
the warnings. It would be nice to be able to turn them off.

On 29 March 2011 03:23, Steven Yi  wrote:
> Hi All,
>
> Does anyone know if you can turn off the warning about pfields given
> not matching max num pfields? I'm designing an instrument right now
> that works with 5 pfields or 8 pfields, the first used when notes are
> generated from MIDI within blue, the other when doing hand scoring and
> script-generated scoring. I get messages like:
>
> WARNING: instr 1 uses 8 p-fields but is given 5
>
> when I'm working from MIDI and while it's just a warning, it'd be nice
> to be able to turn this on/off.
>
> Thanks!
> steven
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-03-29 18:46
Frommoko@city-net.com
SubjectRe: [Csnd] Pfield warnings
I would rig up a conditional statement that does this:

if MIDI then
     p6 init 0
     etc for all pfields not used
endif

--David

> Hi All,
>
> Does anyone know if you can turn off the warning about pfields given
> not matching max num pfields? I'm designing an instrument right now
> that works with 5 pfields or 8 pfields, the first used when notes are
> generated from MIDI within blue, the other when doing hand scoring and
> script-generated scoring. I get messages like:
>
> WARNING: instr 1 uses 8 p-fields but is given 5
>
> when I'm working from MIDI and while it's just a warning, it'd be nice
> to be able to turn this on/off.
>
> Thanks!
> steven
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-03-29 19:16
FromJustin Glenn Smith
SubjectRe: [Csnd] Pfield warnings
the mididefault opcode makes this much easier

moko@city-net.com wrote:
> I would rig up a conditional statement that does this:
> 
> if MIDI then
>      p6 init 0
>      etc for all pfields not used
> endif
> 
> --David
> 
>> Hi All,
>>
>> Does anyone know if you can turn off the warning about pfields given
>> not matching max num pfields? I'm designing an instrument right now
>> that works with 5 pfields or 8 pfields, the first used when notes are
>> generated from MIDI within blue, the other when doing hand scoring and
>> script-generated scoring. I get messages like:
>>
>> WARNING: instr 1 uses 8 p-fields but is given 5
>>
>> when I'm working from MIDI and while it's just a warning, it'd be nice
>> to be able to turn this on/off.
>>
>> Thanks!
>> steven
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>>
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-03-29 19:21
FromSteven Yi
SubjectRe: [Csnd] Pfield warnings
I'm not routing MIDI to csound but to blue which is then generate SCO
notes, so this won't work for this situation.

On Tue, Mar 29, 2011 at 2:16 PM, Justin Glenn Smith
 wrote:
> the mididefault opcode makes this much easier
>
> moko@city-net.com wrote:
>> I would rig up a conditional statement that does this:
>>
>> if MIDI then
>>      p6 init 0
>>      etc for all pfields not used
>> endif
>>
>> --David
>>
>>> Hi All,
>>>
>>> Does anyone know if you can turn off the warning about pfields given
>>> not matching max num pfields? I'm designing an instrument right now
>>> that works with 5 pfields or 8 pfields, the first used when notes are
>>> generated from MIDI within blue, the other when doing hand scoring and
>>> script-generated scoring. I get messages like:
>>>
>>> WARNING: instr 1 uses 8 p-fields but is given 5
>>>
>>> when I'm working from MIDI and while it's just a warning, it'd be nice
>>> to be able to turn this on/off.
>>>
>>> Thanks!
>>> steven
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by MailScanner, and is
>>> believed to be clean.
>>>
>>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-03-29 19:26
FromSteven Yi
SubjectRe: [Csnd] Pfield warnings
This could work, but I think I'd rather use a flag for this.  I'll see
about putting one in as it seems like there isn't one already.

On Tue, Mar 29, 2011 at 1:46 PM,   wrote:
> I would rig up a conditional statement that does this:
>
> if MIDI then
>     p6 init 0
>     etc for all pfields not used
> endif
>
> --David
>
>> Hi All,
>>
>> Does anyone know if you can turn off the warning about pfields given
>> not matching max num pfields? I'm designing an instrument right now
>> that works with 5 pfields or 8 pfields, the first used when notes are
>> generated from MIDI within blue, the other when doing hand scoring and
>> script-generated scoring. I get messages like:
>>
>> WARNING: instr 1 uses 8 p-fields but is given 5
>>
>> when I'm working from MIDI and while it's just a warning, it'd be nice
>> to be able to turn this on/off.
>>
>> Thanks!
>> steven
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"