Cabbage Logo
Back to Cabbage Site

Building Cabbage 2 on ubuntu

Yes, changing the buffer size in jack affects the buffer size in cabbage, but the number of buffer of jack are not taken in account by cabbage: if i have 512 samples in jack but i change the number of buffer from 2 to 3 or 4ā€¦ cabbage shows only 512 and relative ms number. Maybe Itā€™s correct, I donā€™t know.

One other problem during compilation process is that I got only CabbageLite, I didnā€™t found CabbageIDE anywhere in my build, If I comment out these lines in the buildCabbage script:

make -f MakeCabbageLite clean CONFIG=Release
make -f MakeCabbageLite -j6 CONFIG=Release
cp ./build/CabbageLite CabbageBuild/Cabbage

I (obvoiusly) donā€™t have CabbageLite but CabbageIDE is built and working

One more question, Is the gentable widget changed from version 1? I canā€™t get my older files to display it.

Iā€™m not sure either, but this is how it has always worked for me. And I can get pretty good latency?

You can just edit that last line to look like this:
cp ./build/CabbageLite CabbageBuild/CabbageLite
Itā€™s a typo. Itā€™s fixed in git, but the latest tip has some other changes that might be a little unstable. best to simply edit the build script for now.

The basic widget is the same, some identifiers have changed so it could be a colour issue. Can you send me on a basic test that fails?

Great, renaming worked, now I have both. If you are changing stuff Iā€™d like to advise you that only one .desktop file is created (for Cabbage, not CabbageLite).

This is one file where gentable was working in cabbage 1, now itā€™s not displayed.
TPZ_Luppario.csd (26.6 KB)

That looks like an issue with macros. Iā€™ll try to find a fix. Give me a momentā€¦

p.s thanks for the heads up on the .desktop fileā€¦

I have a fix for the macro issue. It actually forced me to make some bigger changes and improvements to the macro system, which Iā€™d been putting off.

Iā€™m sure @t_grey will be very nervous about this as his entire Cabbage empire is built on a foundation of macros! I hope I donā€™t cause it to tumble to the ground :grin:

Oh dear! :scream:

Tho honestly I donā€™t mind at all working through the problems if you donā€™tā€¦ especially if itā€™s in support of ā€œbigger changes and improvementsā€. Iā€™ll look forward to testing a fresh beta when itā€™s ready.

I assume this also includes the fix for macros included in the csoundcode section of an xml plant? (discussed over here: Slugs on Ver. 2.0.27a on OSX [resolved]) I hadnā€™t commented on that because you called it fixedā€¦ I figured you had the same thought I did; Macros in that area shouldnā€™t be expanded by cabbage at all anyway, but the entire block just inserted sanitized into the csound project and left for it to expand at ā€œrun timeā€.

Sorry, I donā€™t want destroy an empire just to run my crappy code!
When will be avaliable on github?

Donā€™t worry, my empire is built on crappy code!

Leave it with me. Iā€™m not quite there yet. Iā€™ll let you both know when Iā€™ve something to show.

Crappiness will wait :grin:

1 Like

@rorywalsh I am guessing these issues may affect building Cabbage2 on Arch Linux as well?

No, the latest tip should be working fine. I have pushed any of this stuff to git.

Iā€™m well and truly down the rabbit hole with this one. I should have something for you to test out soon. Thanks for your patience.

Ok @vallste, if you pull from the latest master and rebuild you should be good to go.

@alcomposer, what problems are you having building on Arch? Perhaps you could start a new thread?

@t_grey, donā€™t worry, the changes to the macro system shouldnā€™t affect anything youā€™ve done (apart from point 4 maybe), in summary:

  1. users can now place them where they like in the line as long as they come after the widget type.
  2. Cabbage no longer reorders identifiers when working with the GUI editor.
  3. The GUI editor now works fine with macros and wonā€™t overwrite them.
  4. To override an identifier in a macro text simply add the identifier after the macro appears. This is different to what was there before, but is much easier to implement and I think itā€™s more intuitive too considering identifiers are read from left to right.

Iā€™m just in the process of updating the docs.

@rorywalsh Im able to build Csound but it doesnā€™t build with MIDI ALSA Midi on Arch. (mainly wanting to build to test aftouch FL(0.0) as opposed to FL(127.0))
Wanting to know if there are any special libraries to install, but Arch tends to install mainly DEV versions?

Sorry, are you talking about Csound or Cabbage?

Hi Rory, just built, the file I posted still doesenā€™t show the gen table (but otherwise work), Iā€™ve tested some other .csd (gen table examples) and they work so I think that is a problem of that particular file, Iā€™ll investigate.

Got it. Since Cabbage 2, all identifiers are case sensitive. Itā€™s a breaking change, sorry, it was discussed some time ago. In your case your were using tablenumber instead of tablenumber.

Sorry for not being clear, I was attempting to build Csound by itself, just to test the change I made to aftouch.

UPDATE: Just worked out that Csound really needs to make install. I was trying to skip that step and just test it out without installing into the whole system.

Yup, thatā€™s certainly need unless you wish to run everything from a local dir. Did you manage to set modify the aftertouch stuff? Did it work?

[edit] I just read your other postā€¦