I’m finally starting to play with dbRackCsound, experimenting with porting a custom instrument I made for the Nebulae module. I’m getting compilation error (assuming that’s what the blinking red light indicates). Is there any way to see the error messages?
Argh! That was it, thanks! One of those insidious bugs that isn’t caught by a syntax check. This works now for IN1, but now my usage of IN2 is failing (without that bug, but probably with a different one:
I threw in the qnan() check just to see what happens, but this code fails with or without that check, apparently on use of the kndxb variable… I’m sure that there’s some other horrible bug that I am just not seeing. I am sending similar LFOs to IN1 and IN2 (-5 to +5).
(BTW: the workflow I’m using now is to edit the Csound code in VSCode as an ORC file, and then execute “csound --orc --syntax-check-only ” before pasting it into the module.)
Interesting, I don’t get that error. And AFAIK, ftmorf is zero-based, which is how I’ve been using it for a while. But thanks very much, I will keep looking.
[50.414 info src/DBCSound.hpp:100 compile] csound compiled ksnps=32 nchnls=2
i 1 time 52.23000: 2.50000
i 1 time 52.73000: 2.50000
i 1 time 53.23000: 2.50000
i 1 time 53.73000: 2.50000
i 1 time 54.23000: 2.50000
i 1 time 54.73000: 2.50000
i 1 time 55.23000: 2.50000
i 1 time 55.73000: 2.50000
Csound mailing list Send bugs reports to Discussions of bugs and features can be posted here
It does work if P2 = 10 what means that kndxb = 0. if kndxb > 0 then there could occur greater indexes as in the log file printed
(i added “printk 0.5,kndx”)
i 1 time 377.42467: 7.90272
Invalid ftable no. 0.000000
if P2 = 10 then it looks ok e.g.
i 1 time 45.50067: 0.18161
i 1 time 46.00067: 1.36173
i 1 time 46.50067: 3.09503
i 1 time 47.00067: 4.53410
i 1 time 47.50067: 4.98996
i 1 time 48.00067: 4.24227
i 1 time 48.50067: 2.65244
i 1 time 49.00067: 0.98279
i 1 time 49.50067: 0.05293
i 1 time 50.00067: 0.31542
i 1 time 50.50067: 1.64635
i 1 time 51.00067: 3.38955
i 1 time 51.50067: 4.69761
i 1 time 52.00067: 4.94344
i 1 time 52.50067: 4.00820
i 1 time 53.00067: 2.34322
i 1 time 53.50067: 0.74858
i 1 time 54.00067: 0.00846
i 1 time 54.50067: 0.48291
Csound mailing list Send bugs reports to Discussions of bugs and features can be posted here
Had issue with compiling error with my onboard mic a couple weeks back, which
I never use to begin with, I leave it turned off, ‘mic in 0’ and never a problem.
Checked internal setting on the laptop, still got ‘mic in 0’ which was never a
problem before. Still had compiling error.
I uninstalled dbRackCsound, check my system preference settings for audio,
nothing changed, ran one of my Csound projects and it all came back. No
compiling errors.
Maybe with all the audio software on my computer, it didn’t want to deal
with another. So now I’m wondering about that. dbRack use resources that
prioritized for itself over Csound???
ok i will check this, maybe i have to grab the csound messages and put them into the rack info log. Csound mailing list Send bugs reports to Discussions of bugs and features can be posted here