If your problem is a bad value during the performance, then it is a
bug on windows. If it is only a problem at init time, I think that
it is not a bug. From initc7 man page:
"initc7 can be used together with both midic7 and ctrl7 opcodes for
initializing the first controller's value."
tito
On Fri, Jul 20, 2012 at 05:51:21PM -0400, Art Hunkins wrote:
> Thanks, Tito. It must be a difference between linux 64bit and the latest
> doubles Windows version at Sourceforge (as well as previous Windows
> distributions).
>
> I've identified one specific problem with ctrl7 in my distribution: prior
> to moving the controller, ctrl7 outputs the *high limit* value rather than
> 0. Thus:
> ctrl7 1, 7, 10, 20
> outputs 20 before the controller moves. This is not correct. Here's the
> .csd to demonstrate:
>
>
>
>
> ; for Windows, Mac
> -odac -M0 -b128 -B2048
> ; for Linux
> ;-odac -+rtaudio=alsa -+rtmidi=alsa -M hw:1,0 -b128 -B2048
>
>
>
>
> sr = 44100
> ksmps = 100
> nchnls = 2
>
> instr 1
>
> k1 ctrl7 1, 7, 10, 20
> printk2 k1
>
> endin
>
>
>
>
> i1 0 60
>
>
>
>
> Art Hunkins
>
> ----- Original Message -----
> From: "Tito Latini"
> To:
> Sent: Friday, July 20, 2012 3:24 PM
> Subject: Re: [Csnd] tab/table anomoly
>
>
> >yes, I use a MIDI controller and your example works with
> >
> > f1 0 16385 16 0 16384 6 1
> >
> >Values checked with printk2, the range is [0.00000; 1.00000]
> >I use linux 64bit.
> >
> >tito
> >
> >On Fri, Jul 20, 2012 at 02:52:03PM -0400, Art Hunkins wrote:
> >>Strange.
> >>
> >>I did a clean install of Csound5.17 (Windows doubles), and I get
> >>identical
> >>results to before.
> >>
> >>Did you try the example with a MIDI controller? I get a note with maximum
> >>volume (and controller set at 0 - not that that matters any; whatever the
> >>setting, the initial volume - prior to moving the control - should be 0).
> >>
> >>Art Hunkins
> >
> >
> >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"