[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] [sc-users] First release candidate of SC 3.2 now available!



Maybe abstract solution, but how about 'o'= 0 or 'z' = zero in the key command rather than '0' which has to be reserved for numbers?

best
N


On 28 Jan 2008, at 17:58, Josh Parmenter wrote:

Working on the '0' problem. Here is a possible start for a solution (I
also moved the var declaration for volumeNum to the head of the
makeWindow method):

			{char === $0 and: {volumeNum.hasFocus.not}} {
				this.volume = 0.0;
				};

So, if the number box is focused, 0 is ignored. However, this means
that, if the number box is focused, just pressing 0 does nothing (you
have to hit enter). The other key presses work fine (mute, etc.), just
0 doesn't work. One thing I could do is set volumeNum.focus(false) if
it's value is 0, but this doesn't seem like good behavior either
(since you may want to use arrow keys still to set a new number
value). Any suggestions?

josh

On Jan 28, 2008, at 9:01 AM, James Harkins wrote:

Actually there is already a bug with this. You can't type -10 into the
volume box because the "0" resets to unity gain and throws away
whatever else you typed.
hjh

On Jan 28, 2008 11:32 AM, Josh Parmenter <josh@xxxxxxxxxxxxxxxxx>
wrote:
just a quick note about the slider and mute button.

If the Server window is focussed, 'm' will mute and unmute. 0 will
move the slider back to 0db.

If the Volume of a Server is 0, then the synth that is controlling
volume is freed (so if you are playing with the slider and noticed a
synth coming and going, this is why).



--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman
_______________________________________________
Sc-devel mailing list
Sc-devel@xxxxxxxxxxxxxxx
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own
interpretation of how modern society is structured: whether actively
or passively, consciously or unconsciously, he makes choices in this
regard. He may be conservative or he may subject himself to continual
renewal; or he may strive for a revolutionary, historical or social
palingenesis." - Luigi Nono
*/

_______________________________________________
Sc-devel mailing list
Sc-devel@xxxxxxxxxxxxxxx
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel