I don't know the internals of how a note is turned off, but IMO there should be a way to ask for that in the sound module. At that point, I thought entering "Off" would be clear as to what was intended, rather that the ambiguity of "0". Exactly what would need to happen beyond that internally, I don't know. Like I said, I'm not a programmer. If that means storing a "0" that is fine, as long as it has the effect of turning the note off.

On 5/15/2011 11:04 PM, Jay Litwyn wrote:
So, you want it to store "0" and display "off"?
----- Original Message -----
From: Bill Jemison
To: Fractint and General Fractals Discussion
Sent: Saturday, May 14, 2011 10:17 AM
Subject: Re: [Fractint] A meaning for scalemap=0/0/0/0/0/0/0/0/0/0/0/0;silence.

Jay,

Like I said, I would be fine with putting in a special case programming line for entering zero, where zero is intended to be a silent note or rest. It seems logical and functional to me. There does need to be a change in the parameter file parser to allow the zeros to be passed into the calculation.

I do wonder, however, if it might be more explanatory if, rather than a zero being passed, an "Off" was...so that the option in the <ctrl+f>->F7 screen would read "Off" rather than "0"?

On 5/13/2011 7:33 PM, Jay Litwyn wrote:
Okay, so zero is a valid number in this assignment:
frequency = reference * 2 ^ (1/12) ^ 0
 
In that, 2 ^ (1/12) ^ 0 = 1, so a scalemapping of zero translates to the reference frequency: reference over one, which, if your reference frequency is 440Hz, 220Hz, 110Hz, or 55Hz, is a 12-TET Ay.
 
FracTint will use zeros if you enter them manually. It will also save them. I won't load them from parameter files. It should not be treated as it is, though, because that means two Ays are possible in a scalemapping: Zero and Twelve.
 
I've been using zero to reprezent silence for over ten years. That's what M$ QBASIC does. It was a bit tricky to get a neat zero in my synthesizer, when I decided that the PC speaker didn't offer quite enough in the way of parallel harmonics and neat sine waves.
 
If I want to change it, I guess the easiest way is to read the code myself, splice in a special case for zero, where all of the Cs, one of which would normally be at about 65.4Hz, become silent: compile it in, and offer it on the developers mailing list when it works.
_______
http://ecn.ab.ca/~brewhaha/Sound/
_______________________________________________ Fractint mailing list Fractint@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/fractint


_______________________________________________
Fractint mailing list
Fractint@mailman.xmission.com
http://mailman.xmission.com/cgi-bin/mailman/listinfo/fractint
_______________________________________________ Fractint mailing list Fractint@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/fractint