Csound Csound-dev Csound-tekno Search About

[Csnd] csound on android

Date2013-01-23 10:24
FromMartin Huenniger
Subject[Csnd] csound on android
Hi list,

I'm feeling stupid again. Trying to compile the csound examples for android with eclipse I don't get any step further.
The codebase I use is from the Csound-5.19.01 sourceforge archive. And I followed the instructions given on the post:
http://music.columbia.edu/pipermail/andraudio/2012-March/000605.html
which is old, but seemed to be at least understandable enough to be considered. But still I'm stuck with compiler errors:

CSoundObj.jave won't get compiled because Eclipse (or whatever) don't knows where to look for

import csnd.AndroidCsound;
import csnd.Csound;
import csnd.CsoundCallbackWrapper;
import csnd.CsoundMYFLTArray;
import csnd.csndConstants;

I do not know either. Also there are dozens of other compiler errors which seem to be connected to a similar problem. Internet searches on these strings don't reveal anything.

I searched the web for good instructions/tutorials, but they all boil down to the same information. Which I think I realized. The csnd stuff is mentioned nowhere, so I don't know where to look for a jar to install it.  

Do you know where to look/what I'm doing wrong/how to resolve this? Help would be much appreciated.

Best
Martin
_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga






Date2013-01-23 11:17
FromVictor Lazzarini
SubjectRe: [Csnd] csound on android
These are SWIG-generated files. Are they there in CsoundAndroid/src/csnd ? Otherwise, you will need to first run the NDK build script (build.sh) in the CsoundAndroid directory,
these files will be created then. Refresh your project and the java compiler will see them.

Victor

On 23 Jan 2013, at 10:24, Martin Huenniger wrote:

> Hi list,
> 
> I'm feeling stupid again. Trying to compile the csound examples for android with eclipse I don't get any step further.
> The codebase I use is from the Csound-5.19.01 sourceforge archive. And I followed the instructions given on the post:
> http://music.columbia.edu/pipermail/andraudio/2012-March/000605.html
> which is old, but seemed to be at least understandable enough to be considered. But still I'm stuck with compiler errors:
> 
> CSoundObj.jave won't get compiled because Eclipse (or whatever) don't knows where to look for
> 
> import csnd.AndroidCsound;
> import csnd.Csound;
> import csnd.CsoundCallbackWrapper;
> import csnd.CsoundMYFLTArray;
> import csnd.csndConstants;
> 
> I do not know either. Also there are dozens of other compiler errors which seem to be connected to a similar problem. Internet searches on these strings don't reveal anything.
> 
> I searched the web for good instructions/tutorials, but they all boil down to the same information. Which I think I realized. The csnd stuff is mentioned nowhere, so I don't know where to look for a jar to install it.  
> 
> Do you know where to look/what I'm doing wrong/how to resolve this? Help would be much appreciated.
> 
> Best
> Martin
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
> 
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-01-23 13:02
FromTarmo Johannes
SubjectRe: [Csnd] csound on android
OR (easier): download  a zip file from 
http://sourceforge.net/projects/csound/files/csound5/Android/

- it has prebuilt jar files in already.

