twobigears / Circle-Synth

A grid-less sequencer synthesizer that makes quick and quirky musical sounds
GNU General Public License v2.0
22 stars 5 forks source link

Any clue about the native libraries? #47

Closed dalb8 closed 10 years ago

dalb8 commented 10 years ago

I've tried building libpd with ndk r9 but it's not working out. Anyway, the native libs in your repo don't look to be related to what's in the current libpd—how would I go about getting the source and building those?

re-sounding commented 10 years ago

Try building libpd with any of ndk 8 versions and should be okay. ndk 9 requires a change in the make file.

We haven't made any changes to libpd for Circle Synth. We didn't even bother to compile it and just used the compiled version from the repo. What do you see different?

dalb8 commented 10 years ago

It's the names of the files that look different. Do you know what commit it was?

re-sounding commented 10 years ago

Right. This repo does not include libpd. Instead, the Eclipse project refers to the libpd library locally (look at the pd-for-android Wiki on how it is setup).

The libs folder in this repo contains just two of the externals used in Pd: lores~ is from the Cylone library tb_peakcomp~ can be found here: https://github.com/twobigears/tb_peakcomp

dalb8 commented 10 years ago

Thanks, Ill try that later. Sorry if that sounded confusing; I was only compiling it as a shot in the dark to get your local libs.

dalb8 commented 10 years ago

I've run into a brick wall compiling both libraries for Android (see http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html for Cyclone) . I've built the app via the prebuilts and it's great; I was hoping to propose it for the f-droid.org market, but unless they can build those from source they wouldn't accept it.

P.S you're missing a string for app_license

re-sounding commented 10 years ago

Yeah, the Cyclone library is a nightmare to compile. @intellectualamoeba wrote a post about it: http://abeshthakur.wordpress.com/2013/05/02/compiling-externals-for-libpd-on-linux/

You can use the same method outlined in the blogpost for compiling tb_peakcomp~ as well, but it is more straightforward as there are no additional libraries that need to be linked.

The string app_license is missing on purpose for security reasons. The app includes a donate activity and the string is used for that. You can set app_license to anything you want as the donate activity is not important for the functioning of the app.

dalb8 commented 10 years ago

Oh thanks for the info! I set the license string to GPLv2! Would be nice to have a Paypal or Bitcoin or Flattr fallback; not sure if Google Play allow Bitcoin in apks on Google Play as they pull apps that have the other two. I'd chance it!

re-sounding commented 10 years ago

Yeah, alternate forms of payment aren't exactly legal on Google Play AFAIK.