STKRhodey, STKFlute, gogobel ... on Android Studio
Date | 2017-08-02 15:50 |
From | Andrea Strappa |
Subject | STKRhodey, STKFlute, gogobel ... on Android Studio |
Hi list, Can I use opcodes like STKRhodey in Android app? Android studio monitor gives this error: 08-02 16:04:13.013 1230-1341/com.strapparts.csound_android
I/AndroidCsound: line 28: The .csd file instead on Windows run usefully with STKRhodey. If I substitute poscil with STKRhodey the file run on Android. The instr is:
instr 1 ;simple electric piano iGain = .1 iAmp veloc iAmp = iAmp/127 ;convert velocity to 0dbfs iNum notnum iCps = cpsmidinn(iNum) ;notenum -> cps conversion kEnv madsr .05, .1, iAmp, .2 kv1 madsr .05, .1, 100, .2 ;(FM) Modulator Index One kv5 = 50 ;ADSR 2 and 4 target ;asig STKRhodey ifrq, iamp, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]] aSig STKRhodey iCps, iAmp, 2, kv1, 4, 10, 11, 100, 1, 3, 128, kv5 ;aSig poscil iAmp, iCps, 1 ;I have to substitute previous line! aSig = aSig * kEnv * iGain out aSig endin
Greetings Andrea S. |
Date | 2017-08-02 16:39 |
From | Rory Walsh |
Subject | Re: STKRhodey, STKFlute, gogobel ... on Android Studio |
You probably need to build and then include those plugin opcode libraries in your app. I could be wrong, but i don't think they ship with CsoundAndroid? And if they do, you may still need to specify the libraries using the --lib* command line flag. * Not not be --lib, you'll need to check the manual, it's something like that though.. On 2 Aug 2017 4:51 p.m., "Andrea Strappa" <a_strappa@tin.it> wrote:
|
Date | 2017-08-02 17:40 |
From | John ff |
Subject | Re: STKRhodey, STKFlute, gogobel ... on Android Studio |
Just to note the stk opcodes are also (mainly) available as eg wgflute, Rhode, .... O
Not sure if they are in Android version
Sent from TypeApp
On Aug 2, 2017, at 16:40, Rory Walsh <rorywalsh@EAR.IE> wrote:
|
Date | 2017-08-02 17:46 |
From | Michael Gogins |
Subject | Re: STKRhodey, STKFlute, gogobel ... on Android Studio |
The C++ STK opcodes are part of the current version of the Csound for Android app on the Google Play app store here: https://play.google.com/store/apps/details?id=com.csounds.Csound6&hl=en If you are trying to build your own app you can adapt the Android build file for the STK from here: https://github.com/csound/csound/tree/develop/android/pluginlibs/stk-csound/jni Regards, Mike ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Aug 2, 2017 at 12:40 PM, John ff |
Date | 2017-08-03 09:40 |
From | Andrea Strappa |
Subject | Re: STKRhodey, STKFlute, gogobel ... on Android Studio |
I'll try to adapt thoose indications. Thank you! Andrea S. Il 02/08/2017 18:46, Michael Gogins ha scritto: > The C++ STK opcodes are part of the current version of the Csound for > Android app on the Google Play app store here: > > https://play.google.com/store/apps/details?id=com.csounds.Csound6&hl=en > > If you are trying to build your own app you can adapt the Android > build file for the STK from here: > > https://github.com/csound/csound/tree/develop/android/pluginlibs/stk-csound/jni > > Regards, > Mike > > ----------------------------------------------------- > Michael Gogins > Irreducible Productions > http://michaelgogins.tumblr.com > Michael dot Gogins at gmail dot com > > > On Wed, Aug 2, 2017 at 12:40 PM, John ff |
Date | 2017-08-25 09:34 |
From | Andrea Strappa |
Subject | Re: STKRhodey, STKFlute, gogobel ... on Android Studio |
Hi list, thank you again for the answers, I studied the question but I still have some doubts. I saw that the libraries for the opcodes are in the folder 'pluginlibs' in the Csound-android library. How can I include them in my project on Android Studio? Have I to import the folder as a module like I did to include the CsoundAndroid library? Greetings Andrea Il 02/08/2017 18:46, Michael Gogins ha scritto: > The C++ STK opcodes are part of the current version of the Csound for > Android app on the Google Play app store here: > > https://play.google.com/store/apps/details?id=com.csounds.Csound6&hl=en > > If you are trying to build your own app you can adapt the Android > build file for the STK from here: > > https://github.com/csound/csound/tree/develop/android/pluginlibs/stk-csound/jni > > Regards, > Mike > > ----------------------------------------------------- > Michael Gogins > Irreducible Productions > http://michaelgogins.tumblr.com > Michael dot Gogins at gmail dot com > > > On Wed, Aug 2, 2017 at 12:40 PM, John ff |