extract it somewhere and import projects CsoundAndroid and CsoundAndroid 
Examples to Eclipse. Make sure that Examples uses CsoundAndroid as library 
(Properties->Android->Library, Add library, if necessary and try to run some 
the examples.

If it works, contiunue with your own modifications. Have look to my post 
http://csound.1045644.n5.nabble.com/Csound-Adnroid-example-and-tips-
td5717957.html

for some hints.

Hope it works!

tarmo



On Wednesday 23 January 2013 11:17:47 Victor Lazzarini wrote:
> These are SWIG-generated files. Are they there in CsoundAndroid/src/csnd ?
> Otherwise, you will need to first run the NDK build script (build.sh) in
> the CsoundAndroid directory, these files will be created then. Refresh your
> project and the java compiler will see them.
> 
> Victor
> 
> On 23 Jan 2013, at 10:24, Martin Huenniger wrote:
> > Hi list,
> > 
> > I'm feeling stupid again. Trying to compile the csound examples for
> > android with eclipse I don't get any step further. The codebase I use is
> > from the Csound-5.19.01 sourceforge archive. And I followed the
> > instructions given on the post:
> > http://music.columbia.edu/pipermail/andraudio/2012-March/000605.html
> > which is old, but seemed to be at least understandable enough to be
> > considered. But still I'm stuck with compiler errors:
> > 
> > CSoundObj.jave won't get compiled because Eclipse (or whatever) don't
> > knows where to look for
> > 
> > import csnd.AndroidCsound;
> > import csnd.Csound;
> > import csnd.CsoundCallbackWrapper;
> > import csnd.CsoundMYFLTArray;
> > import csnd.csndConstants;
> > 
> > I do not know either. Also there are dozens of other compiler errors which
> > seem to be connected to a similar problem. Internet searches on these
> > strings don't reveal anything.
> > 
> > I searched the web for good instructions/tutorials, but they all boil down
> > to the same information. Which I think I realized. The csnd stuff is
> > mentioned nowhere, so I don't know where to look for a jar to install it.
> > 
> > Do you know where to look/what I'm doing wrong/how to resolve this? Help
> > would be much appreciated.
> > 
> > Best
> > Martin
> > _________________________
> > Martin Hünniger
> > a_s_tarantoga@yahoo.de
> > a-s-tarantoga.tumblr.com
> > soundcloud.com/a_s_tarantoga
> > 
> > 
> > 
> > 
> > 
> > 
> > Send bugs reports to the Sourceforge bug tracker
> > 
> >            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> > 
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > csound"
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"


Date2013-01-23 13:29
From"Jacques Leplat"
SubjectRe: [Csnd] csound on android
Hello Martin,

Not stupid at all, I get those problems everytime a new version of 
CSoundAndroid comes out. I made some notes, and just follow them for each 
new release, so it's not a problem anymore.

I believe the errors you are having are due to the CSoundAndroid project not 
having a build target set. Though you should also check that all the 
projects in the distro have a "gen" source folder.

Below are the notes I made to deal with new distributions:

1. When a new release comes out, delete all the CSoundAndroid projects from 
my drive:
    - CSDPLayer
   - CsoundAndroid
   - CsoundAndroidExamples

2. Extract the new CSoundAndroid zip file to where the old projects were 
before deleting them

3. Open eclipse, and refresh the CSoundAndroid projects.

4. Check each CSoundAndroid has a source folder called "gen" (generated java 
files)

5. Check the projects build target: Proejct Properties->Android->Project 
Build Target. Set the build target to 2.3.3 or greater for CSoundAndroid

6. Clean all projects

Errors should go away.


----- Original Message ----- 
From: "Martin Huenniger" 
To: 
Sent: Wednesday, January 23, 2013 10:24 AM
Subject: [Csnd] csound on android


Hi list,

I'm feeling stupid again. Trying to compile the csound examples for android 
with eclipse I don't get any step further.
The codebase I use is from the Csound-5.19.01 sourceforge archive. And I 
followed the instructions given on the post:
http://music.columbia.edu/pipermail/andraudio/2012-March/000605.html
which is old, but seemed to be at least understandable enough to be 
considered. But still I'm stuck with compiler errors:

CSoundObj.jave won't get compiled because Eclipse (or whatever) don't knows 
where to look for

import csnd.AndroidCsound;
import csnd.Csound;
import csnd.CsoundCallbackWrapper;
import csnd.CsoundMYFLTArray;
import csnd.csndConstants;

I do not know either. Also there are dozens of other compiler errors which 
seem to be connected to a similar problem. Internet searches on these 
strings don't reveal anything.

I searched the web for good instructions/tutorials, but they all boil down 
to the same information. Which I think I realized. The csnd stuff is 
mentioned nowhere, so I don't know where to look for a jar to install it.

Do you know where to look/what I'm doing wrong/how to resolve this? Help 
would be much appreciated.

Best
Martin
_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga






Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"

= 


Date2013-01-23 16:23
FromSteven Yi
SubjectRe: [Csnd] csound on android
Hi All,

Thanks for writing about this, I was not aware that people were
experiencing these issues.  I tried just now and opened from the zip
and had to do a clean to clear out any compiler warning/errors.  I
think I may have seen this in the past but didn't think much of it as
doing a clean and rebuild always did the trick and I tend to do that
with any project I import, so it didn't register there was an issue.

One note, I did not have to set any other settings here myself, just
the clean/rebuild.  I am wondering now what I'll need to do to modify
the release process for the future to prevent this issue.  If someone
could put a bug on Sourceforge and assign to me, that'd help me a lot
and I'll look at it when I have a free moment.

Thanks!
steven



On Wed, Jan 23, 2013 at 1:29 PM, Jacques Leplat  wrote:
> Hello Martin,
>
> Not stupid at all, I get those problems everytime a new version of
> CSoundAndroid comes out. I made some notes, and just follow them for each
> new release, so it's not a problem anymore.
>
> I believe the errors you are having are due to the CSoundAndroid project not
> having a build target set. Though you should also check that all the
> projects in the distro have a "gen" source folder.
>
> Below are the notes I made to deal with new distributions:
>
> 1. When a new release comes out, delete all the CSoundAndroid projects from
> my drive:
>    - CSDPLayer
>   - CsoundAndroid
>   - CsoundAndroidExamples
>
> 2. Extract the new CSoundAndroid zip file to where the old projects were
> before deleting them
>
> 3. Open eclipse, and refresh the CSoundAndroid projects.
>
> 4. Check each CSoundAndroid has a source folder called "gen" (generated java
> files)
>
> 5. Check the projects build target: Proejct Properties->Android->Project
> Build Target. Set the build target to 2.3.3 or greater for CSoundAndroid
>
> 6. Clean all projects
>
> Errors should go away.
>
>
> ----- Original Message ----- From: "Martin Huenniger"
> 
> To: 
> Sent: Wednesday, January 23, 2013 10:24 AM
> Subject: [Csnd] csound on android
>
>
>
> Hi list,
>
> I'm feeling stupid again. Trying to compile the csound examples for android
> with eclipse I don't get any step further.
> The codebase I use is from the Csound-5.19.01 sourceforge archive. And I
> followed the instructions given on the post:
> http://music.columbia.edu/pipermail/andraudio/2012-March/000605.html
> which is old, but seemed to be at least understandable enough to be
> considered. But still I'm stuck with compiler errors:
>
> CSoundObj.jave won't get compiled because Eclipse (or whatever) don't knows
> where to look for
>
> import csnd.AndroidCsound;
> import csnd.Csound;
> import csnd.CsoundCallbackWrapper;
> import csnd.CsoundMYFLTArray;
> import csnd.csndConstants;
>
> I do not know either. Also there are dozens of other compiler errors which
> seem to be connected to a similar problem. Internet searches on these
> strings don't reveal anything.
>
> I searched the web for good instructions/tutorials, but they all boil down
> to the same information. Which I think I realized. The csnd stuff is
> mentioned nowhere, so I don't know where to look for a jar to install it.
>
> Do you know where to look/what I'm doing wrong/how to resolve this? Help
> would be much appreciated.
>
> Best
> Martin
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
>
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
> =
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>


Date2013-01-23 20:41
From"Jacques Leplat"
SubjectRe: [Csnd] csound on android
Hello Steven,

I can raise a bug on Sourceforge if you really want, but I do wonder if it 
isn't just the way things are in general when it comes to Android software 
development:

- It is possible that the CSoundAndroid project has a build target set to 
one that is not installed on the target computer.

A fresh installation of the Android SDK has no Android devices installed. 
The Android SDK Manager lets you select which Android Versions to install. 
An old PC of mine has Android 2.3.1 on it, but when trying to get this on a 
Mac (fresh installation done last week), the Android SDK Manager doesn't 
list it at all, not even in the "not installed" category.

- When downloading the CSoundSdk as a zip file, we do not have the benefits 
of source control tools to automatically  remove files which are no longer 
present in the newer release. So, when extracting it from a zip archive, it 
is a good idea to zap the previous installation before installing the new 
one. I very much prefer getting the CSoundAndroid as a zip though, the 
alternative of using git, cvs, svn or some other software version control 
contraption is not so quick and easy.

Maybe I should zap the previous CSoundAndroid installation from eclipse, 
extract the zip archive, then re-import the extracted projects, from within 
eclipse. As an experienced developer I just use the shortcut route of doing 
this outside of Eclipse, fully aware that a little bit of tinkering has to 
be done in eclipse to get it to work.

One thing does puzzle me is the missing "gen" source folders in some of the 
CSoundAndroid projects. These folders are used by the andoid sdk to manage 
the build process, and never used by the developers. In my opinion. if the 
gen folders are not there, at the very least the Android ADT should recreate 
them. So it's not a CSoundAndroid bug, it's an Android issue really.

In my humble opinion, there are no bugs, maybe some docs on the subject 
would be of help to others.

All the best,

Jacques

----- Original Message ----- 
From: "Steven Yi" 
To: "Csound" 
Sent: Wednesday, January 23, 2013 4:23 PM
Subject: Re: [Csnd] csound on android


Hi All,

Thanks for writing about this, I was not aware that people were
experiencing these issues.  I tried just now and opened from the zip
and had to do a clean to clear out any compiler warning/errors.  I
think I may have seen this in the past but didn't think much of it as
doing a clean and rebuild always did the trick and I tend to do that
with any project I import, so it didn't register there was an issue.

One note, I did not have to set any other settings here myself, just
the clean/rebuild.  I am wondering now what I'll need to do to modify
the release process for the future to prevent this issue.  If someone
could put a bug on Sourceforge and assign to me, that'd help me a lot
and I'll look at it when I have a free moment.

Thanks!
steven



On Wed, Jan 23, 2013 at 1:29 PM, Jacques Leplat  wrote:
> Hello Martin,
>
> Not stupid at all, I get those problems everytime a new version of
> CSoundAndroid comes out. I made some notes, and just follow them for each
> new release, so it's not a problem anymore.
>
> I believe the errors you are having are due to the CSoundAndroid project 
> not
> having a build target set. Though you should also check that all the
> projects in the distro have a "gen" source folder.
>
> Below are the notes I made to deal with new distributions:
>
> 1. When a new release comes out, delete all the CSoundAndroid projects 
> from
> my drive:
>    - CSDPLayer
>   - CsoundAndroid
>   - CsoundAndroidExamples
>
> 2. Extract the new CSoundAndroid zip file to where the old projects were
> before deleting them
>
> 3. Open eclipse, and refresh the CSoundAndroid projects.
>
> 4. Check each CSoundAndroid has a source folder called "gen" (generated 
> java
> files)
>
> 5. Check the projects build target: Proejct Properties->Android->Project
> Build Target. Set the build target to 2.3.3 or greater for CSoundAndroid
>
> 6. Clean all projects
>
> Errors should go away.
>
>
> ----- Original Message ----- From: "Martin Huenniger"
> 
> To: 
> Sent: Wednesday, January 23, 2013 10:24 AM
> Subject: [Csnd] csound on android
>
>
>
> Hi list,
>
> I'm feeling stupid again. Trying to compile the csound examples for 
> android
> with eclipse I don't get any step further.
> The codebase I use is from the Csound-5.19.01 sourceforge archive. And I
> followed the instructions given on the post:
> http://music.columbia.edu/pipermail/andraudio/2012-March/000605.html
> which is old, but seemed to be at least understandable enough to be
> considered. But still I'm stuck with compiler errors:
>
> CSoundObj.jave won't get compiled because Eclipse (or whatever) don't 
> knows
> where to look for
>
> import csnd.AndroidCsound;
> import csnd.Csound;
> import csnd.CsoundCallbackWrapper;
> import csnd.CsoundMYFLTArray;
> import csnd.csndConstants;
>
> I do not know either. Also there are dozens of other compiler errors which
> seem to be connected to a similar problem. Internet searches on these
> strings don't reveal anything.
>
> I searched the web for good instructions/tutorials, but they all boil down
> to the same information. Which I think I realized. The csnd stuff is
> mentioned nowhere, so I don't know where to look for a jar to install it.
>
> Do you know where to look/what I'm doing wrong/how to resolve this? Help
> would be much appreciated.
>
> Best
> Martin
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
>
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
> =
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"

= 


Date2013-01-23 21:12
FromSteven Yi
SubjectRe: [Csnd] csound on android
Hi Jacques,

Regarding gen folder, I will usually delete them to save space, as
they get regenerated as you say.  Perhaps though I should have kept
those and just deleted bin folders.

Regarding documentation, yes, we should certainly add some
information.  It would definitely help in a situation like this.  I
think if you are going to use a new version of Csound for Android, the
old ones should be deleted from the workspace and the new ones
imported. If you have an existing project and want to upgrade the
CsoundAndroid library, I would probably delete the old one from the
workspace, import the new one, then update the library dependency for
a project to be sure to use the new CsoundAndroid library project.

Your point about the issues with Android/Eclipse setups is very good
though, and for that I'm not sure what else besides documentation
could help.

If you would file a bug though, I think I would like to investigate
about the gen folder and if I'm not trying to trim the zip size too
much and deleting too much.  It's worth a look at least, and having
the bug on SourceForge would be a big help to me.

Thanks!
steven


On Wed, Jan 23, 2013 at 8:41 PM, Jacques Leplat  wrote:
> One thing does puzzle me is the missing "gen" source folders in some of the
> CSoundAndroid projects. These folders are used by the andoid sdk to manage
> the build process, and never used by the developers. In my opinion. if the
> gen folders are not there, at the very least the Android ADT should recreate
> them. So it's not a CSoundAndroid bug, it's an Android issue really.

Date2013-01-24 08:40
FromMartin Huenniger
SubjectRe: [Csnd] csound on android
Hi all,

Thank you for the help and advices. It compiles right now. I imported the project from the csound-android.zip and all I had to change was the android:minSDKVersion in som AndroidManifest.xml to resolve all errors. Eclipse was complaining about Version 9 which is not in the list. So i just changed it to 10 which did the trick for me.

Best
Martin
Am 23.01.2013 um 14:29 schrieb Jacques Leplat:

> Hello Martin,
> 
> Not stupid at all, I get those problems everytime a new version of CSoundAndroid comes out. I made some notes, and just follow them for each new release, so it's not a problem anymore.
> 
> I believe the errors you are having are due to the CSoundAndroid project not having a build target set. Though you should also check that all the projects in the distro have a "gen" source folder.
> 
> Below are the notes I made to deal with new distributions:
> 
> 1. When a new release comes out, delete all the CSoundAndroid projects from my drive:
>   - CSDPLayer
>  - CsoundAndroid
>  - CsoundAndroidExamples
> 
> 2. Extract the new CSoundAndroid zip file to where the old projects were before deleting them
> 
> 3. Open eclipse, and refresh the CSoundAndroid projects.
> 
> 4. Check each CSoundAndroid has a source folder called "gen" (generated java files)
> 
> 5. Check the projects build target: Proejct Properties->Android->Project Build Target. Set the build target to 2.3.3 or greater for CSoundAndroid
> 
> 6. Clean all projects
> 
> Errors should go away.
> 
> 
> ----- Original Message ----- From: "Martin Huenniger" 
> To: 
> Sent: Wednesday, January 23, 2013 10:24 AM
> Subject: [Csnd] csound on android
> 
> 
> Hi list,
> 
> I'm feeling stupid again. Trying to compile the csound examples for android with eclipse I don't get any step further.
> The codebase I use is from the Csound-5.19.01 sourceforge archive. And I followed the instructions given on the post:
> http://music.columbia.edu/pipermail/andraudio/2012-March/000605.html
> which is old, but seemed to be at least understandable enough to be considered. But still I'm stuck with compiler errors:
> 
> CSoundObj.jave won't get compiled because Eclipse (or whatever) don't knows where to look for
> 
> import csnd.AndroidCsound;
> import csnd.Csound;
> import csnd.CsoundCallbackWrapper;
> import csnd.CsoundMYFLTArray;
> import csnd.csndConstants;
> 
> I do not know either. Also there are dozens of other compiler errors which seem to be connected to a similar problem. Internet searches on these strings don't reveal anything.
> 
> I searched the web for good instructions/tutorials, but they all boil down to the same information. Which I think I realized. The csnd stuff is mentioned nowhere, so I don't know where to look for a jar to install it.
> 
> Do you know where to look/what I'm doing wrong/how to resolve this? Help would be much appreciated.
> 
> Best
> Martin
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
> 
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> = 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

_________________________
Martin Hünniger
a_s_tarantoga@yahoo.de
a-s-tarantoga.tumblr.com
soundcloud.com/a_s_tarantoga






Date2013-01-24 12:25
FromVictor Lazzarini
SubjectRe: [Csnd] csound on android
Yes, for some reason version 9 has been dropped. I saw that back in August.
On 24 Jan 2013, at 08:40, Martin Huenniger wrote:

> Hi all,
> 
> Thank you for the help and advices. It compiles right now. I imported the project from the csound-android.zip and all I had to change was the android:minSDKVersion in som AndroidManifest.xml to resolve all errors. Eclipse was complaining about Version 9 which is not in the list. So i just changed it to 10 which did the trick for me.
> 
> Best
> Martin
> Am 23.01.2013 um 14:29 schrieb Jacques Leplat:
> 
>> Hello Martin,
>> 
>> Not stupid at all, I get those problems everytime a new version of CSoundAndroid comes out. I made some notes, and just follow them for each new release, so it's not a problem anymore.
>> 
>> I believe the errors you are having are due to the CSoundAndroid project not having a build target set. Though you should also check that all the projects in the distro have a "gen" source folder.
>> 
>> Below are the notes I made to deal with new distributions:
>> 
>> 1. When a new release comes out, delete all the CSoundAndroid projects from my drive:
>>  - CSDPLayer
>> - CsoundAndroid
>> - CsoundAndroidExamples
>> 
>> 2. Extract the new CSoundAndroid zip file to where the old projects were before deleting them
>> 
>> 3. Open eclipse, and refresh the CSoundAndroid projects.
>> 
>> 4. Check each CSoundAndroid has a source folder called "gen" (generated java files)
>> 
>> 5. Check the projects build target: Proejct Properties->Android->Project Build Target. Set the build target to 2.3.3 or greater for CSoundAndroid
>> 
>> 6. Clean all projects
>> 
>> Errors should go away.
>> 
>> 
>> ----- Original Message ----- From: "Martin Huenniger" 
>> To: 
>> Sent: Wednesday, January 23, 2013 10:24 AM
>> Subject: [Csnd] csound on android
>> 
>> 
>> Hi list,
>> 
>> I'm feeling stupid again. Trying to compile the csound examples for android with eclipse I don't get any step further.
>> The codebase I use is from the Csound-5.19.01 sourceforge archive. And I followed the instructions given on the post:
>> http://music.columbia.edu/pipermail/andraudio/2012-March/000605.html
>> which is old, but seemed to be at least understandable enough to be considered. But still I'm stuck with compiler errors:
>> 
>> CSoundObj.jave won't get compiled because Eclipse (or whatever) don't knows where to look for
>> 
>> import csnd.AndroidCsound;
>> import csnd.Csound;
>> import csnd.CsoundCallbackWrapper;
>> import csnd.CsoundMYFLTArray;
>> import csnd.csndConstants;
>> 
>> I do not know either. Also there are dozens of other compiler errors which seem to be connected to a similar problem. Internet searches on these strings don't reveal anything.
>> 
>> I searched the web for good instructions/tutorials, but they all boil down to the same information. Which I think I realized. The csnd stuff is mentioned nowhere, so I don't know where to look for a jar to install it.
>> 
>> Do you know where to look/what I'm doing wrong/how to resolve this? Help would be much appreciated.
>> 
>> Best
>> Martin
>> _________________________
>> Martin Hünniger
>> a_s_tarantoga@yahoo.de
>> a-s-tarantoga.tumblr.com
>> soundcloud.com/a_s_tarantoga
>> 
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
>> = 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> _________________________
> Martin Hünniger
> a_s_tarantoga@yahoo.de
> a-s-tarantoga.tumblr.com
> soundcloud.com/a_s_tarantoga
> 
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie