Csound Csound-dev Csound-tekno Search About

Csound on Android trouble

Date2016-08-18 16:37
FromAyush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE>
SubjectCsound on Android trouble
Hi All,
I have been trying csound on Android. 




; Select audio/midi flags here according to platform
--opcode-lib=./libshare_libfluidOpcodes.so
-odac         ;;;realtime audio out and realtime midi in
;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
;-o fluidNote.wav -W ;;; for file output any platform



sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1

giengine fluidEngine
; soundfont path to manual/examples
isfnum	 fluidLoad "./sf_GMbank.sf2", giengine, 1
         fluidProgramSelect giengine, 1, isfnum, 0, 0

instr 1

        mididefault   60, p3
        midinoteonkey p4, p5
ikey	init p4
ivel	init p5
        fluidNote giengine, 1, ikey, ivel

endin

instr 99

imvol  init 7
asigl, asigr fluidOut giengine
       outs asigl*imvol, asigr*imvol

endin







The above code works perfectly on Android lollipop or less.

But it shows an error in Android marshmallow


I am putting a log file

08-18 20:55:27.550  3279 28060 I GCoreUlr: Successfully inserted 1 locations
08-18 20:55:27.728   776   802 D WifiService: acquireWifiLockLocked:
WifiLock{NlpWifiLock type=2 binder=android.os.BinderProxy@82d2fac}
08-18 20:55:28.650   776  2845 D WifiService: releaseWifiLockLocked:
WifiLock{NlpWifiLock type=2 binder=android.os.BinderProxy@82d2fac}
08-18 20:55:33.694   776 27470 D NetlinkSocketObserver:
NeighborEvent{elapsedMs=119112453, 192.168.2.1, [08863BECE639],
RTM_NEWNEIGH, NUD_PROBE}
08-18 20:55:38.715 30247 30613 I AndroidCsound: setOpenSlCallbacks
08-18 20:55:38.716 30247 30613 I AndroidCsound: ==set callbacks
08-18 20:55:38.717 30247 30613 I AndroidCsound: ==callbacks set
08-18 20:55:38.717 30247 30613 I AndroidCsound: UnifiedCSD:  ./template.csd
08-18 20:55:38.717 30247 30613 I AndroidCsound: STARTING FILE
08-18 20:55:38.717 30247 30613 I AndroidCsound: Creating options
08-18 20:55:38.717 30247 30613 I AndroidCsound: Creating orchestra
08-18 20:55:38.717 30247 30613 I AndroidCsound: Creating score
08-18 20:55:38.717 30247 30613 I AndroidCsound: Loading command-line
libraries:
08-18 20:55:38.723 30247 30613 I AndroidCsound: 
08-18 20:55:38.723 30247 30613 I AndroidCsound: error: syntax error,
unexpected T_IDENT  (token "fluidEngine")
08-18 20:55:38.723 30247 30613 I AndroidCsound:  from file ./template.csd
(1)
08-18 20:55:38.723 30247 30613 I AndroidCsound:  line 17:
08-18 20:55:38.723 30247 30613 I AndroidCsound: >>>
08-18 20:55:38.723 30247 30613 I AndroidCsound: g
08-18 20:55:38.723 30247 30613 I AndroidCsound: i
08-18 20:55:38.723 30247 30613 I AndroidCsound: e
08-18 20:55:38.723 30247 30613 I AndroidCsound: n
08-18 20:55:38.723 30247 30613 I AndroidCsound: g
08-18 20:55:38.723 30247 30613 I AndroidCsound: i
08-18 20:55:38.723 30247 30613 I AndroidCsound: n
08-18 20:55:38.723 30247 30613 I AndroidCsound: e
08-18 20:55:38.723 30247 30613 I AndroidCsound:  
08-18 20:55:38.723 30247 30613 I AndroidCsound: f
08-18 20:55:38.723 30247 30613 I AndroidCsound: l
08-18 20:55:38.723 30247 30613 I AndroidCsound: u
08-18 20:55:38.723 30247 30613 I AndroidCsound: i
08-18 20:55:38.723 30247 30613 I AndroidCsound: d
08-18 20:55:38.723 30247 30613 I AndroidCsound: E
08-18 20:55:38.723 30247 30613 I AndroidCsound: n
08-18 20:55:38.723 30247 30613 I AndroidCsound: g
08-18 20:55:38.723 30247 30613 I AndroidCsound: i
08-18 20:55:38.723 30247 30613 I AndroidCsound: n
08-18 20:55:38.724 30247 30613 I AndroidCsound: e
08-18 20:55:38.724 30247 30613 I AndroidCsound:  <<<
08-18 20:55:38.724 30247 30613 I AndroidCsound: Unexpected untyped word
giengine when expecting a variable
08-18 20:55:38.724 30247 30613 I AndroidCsound: Parsing failed due to
invalid input!
08-18 20:55:38.724 30247 30613 I AndroidCsound: Stopping on parser failure
08-18 20:55:38.724 30247 30613 I AndroidCsound: 
08-18 20:55:38.724 30247 30613 I AndroidCsound: cannot compile orchestra


