BelaPlatform / supercollider

an environment and programming language for real time audio synthesis and algorithmic composition
GNU General Public License v3.0
14 stars 8 forks source link

Bela/3.11 #72

Closed argl closed 3 years ago

argl commented 4 years ago

Purpose and Motivation

Make the latest SC release available on Bela, including Link support

Types of changes

Merged upstream 3.11 into the current bela 3.10 branch and made it compile.

Checklist

Remaining Work

Its been a while since I was exposed to C++ code, so ymmv. The main obstacles was getting the toolchain working (distcc), working through the cmake changes and the refactoring of scsynth_main. Other than that it was pretty smooth and I verified briefly that link propagates tempo changes as expected.

giuliomoro commented 4 years ago

Thanks, I'd like instead to rebase Bela's commits on top of Sc's release, but I will keep your merge as a reference.

argl commented 4 years ago

Thats great, any chance that bela support will be included in the official supercollider code base?

giuliomoro commented 4 years ago

I did inquiry about that at some point and they suggested that it would need some way of automatic building and testing which I never did as I don't have any knowledge of continuous integration. Is that something you could perhaps help with?

argl commented 4 years ago

I dont have the faintest idea how sc development is done nowadays. I did not use it for 15 years, only recently. If we can get the next release out of the door with bela changes on top, we could get a discussion going, and I am happy to help if I can.

There is interest there for sure and it would benefit both communities.

argl commented 4 years ago

Ah and two things I noticed when playing around with it (dont know where else to put it):

giuliomoro commented 3 years ago

hi @argl, I am preparing a new branch rebased on top of develop. It seems that it's doing OK, but I have to disable ABLETON_LINK when building it, because even though cmake runs fine, it fails at compile time for not finding some asio includes ... would you mind sharing how you managed to build with ABLETON_LINK support?

argl commented 3 years ago

Honestly, I dont rememeber doing anything special there, but my recollection is hazy. ASIO dependencies are pulled in as a submodule for the Link sources. I still have the build tree hanging around, if you want me to check something specific there. Note that I am not a seasoned C/C++ developer, I dont know much about cmake.

giuliomoro commented 3 years ago

I see, maybe I had to do some recursive submodule thing. Let me try again

giuliomoro commented 3 years ago

git submodule update --init --recursive seems to have made the trick, but apparently if you run it once without --recursive, you have to nuke out the submodules before it can be effective when running it again.

Thanks a bunch!

so here's a release which includes the new Scope (#75) and Ableton Link, and is rebased on top of develop, if you want to test it:

https://github.com/BelaPlatform/supercollider/releases/tag/v3.11-bela2