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

Re: [sc-users] new list member - with a ribbon controller



I don't have time to look at this much right now, but I can suggest looking at the help file for ControlSpec.

You can set the upper and lower bounds to whatever you want -- the amplitude doesn't have to be 0..1.

You got 0.25 at the bottom end of the amplitude range because the \amp curve squares the input value (so that a linear change in the input value produces the perception of linear volume change -- the perceived volume varies with the square, not linearly).

You can put an if statement inside the touch responder so that received values below a certain level will always put zero on the control bus.

hjh

On Oct 24, 2007, at 3:39 PM, Tibor Páli wrote:

Dear James,

thanks a lot for the suggestion. Your code works! I slide my finger on the controller and I get a continous change of pitch (I will have to re-scale the pitch range). Also the volume responds to pressure. Latency seems to be not an issue. Feels most like an analogue device. Excellent! There are some improvements needed for better playability.


: H. James Harkins

: 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