This thing works fine on Android API < 23 (lollipop) but not on marshmallow. 
Can you please point out the error.
Any help will be appreciated.
Thanks.


Btw I am using Qt to develop the android application



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241.html
Sent from the Csound - General mailing list archive at Nabble.com.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-08-18 16:41
Fromjpff
SubjectRe: Csound on Android trouble
Not an extert in Android amongst other things) but that looks like it does 
not ave the fluidsynth opcodes defined -- hence the syntax error.
==John ff

On Thu, 18 Aug 2016, Ayush wrote:

> Hi All,
> I have been trying csound on Android.
>
>
> 
> 
> ; Select audio/midi flags here according to platform
> --opcode-lib=./libshare_libfluidOpcodes.so
> -odac         ;;;realtime audio out and realtime midi in
> ;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ;-o fluidNote.wav -W ;;; for file output any platform
> 
> 
>
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs = 1
>
> giengine fluidEngine
> ; soundfont path to manual/examples
> isfnum	 fluidLoad "./sf_GMbank.sf2", giengine, 1
>         fluidProgramSelect giengine, 1, isfnum, 0, 0
>
> instr 1
>
>        mididefault   60, p3
>        midinoteonkey p4, p5
> ikey	init p4
> ivel	init p5
>        fluidNote giengine, 1, ikey, ivel
>
> endin
>
> instr 99
>
> imvol  init 7
> asigl, asigr fluidOut giengine
>       outs asigl*imvol, asigr*imvol
>
> endin
> 
> 
> 
> 
>
>
>
> The above code works perfectly on Android lollipop or less.
>
> But it shows an error in Android marshmallow
>
>
> I am putting a log file
>
> 08-18 20:55:27.550  3279 28060 I GCoreUlr: Successfully inserted 1 locations
> 08-18 20:55:27.728   776   802 D WifiService: acquireWifiLockLocked:
> WifiLock{NlpWifiLock type=2 binder=android.os.BinderProxy@82d2fac}
> 08-18 20:55:28.650   776  2845 D WifiService: releaseWifiLockLocked:
> WifiLock{NlpWifiLock type=2 binder=android.os.BinderProxy@82d2fac}
> 08-18 20:55:33.694   776 27470 D NetlinkSocketObserver:
> NeighborEvent{elapsedMs=119112453, 192.168.2.1, [08863BECE639],
> RTM_NEWNEIGH, NUD_PROBE}
> 08-18 20:55:38.715 30247 30613 I AndroidCsound: setOpenSlCallbacks
> 08-18 20:55:38.716 30247 30613 I AndroidCsound: ==set callbacks
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: ==callbacks set
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: UnifiedCSD:  ./template.csd
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: STARTING FILE
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: Creating options
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: Creating orchestra
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: Creating score
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: Loading command-line
> libraries:
> 08-18 20:55:38.723 30247 30613 I AndroidCsound:
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: error: syntax error,
> unexpected T_IDENT  (token "fluidEngine")
> 08-18 20:55:38.723 30247 30613 I AndroidCsound:  from file ./template.csd
> (1)
> 08-18 20:55:38.723 30247 30613 I AndroidCsound:  line 17:
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: >>>
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: g
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: i
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: e
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: n
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: g
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: i
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: n
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: e
> 08-18 20:55:38.723 30247 30613 I AndroidCsound:
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: f
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: l
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: u
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: i
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: d
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: E
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: n
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: g
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: i
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: n
> 08-18 20:55:38.724 30247 30613 I AndroidCsound: e
> 08-18 20:55:38.724 30247 30613 I AndroidCsound:  <<<
> 08-18 20:55:38.724 30247 30613 I AndroidCsound: Unexpected untyped word
> giengine when expecting a variable
> 08-18 20:55:38.724 30247 30613 I AndroidCsound: Parsing failed due to
> invalid input!
> 08-18 20:55:38.724 30247 30613 I AndroidCsound: Stopping on parser failure
> 08-18 20:55:38.724 30247 30613 I AndroidCsound:
> 08-18 20:55:38.724 30247 30613 I AndroidCsound: cannot compile orchestra
>
>
> This thing works fine on Android API < 23 (lollipop) but not on marshmallow.
> Can you please point out the error.
> Any help will be appreciated.
> Thanks.
>
>
> Btw I am using Qt to develop the android application
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-08-18 16:52
FromAyush Sha
SubjectRe: Csound on Android trouble

