Csound Csound-dev Csound-tekno Search About

Csound for android fluidsynth opcodes problem

Date2016-06-20 05:03
FromAyush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE>
SubjectCsound for android fluidsynth opcodes problem
HI all.
I am trying to run a script that plays midi using csd file. I am using
sf_GMbank.sf2 
but when i run the script i get an error saying
error: syntax error, unexpected T_IDENT  (token "fluidEngine")
I/AndroidCsound( 2100):  from file ./test.csd (1)
I/AndroidCsound( 2100):  line 17:
I/AndroidCsound( 2100): >>>
I/AndroidCsound( 2100): g
I/AndroidCsound( 2100): i
I/AndroidCsound( 2100): e
I/AndroidCsound( 2100): n
I/AndroidCsound( 2100): g
I/AndroidCsound( 2100): i
I/AndroidCsound( 2100): n
I/AndroidCsound( 2100): e
I/AndroidCsound( 2100): n
I/AndroidCsound( 2100): u
I/AndroidCsound( 2100): m
I/AndroidCsound( 2100): 1
I/AndroidCsound( 2100):
I/AndroidCsound( 2100): f
I/AndroidCsound( 2100): l
I/AndroidCsound( 2100): u
I/AndroidCsound( 2100): i
I/AndroidCsound( 2100): d
I/AndroidCsound( 2100): E
I/AndroidCsound( 2100): n
I/AndroidCsound( 2100): g
I/AndroidCsound( 2100): i
I/AndroidCsound( 2100): n
I/AndroidCsound( 2100): e
I/AndroidCsound( 2100):  <<<
I/AndroidCsound( 2100): Unexpected untyped word gienginenum1 when expecting
a variable
I/AndroidCsound( 2100): Parsing failed due to invalid input!
I/AndroidCsound( 2100): Stopping on parser failure
I/AndroidCsound( 2100):
I/AndroidCsound( 2100): cannot compile orchestra

I have also imported the the shared library libFluidOpcodes.so from
csound/android/libfluidsynth/libs/armeabi-v7a
and along with that the necessay imported libraries such as
libcsoundandroid,libsnd and libc++_shared

The same opcode seems to be wroking fine on Desktop.
Any kind of help will be appreciated



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-for-android-fluidsynth-opcodes-problem-tp5750239.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-06-20 07:01
FromTarmo Johannes
SubjectRe: Csound for android fluidsynth opcodes problem

Can you check, if the fluidsynth library is included in the apk bundle in libs directory? Maybe it was not deployed? Check your .pro file and added libraries in QtCreator->Projects->Build.
I am sure you are using the arm built fluidsynth library from Csound-android package? Otherwise it will not load of course.
Doubt if it helps, but for any case...
Tarmo

20.06.2016 7:03 kirjutas kuupäeval "Ayush" <000000a6f055669a-dmarc-request@listserv.heanet.ie>:
HI all.
I am trying to run a script that plays midi using csd file. I am using
sf_GMbank.sf2
but when i run the script i get an error saying
error: syntax error, unexpected T_IDENT  (token "fluidEngine")
I/AndroidCsound( 2100):  from file ./test.csd (1)
I/AndroidCsound( 2100):  line 17:
I/AndroidCsound( 2100): >>>
I/AndroidCsound( 2100): g
I/AndroidCsound( 2100): i
I/AndroidCsound( 2100): e
I/AndroidCsound( 2100): n
I/AndroidCsound( 2100): g
I/AndroidCsound( 2100): i
I/AndroidCsound( 2100): n
I/AndroidCsound( 2100): e
I/AndroidCsound( 2100): n
I/AndroidCsound( 2100): u
I/AndroidCsound( 2100): m
I/AndroidCsound( 2100): 1
I/AndroidCsound( 2100):
I/AndroidCsound( 2100): f
I/AndroidCsound( 2100): l
I/AndroidCsound( 2100): u
I/AndroidCsound( 2100): i
I/AndroidCsound( 2100): d
I/AndroidCsound( 2100): E
I/AndroidCsound( 2100): n
I/AndroidCsound( 2100): g
I/AndroidCsound( 2100): i
I/AndroidCsound( 2100): n
I/AndroidCsound( 2100): e
I/AndroidCsound( 2100):  <<<
I/AndroidCsound( 2100): Unexpected untyped word gienginenum1 when expecting
a variable
I/AndroidCsound( 2100): Parsing failed due to invalid input!
I/AndroidCsound( 2100): Stopping on parser failure
I/AndroidCsound( 2100):
I/AndroidCsound( 2100): cannot compile orchestra

I have also imported the the shared library libFluidOpcodes.so from
csound/android/libfluidsynth/libs/armeabi-v7a
and along with that the necessay imported libraries such as
libcsoundandroid,libsnd and libc++_shared

The same opcode seems to be wroking fine on Desktop.
Any kind of help will be appreciated



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-for-android-fluidsynth-opcodes-problem-tp5750239.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-06-20 07:09
FromAyush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: Csound for android fluidsynth opcodes problem
Thanks for your reply. 
It is being deployed. I just checked the library is included in the apk 
It seems like I have not included directories.
Do I need to include the Opcodes directory or something like that present in
csound/Opcodes 



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-for-android-fluidsynth-opcodes-problem-tp5750239p5750241.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-06-20 07:14
FromTarmo Johannes
SubjectRe: Csound for android fluidsynth opcodes problem

Have you set OPCODES6DIR64? Maybe that is wvy it is not found. I have not done it myself but I remember a post by Rory discussing it in the list for Cabbage-Android. Perhaps you will find the thread and get ideas?
Will there be any chance to see your code in some point to learn from?
Thanks!
Tarmo

20.06.2016 9:09 kirjutas kuupäeval "Ayush" <000000a6f055669a-dmarc-request@listserv.heanet.ie>:
Thanks for your reply.
It is being deployed. I just checked the library is included in the apk
It seems like I have not included directories.
Do I need to include the Opcodes directory or something like that present in
csound/Opcodes



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-for-android-fluidsynth-opcodes-problem-tp5750239p5750241.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-06-20 07:19
FromAyush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: Csound for android fluidsynth opcodes problem
Yeah sure. I'll post it when it's completed :)



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-for-android-fluidsynth-opcodes-problem-tp5750239p5750243.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 15:07
FromAyush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: Csound for android fluidsynth opcodes problem
Hi Tarmo, 

Here is the link to the repository 
https://github.com/KDE/minuet/tree/minuetandroid/minuetandroid

I am using csound with Qt



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-for-android-fluidsynth-opcodes-problem-tp5750239p5751279.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