My apologies, the "calc"'s "int" option doesn't round half away from zero. Actually I used "int", but forgot the parentheses...
[rocketmouse@archlinux ~]$ calc "int((60000/120)*4*(1/24))"
83
[rocketmouse@archlinux ~]$ calc "((60000/120)*4*(1/24))"
~83.33333333333333333333
[rocketmouse@archlinux ~]$ calc "((60000/120)*4*(1/1024))"
1.953125
[rocketmouse@archlinux ~]$ calc "int((60000/120)*4*(1/1024))"
1
...I now decided to remove it entirely.
bpm2ms
Description: Binary data
-- ubuntu-studio-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