Thanks for your reply but shouldn't it work on both marshmallow and lollipop since they both are Android versions and also I have defined fluid Opcodes and it seems to be working great on android lollipop.  And it's present in armeabi-v7/ directory


On Thu 18 Aug, 2016 9:11 pm jpff, <jpff@codemist.co.uk> wrote:
Not an extert in Android amongst other things) but that looks like it does
not ave the fluidsynth opcodes defined -- hence the syntax error.
==John ff

On Thu, 18 Aug 2016, Ayush wrote:

> Hi All,
> I have been trying csound on Android.
>
>
> <CsoundSynthesizer>
> <CsOptions>
> ; Select audio/midi flags here according to platform
> --opcode-lib=./libshare_libfluidOpcodes.so
> -odac         ;;;realtime audio out and realtime midi in
> ;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ;-o fluidNote.wav -W ;;; for file output any platform
> </CsOptions>
> <CsInstruments>
>
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs = 1
>
> giengine fluidEngine
> ; soundfont path to manual/examples
> isfnum         fluidLoad "./sf_GMbank.sf2", giengine, 1
>         fluidProgramSelect giengine, 1, isfnum, 0, 0
>
> instr 1
>
>        mididefault   60, p3
>        midinoteonkey p4, p5
> ikey  init p4
> ivel  init p5
>        fluidNote giengine, 1, ikey, ivel
>
> endin
>
> instr 99
>
> imvol  init 7
> asigl, asigr fluidOut giengine
>       outs asigl*imvol, asigr*imvol
>
> endin
> </CsInstruments>
> <CsScore>
> </CsScore>
> </CsoundSynthesizer>
>
>
>
> The above code works perfectly on Android lollipop or less.
>
> But it shows an error in Android marshmallow
>
>
> I am putting a log file
>
> 08-18 20:55:27.550  3279 28060 I GCoreUlr: Successfully inserted 1 locations
> 08-18 20:55:27.728   776   802 D WifiService: acquireWifiLockLocked:
> WifiLock{NlpWifiLock type=2 binder=android.os.BinderProxy@82d2fac}
> 08-18 20:55:28.650   776  2845 D WifiService: releaseWifiLockLocked:
> WifiLock{NlpWifiLock type=2 binder=android.os.BinderProxy@82d2fac}
> 08-18 20:55:33.694   776 27470 D NetlinkSocketObserver:
> NeighborEvent{elapsedMs=119112453, 192.168.2.1, [08863BECE639],
> RTM_NEWNEIGH, NUD_PROBE}
> 08-18 20:55:38.715 30247 30613 I AndroidCsound: setOpenSlCallbacks
> 08-18 20:55:38.716 30247 30613 I AndroidCsound: ==set callbacks
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: ==callbacks set
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: UnifiedCSD:  ./template.csd
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: STARTING FILE
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: Creating options
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: Creating orchestra
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: Creating score
> 08-18 20:55:38.717 30247 30613 I AndroidCsound: Loading command-line
> libraries:
> 08-18 20:55:38.723 30247 30613 I AndroidCsound:
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: error: syntax error,
> unexpected T_IDENT  (token "fluidEngine")
> 08-18 20:55:38.723 30247 30613 I AndroidCsound:  from file ./template.csd
> (1)
> 08-18 20:55:38.723 30247 30613 I AndroidCsound:  line 17:
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: >>>
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: g
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: i
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: e
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: n
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: g
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: i
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: n
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: e
> 08-18 20:55:38.723 30247 30613 I AndroidCsound:
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: f
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: l
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: u
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: i
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: d
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: E
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: n
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: g
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: i
> 08-18 20:55:38.723 30247 30613 I AndroidCsound: n
> 08-18 20:55:38.724 30247 30613 I AndroidCsound: e
> 08-18 20:55:38.724 30247 30613 I AndroidCsound:  <<<
> 08-18 20:55:38.724 30247 30613 I AndroidCsound: Unexpected untyped word
> giengine when expecting a variable
> 08-18 20:55:38.724 30247 30613 I AndroidCsound: Parsing failed due to
> invalid input!
> 08-18 20:55:38.724 30247 30613 I AndroidCsound: Stopping on parser failure
> 08-18 20:55:38.724 30247 30613 I AndroidCsound:
> 08-18 20:55:38.724 30247 30613 I AndroidCsound: cannot compile orchestra
>
>
> This thing works fine on Android API < 23 (lollipop) but not on marshmallow.
> Can you please point out the error.
> Any help will be appreciated.
> Thanks.
>
>
> Btw I am using Qt to develop the android application
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-08-18 16:57
FromAyush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: Csound on Android trouble
Thanks for your reply but shouldn't it work on both marshmallow and lollipop
since they both are Android versions and also I have defined fluid Opcodes
and it seems to be working great on android lollipop.  And it's present in
armeabi-v7/ directory 



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241p5751243.html
Sent from the Csound - General mailing list archive at Nabble.com.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-08-18 17:06
Fromjpff
SubjectRe: Csound on Android trouble
I report on the rror message.  Tere may be a reason my libfluidOpcodes.so 
does not load -- a -v option _might_ give more information on this; but I 
barely manage to use android and failed totally to build for it.


