Pitch goes down when it should go up!
Author: chromamorphCreated Sep 15, 2026Updated Sep 22, 2026
Labelsbugcomp: class library
In certain cases where \degree is given floating point values, some intervals between consecutive notes in a Pbind descend when they should ascend.
Environment
- SuperCollider version: 3.14.1
- Operating system: MacOS 15.7.9 on 2.5 Ghz 8-core Intel Core i9 Macbook Pro 2019 model
- Other details (Qt version, audio driver, etc.): Sound is channelled to Macbook Pro speakers or external headphones
Steps to reproduce
In the following examples, the pitch descends when it should ascend.
(Pbind(
\degree, Ppatlace([
Pseq([Pseries(5.25,0.5,inf)],inf), //Note that pitch descends by a third when degree goes up by 0.5!
],inf).trace,
\dur, 0.25
).play;)
(Pbind(\degree,Pseq([5.8281883001328,
6.9329056739807,
5.725284576416,
6.5625191926956])).play;
)
//The interval between the 3rd and 4th notes is descending, when it should be ascending.
//If degree is changed to note, then the sound generated is correct.
//On the other hand, the following example works correctly:
(Pbind(\degree,Pseq([5.5,
6.5,
5.5,
6.5])).play;
)
Expected vs. actual behavior
No error messages but behaviour is incorrect. See examples above.
Source: supercollider/supercollider