Cabbage Logo
Back to Cabbage Site

New pre-release beta of 5.15 available for testing

I’ve uploaded a pre-release beta of the next version for OSX for people to try out. It can be found here:
https://dl.dropboxusercontent.com/u/11301894/CabbageOSXUniversal.pkg

The windows version is available here:
https://dl.dropboxusercontent.com/u/11301894/Cabbage32Setup.exe

Just started testing this version, and I noticed that widgets don’t have a popuptext() by default anymore. Nor does a popuptext() statically set in the cabbage section show up. The only way I can get a popuptext is to set it through an identchannel.

And that’s why it’s a pre-release :wink: sorry about that, I’ll upload an updated build later with a fix for that. Thanks for taking a look.

Always glad to help out. A much bigger issues I’m seeing is that I get lots of csound errors when I shouldn’t. Every single file save on certain projects results in:
sample rate overrides: esr = 44100.0000, ekr = 0.0000, ksmps = -2147483648
sr = 44100, kr = 0, ksmps = inf

If I reload the instrument it works fine, then immediately save and it crashes again. Maybe related to UDOs? This is a pretty big one, as it’s made a HUGE impact in my workflow. Now I have to save, then reload to get it working, and then find where in the code I was working on all over again. You can see this behavior on the DTMF instrument I posted the other day.

That’s odd, I’m not experiencing that behaviour at all. You’re on OSX right? I’m running 10.10 here and I’m using the Csound that ships with Cabbage. Did you install the Csound from that installer too?

P.s. can you send me a simple instrument that causes this issue? And can you let me know if the examples are all broken for you too?

[edit] I can’t reproduce this behaviour at all with your dtmf instrument. It runs fine for me here.

[edit] even more strange, I have no problems at all with the popup text? Sounds like something is not right there. What version number is showing when you go to about?

[edit] It looks like the installer might not install everything fi you uncheck the install Csound option. This might be your problem?

I think I have a fix for this. I’ll do a new build tomorrow for you.

Awesome! Sorry, I was busy so far today, hadn’t gotten to test anything yet. I needed to test the version of DTMFDialer I had uploaded instead of my local version (slightly different), and double check that I had installed the packaged version of csound (pretty sure I did because I was hoping for the sprintf ternary string fix, but unfortunately didn’t see it)

I’ll test that stuff anyway, but only report back if I find that either of them fix my issue… I’m pretty sure neither will.

Can you try this version:

https://dl.dropboxusercontent.com/u/11301894/CabbageOSXUniversal.pkg

Click to install both components.

Installed and tested, did not fix it.

I’m also still not seeing popuptext by default. Actually… I only see popuptext from the root window when I have a popup window placed over it. It’s the total opposite of what popup window’s popuptext was doing before :wink:

I did confirm that the version of DTMFDialer I had uploaded triggers this issue. Opening the file it will work fine, but opening the editor and hitting command-s to save will cause a csound failure with the message about krate being wrong. Hitting reload will make it work again, but no amount of saving ever does… so it seems to be the two behave differently in a way that’s affecting initialization.

OSX 10.7 core i5 1.6ghz, 4G ram.

If you’re having trouble recreating the issue still, I have a shot in the dark idea… try bogging down your system, make lots of gui updates every control cycle, etc etc. I’m wondering if me being on slower and older hardware might be surfacing some sort of timing issue that on faster hardware doesn’t appear. A race condition of sorts…

Ok. I was overriding kr at instrument startup, which I got rid of, but I forgot to remove the same from the recompile method. That might help. Reload and recompile use different methods. That must be it. I’ll try to get an updated build to you shortly. Let’s try to fix this first. Then we can look at the popuptext issue.

Definitely, this is a much bigger issue as it seems to break workflow.

Is this also why changing kr in a project leads to audio oddities and eventual crashes etc? I’ve noticed if I change my kr I may as well quit and restart cabbage.

Yeah. It was something i added during the summer and something I will try to work back into the code. It has t do with loading plugins in host that have a different SR than the underlying Csound instrument. It was causing odd behaviour. I added a ‘so-called’ fix, but I never got a chance to test it thoroughly. Thanks for the feedback. it’s invaluable. I should have a new build in a half hour or so!

I’m just glad to help out where I can, thanks for all your work on cabbage!

Perfect timing on a build then, I’m just hopping into the shower… I can test when I’m out if you’ve got one posted.

Ok. New build in. I really hope this fixes the issue. I also threw in a solution to your ifdef woes.

From the same link in the original post?

Yup. Link should be the same.

Fixes DTMF, but another instrument I was working on now loads ok, but gets div by 0 errors when I save… =\

edit: so… fixes that kr problem it seems like… but still something screwy going on with init.

Can you send me the instrument? And is this in plugin mode only, or in both standalone and plugin mode? i concur, something screwy going on. I just did a fresh install on an OSX 10.8 and had no issues. The dic by 0 is weird. Do all the examples work Ok for you?

Sent you 3, all were having issues of some sort. Maybe it’s me? :wink:

Most of my testing has been in standalone.

I think the div by 0 is because a variable that should be set from channel input isn’t getting set “on time”… which I think is actually the same problem the other instruments are having, but they don’t divide by channel input, so they don’t fail quite as dramatically.

Thanks. I’ll take a look.

[edit] new OSX build available. Can you let me know if it’s any better. The popuptext issue is still present. Right now I’m trying to sort those division by zero errors. Same link as the one posted above.