On Thu, 18 Aug 2016, Ayush wrote:

> Thanks for your reply but shouldn't it work on both marshmallow and lollipop
> since they both are Android versions and also I have defined fluid Opcodes
> and it seems to be working great on android lollipop.  And it's present in
> armeabi-v7/ directory
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241p5751243.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-08-19 03:56
FromSteven Yi
SubjectRe: Csound on Android trouble

Is one of the devices being tested on using an arm64 processor?


On Thu, Aug 18, 2016, 9:06 AM jpff <jpff@codemist.co.uk> wrote:
I report on the rror message.  Tere may be a reason my libfluidOpcodes.so
does not load -- a -v option _might_ give more information on this; but I
barely manage to use android and failed totally to build for it.


On Thu, 18 Aug 2016, Ayush wrote:

> Thanks for your reply but shouldn't it work on both marshmallow and lollipop
> since they both are Android versions and also I have defined fluid Opcodes
> and it seems to be working great on android lollipop.  And it's present in
> armeabi-v7/ directory
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241p5751243.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-08-19 05:02
FromAyush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: Csound on Android trouble
Hi Steven,

I am testing it on Nexus 5 which I guess is an arm processor(Marshmallow
Android 6.0)

And it seemed to be working fine on Sony Xperia Z1 which is arm
Cortex-A53(Lollipop Android 5.1)

