Csound Csound-dev Csound-tekno Search About

[Csnd] Strange FLTK behavior in Csound 5.08

Date2008-04-01 14:41
FromAndreas Bergsland
Subject[Csnd] Strange FLTK behavior in Csound 5.08
Hi,
I am having some problems with the text size for several FLTK opcodes 
with csound 5.08 that I didn't experience in earlier versions. When I 
define e.g. a slider or a knob the text appears with a very large size. 
Thus, I have had to use FLsetTextSize to work around this. This was not 
neccesary before, when widgets appeared with a default size of something 
like 10 or 12.
Moreover, when I use tabs, the size of the tabs themselves as well as 
the text are oversize, and since FLtabs has no handle, I can't work 
around this.
This seems to me like a bug, because in .csd's that have worked fine 
before, this has now become a problem.

Best regards,
Andreas Bergsland


Date2008-04-01 14:49
FromVictor Lazzarini
Subject[Csnd] Re: Strange FLTK behavior in Csound 5.08
platform and package?

At 14:41 01/04/2008, you wrote:
>Hi,
>I am having some problems with the text size for several FLTK opcodes with 
>csound 5.08 that I didn't experience in earlier versions. When I define 
>e.g. a slider or a knob the text appears with a very large size. Thus, I 
>have had to use FLsetTextSize to work around this. This was not neccesary 
>before, when widgets appeared with a default size of something like 10 or 12.
>Moreover, when I use tabs, the size of the tabs themselves as well as the 
>text are oversize, and since FLtabs has no handle, I can't work around this.
>This seems to me like a bug, because in .csd's that have worked fine 
>before, this has now become a problem.
>
>Best regards,
>Andreas Bergsland
>
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>csound"

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


Date2008-04-01 18:20
FromAndreas Bergsland
Subject[Csnd] Re: Re: Strange FLTK behavior in Csound 5.08
csound win32-float on Windows XP. The same happens when I run from 
WinXound and from command line.
Andreas
> platform and package?
>
> At 14:41 01/04/2008, you wrote:
>> Hi,
>> I am having some problems with the text size for several FLTK opcodes 
>> with csound 5.08 that I didn't experience in earlier versions. When I 
>> define e.g. a slider or a knob the text appears with a very large 
>> size. Thus, I have had to use FLsetTextSize to work around this. This 
>> was not neccesary before, when widgets appeared with a default size 
>> of something like 10 or 12.
>> Moreover, when I use tabs, the size of the tabs themselves as well as 
>> the text are oversize, and since FLtabs has no handle, I can't work 
>> around this.
>> This seems to me like a bug, because in .csd's that have worked fine 
>> before, this has now become a problem.
>>
>> Best regards,
>> Andreas Bergsland
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>> "unsubscribe csound"
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
> "unsubscribe csound"
>


Date2008-04-02 15:33
FromIain McCurdy
Subject[Csnd] curious maxalloc behaviour
I've just noticed that maxalloc regards two instruments delared using the same code differently to two instruments declared using separately. Is this the intended behaviour? Here's an illustration of what I mean:
(ver. 5.07 windows and Gui 5.07 on OSX)

<CsInstruments>
sr    =     44100
ksmps    =     10
nchnls    =     1

maxalloc 1,1    ;ONLY 1 ALLOCATION OF INSTR 1 ALLOWED
maxalloc 2,1    ;ONLY 1 ALLOCATION OF INSTR 2 ALLOWED
maxalloc 3,1    ;ONLY 1 ALLOCATION OF INSTR 3 ALLOWED
maxalloc 4,1    ;ONLY 1 ALLOCATION OF INSTR 4 ALLOWED

instr        1, 2    ;INSTRUMENTS 1 AND 2 DECLARED USING THE SAME CODE
    a1    oscili    10000, p4, 1
    out    a1
endin

instr        3
    a1    oscili    10000, p4, 1
    out    a1
endin

instr        4
    a1    oscili    10000, p4, 1
    out    a1
endin

</CsInstruments>

<CsScore>
f 1 0 4096 10 1

i 1 0 2 400
i 2 1 1 500 ;NOTE PREVENTED BY MAXALLOC BUT NO OTHER i2 IS PLAYING!

i 3 4 2 400 ;BOTH NOTES PLAY AS EXPECTED
i 4 5 1 500 ;BOTH NOTES PLAY AS EXPECTED

i 3 7 2 400
i 3 8 1 500 ;NOTE PREVENTED BY MAXALLOC AS EXPECTED
</CsScore>
 


Going green? See the top 12 foods to eat organic.