| 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
----- Original Message -----
From: "Tito Latini"
To:
Sent: Friday, July 20, 2012 12:59 PM
Subject: Re: [Csnd] tab/table anomoly
>I think that it is a bug with your version because your example works
> here with a recent version of csound.
>
> tito
>
> On Fri, Jul 20, 2012 at 12:47:20PM -0400, Art Hunkins wrote:
>> Thanks, Tito. The revised f table indeed permits ctrl7 to reach full
>> volume
>> (1).
>>
>> However, now tab exhibits the same behavior as table, i.e., the note
>> initializes to full on before ctrl7 continues with the expected amplitude
>> behavior.
>>
>> Clearly, something is wrong with the way in which tab and table interact
>> with GEN16 (here in f1). Perhaps part of the problem is in the way ctrl7
>> "initializes" (or rather, puts out nothing until it is moved).
>>
>> The only way to get proper performance and a full range of 0-1 for ctrl7,
>> is to use your revised f table *and* add the line:
>> ctrlinit 1, 7, 0
>> at the beginning of instr 1. (Then both tab and table work as expected.)
>>
>> I don't believe *either* of these additions should be necessary, and
>> would
>> appreciate a developer investigating and fixing this elusive bug.
>>
>> Art Hunkins
>>
>> ----- Original Message -----
>> From: "Tito Latini"
>> To:
>> Sent: Friday, July 20, 2012 4:56 AM
>> Subject: Re: [Csnd] tab/table anomoly
>>
>>
>> >it works
>> >
>> >f1 0 16385 16 0 16384 6 1
>> >
>> >tito
>> >
>> >On Thu, Jul 19, 2012 at 09:51:11PM -0400, Art Hunkins wrote:
>> >>I don't understand the action of tab, or its substitute, table, in the
>> >>.csd
>> >>below.
>> >>
>> >>The example uses a MIDI volume control (typically controller 7) to vary
>> >>the
>> >>amplitude of a sine wave.
>> >>
>> >>With *tab*, controller response is normal until it reaches max (1),
>> >>where
>> >>it drops precipitously to zero; once below max, it resumes normal
>> >>behavior.
>> >>
>> >>With *table* (replacing tab) and controller 7 preset to 0, the example
>> >>initializes at full volume. When the controller is raised, output
>> >>reverts
>> >>to what is expected, and continues normally.
>> >>
>> >>I presume the problem has to do with converting or interpolating
>> >>different
>> >>kinds of numbers - or having to do with the way 0 and 1 are handled by
>> >>tab
>> >>and table. I'm running Csound 5.06 on Windows XP (if this is a factor).
>> >>
>> >>Explanations?
>> >>
>> >>Art Hunkins
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>; 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, 0, 1
>> >>k2 tab k1, 1, 1
>> >>k2 port k2, .01
>> >>a1 oscil 5000 * k2, 440, 2
>> >> outs a1, a1
>> >>
>> >> endin
>> >>
>> >>
>> >>
>> >>
>> >>f1 0 16384 16 0 16384 6 1
>> >>f2 0 16384 10 1
>> >>i1 0 60
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>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"
>
>
> 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"
>
|