Is the problem related to run time permissions introduced in
marshmallow(Android 6.0)?

Thanks,
Ayush Shah.



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241p5751261.html
Sent from the Csound - General mailing list archive at Nabble.com.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-08-20 08:06
FromSteven Yi
SubjectRe: Csound on Android trouble
Hi Ayush,

I haven't looked into Marshmallow much as I'm stuck on Lollipop myself
(Nexus 4). I did a quick search regarding permissions changes with
Marshmallow and dlopen and found some links:

https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html
http://stackoverflow.com/questions/35641746/android-marshmallow-dlopen-failed-libxyz-so-not-found
http://stackoverflow.com/questions/37618439/android-6-0-marshmallow-and-permissions
https://code.google.com/p/android/issues/detail?id=202138

Since you are using QT, I am unsure of what using that system offers
in terms of working with Marshmallow's APIs.  I think the Csound 6
application Michael builds and distributes includes some of the
library plugins (please correct me Michael if I am incorrect on this).
If so, have you tried that application on your Marhsmallow device and
does it operate correctly?  I suppose I'm wondering if he's done
anything in particular for Marshmallow support, or if the problem may
be more specific to QT-driven applications.

steven

On Thu, Aug 18, 2016 at 9:02 PM, Ayush
<000000a6f055669a-dmarc-request@listserv.heanet.ie> wrote:
> Hi Steven,
>
> I am testing it on Nexus 5 which I guess is an arm processor(Marshmallow
> Android 6.0)
>
> And it seemed to be working fine on Sony Xperia Z1 which is arm
> Cortex-A53(Lollipop Android 5.1)
>
> Is the problem related to run time permissions introduced in
> marshmallow(Android 6.0)?
>
> Thanks,
> Ayush Shah.
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241p5751261.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-08-20 15:03
Fromayush shah <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: Csound on Android trouble
I think so it's related to android permission. it seems to be working fine on pre-marshmallow devices. 

Btw, we are launching an android application that use Qt and Csound 
You can check out the repository 

https://github.com/KDE/minuet/tree/minuetandroid/minuetandroid




Sent from my iPhone
> On 20-Aug-2016, at 12:36 PM, Steven Yi  wrote:
> 
> Hi Ayush,
> 
> I haven't looked into Marshmallow much as I'm stuck on Lollipop myself
> (Nexus 4). I did a quick search regarding permissions changes with
> Marshmallow and dlopen and found some links:
> 
> https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html
> http://stackoverflow.com/questions/35641746/android-marshmallow-dlopen-failed-libxyz-so-not-found
> http://stackoverflow.com/questions/37618439/android-6-0-marshmallow-and-permissions
> https://code.google.com/p/android/issues/detail?id=202138
> 
> Since you are using QT, I am unsure of what using that system offers
> in terms of working with Marshmallow's APIs.  I think the Csound 6
> application Michael builds and distributes includes some of the
> library plugins (please correct me Michael if I am incorrect on this).
> If so, have you tried that application on your Marhsmallow device and
> does it operate correctly?  I suppose I'm wondering if he's done
> anything in particular for Marshmallow support, or if the problem may
> be more specific to QT-driven applications.
> 
> steven
> 
> On Thu, Aug 18, 2016 at 9:02 PM, Ayush
> <000000a6f055669a-dmarc-request@listserv.heanet.ie> wrote:
>> Hi Steven,
>> 
>> I am testing it on Nexus 5 which I guess is an arm processor(Marshmallow
>> Android 6.0)
>> 
>> And it seemed to be working fine on Sony Xperia Z1 which is arm
>> Cortex-A53(Lollipop Android 5.1)
>> 
>> Is the problem related to run time permissions introduced in
>> marshmallow(Android 6.0)?
>> 
>> Thanks,
>> Ayush Shah.
>> 
>> 
>> 
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241p5751261.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-08-21 00:49
FromSteven Yi
SubjectRe: Csound on Android trouble
I'd love to try this out, but I don't have the the time to setup a
qt-based build system.  Is there a pre-compiled version available?

