\degree with Pexprand

Hi folks,

Why this is working

\freq, Pn( Pseed(Pfunc { ~seed }, Pseq( { Pexprand(40, 430, 1) }.dup(~step), 1).midicps)),

But this not

\degree,  Pn( Pseed(Pfunc { ~seed }, Pseq( { Pexprand(0, 7, 1) }.dup(~step), 1))),

Or how can I generate random degree values ?

Thanks

simply put, you can’t use zero as input for exponential stuff. 0.01 should work fine

Great, thanks Herman