Also, I did a search online for "qt android permissions" and there's
at least two bugs in the QT bug tracker requesting support for
Marshmallow.  Both are unresolved (one of the issues is reported here:
https://bugreports.qt.io/browse/QTBUG-53070?jql=text%20~%20%22android%20permissions%22).
I think the issue at this point may be one requiring changes to QT, if
I understand the issue correctly.

steven

On Sat, Aug 20, 2016 at 9:03 AM, ayush shah
<000000a6f055669a-dmarc-request@listserv.heanet.ie> wrote:
> I think so it's related to android permission. it seems to be working fine on pre-marshmallow devices.
>
> Btw, we are launching an android application that use Qt and Csound
> You can check out the repository
>
> https://github.com/KDE/minuet/tree/minuetandroid/minuetandroid
>
>
>
>
> Sent from my iPhone
>> On 20-Aug-2016, at 12:36 PM, Steven Yi  wrote:
>>
>> Hi Ayush,
>>
>> I haven't looked into Marshmallow much as I'm stuck on Lollipop myself
>> (Nexus 4). I did a quick search regarding permissions changes with
>> Marshmallow and dlopen and found some links:
>>
>> https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html
>> http://stackoverflow.com/questions/35641746/android-marshmallow-dlopen-failed-libxyz-so-not-found
>> http://stackoverflow.com/questions/37618439/android-6-0-marshmallow-and-permissions
>> https://code.google.com/p/android/issues/detail?id=202138
>>
>> Since you are using QT, I am unsure of what using that system offers
>> in terms of working with Marshmallow's APIs.  I think the Csound 6
>> application Michael builds and distributes includes some of the
>> library plugins (please correct me Michael if I am incorrect on this).
>> If so, have you tried that application on your Marhsmallow device and
>> does it operate correctly?  I suppose I'm wondering if he's done
>> anything in particular for Marshmallow support, or if the problem may
>> be more specific to QT-driven applications.
>>
>> steven
>>
>> On Thu, Aug 18, 2016 at 9:02 PM, Ayush
>> <000000a6f055669a-dmarc-request@listserv.heanet.ie> wrote:
>>> Hi Steven,
>>>
>>> I am testing it on Nexus 5 which I guess is an arm processor(Marshmallow
>>> Android 6.0)
>>>
>>> And it seemed to be working fine on Sony Xperia Z1 which is arm
>>> Cortex-A53(Lollipop Android 5.1)
>>>
>>> Is the problem related to run time permissions introduced in
>>> marshmallow(Android 6.0)?
>>>
>>> Thanks,
>>> Ayush Shah.
>>>
>>>
>>>
>>> --
>>> View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241p5751261.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>        https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-08-26 09:15
FromAyush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: Csound on Android trouble
Hi Steven, 
Here you go
https://play.google.com/store/apps/details?id=org.kde.minuet

Can you look into this matter too?
http://csound.1045644.n5.nabble.com/Csnd-dev-Android-4-4-4-and-Android-5-td5744937.html
It's not working on 4.4.4



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241p5751332.html
Sent from the Csound - General mailing list archive at Nabble.com.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-08-26 09:16
FromAyush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: Csound on Android trouble
Hi Steven, 
Here you go
https://play.google.com/store/apps/details?id=org.kde.minuet

Can you look into this matter too?
http://csound.1045644.n5.nabble.com/Csnd-dev-Android-4-4-4-and-Android-5-td5744937.html
It's not working on 4.4.4



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-on-Android-trouble-tp5751241p5751333.html
Sent from the Csound - General mailing list archive at Nabble.com.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here