Then it's not a problem, because GPL would place very similar restrictions to LGPL in this case.
----- Original Message -----
From: Ed Costello <edwardcostello@gmail.com>
Date: Thursday, October 20, 2011 8:00 pm
Subject: Re: [Csnd] Csound on iPhone / iOS
To: csound@lists.bath.ac.uk
> Hi Victor,
> I've been looking at cross compilation for android, you would need to
> pass the audio into jni so you use the android audio player class to
> actually play back the audio. It doesn't use alsa or jack, you have to
> pass your audio from jni to the audio player java class. Alternatively
> with 2.3 you can write your entire app in straight c++ and avoid jni
> altogether, but then libsndfile needs to be extended to handle
> android's native audio i/o lib.
>
> With 2.2 you'd have to use the method of passing the audio into jni to
> be played by the mediaplayer class from java.
>
> On Thu, Oct 20, 2011 at 11:38 AM, Steven Yi <stevenyi@gmail.com> wrote:
> > Well, for Android, it should be much like building the Java wrapper we
> > currently do, as Android's JNI system is pretty much the same. Just
> > need to cross compile it. The tricky bit is libsndfile. On the other
> > hand, because the library is dynamically linked, it should mean less
> > restriction on the release of the software.
> >
> > Really, it just needs to be cross-compiled. I could take a look at
> > this sometime tomorrow. We still need to collapse in all the dynamic
> > opcode libs that don't have 3rd party dependencies to before we can
> > really get going with all this.
> >
> >
> > On Thu, Oct 20, 2011 at 7:30 PM, <Victor.Lazzarini@nuim.ie> wrote:
> >> I'll leave it as an exercise for you Java coders out there... ;)
> >>
> >> ObjectiveC is unreadable, but at least it allows us to seamless mix C code
> >> in it, so that part was easy. With android, I guess we're talking about use
> >> a java wrapper, which might be a more complex task.
> >> Besides, latency is still something of a question.
> >>
> >> ----- Original Message -----
> >> From: Rory Walsh <rorywalsh@ear.ie>
> >> Date: Thursday, October 20, 2011 7:27 pm
> >> Subject: Re: [Csnd] Csound on iPhone / iOS
> >> To: csound@lists.bath.ac.uk
> >>
> >>> indeed...
> >>>
> >>> On 20 October 2011 19:24, Michael Gogins
> >>> <michael.gogins@gmail.com> wrote:
> >>> > Cool! And what about Android?
> >>> >
> >>> > Regards,
> >>> > Mike
> >>> >
> >>> > On Thu, Oct 20, 2011 at 2:07 PM,
> >>> <Victor.Lazzarini@nuim.ie> wrote:
> >>> >> We'd like to give a summary report of some work Steven and
> >>> myself have done this afternoon on Csound for iPhone (Steven is
> >>> actually ducking here and will not be available for questioning ;).
> >>> >>
> >>> >> Effectively, we have succeeded in a proof-of-concept to
> >>> demonstrate that it should be possible to develop applications
> >>> based on Csound for the iOS. We have run a csound performance on
> >>> the iPhone simulator, and played a sine wave at 440Hz !
> >>> >>
> >>> >> This is what we did:
> >>> >> 1) used a static libcsound.a
> >>> >> 2) turned off dynamic loading of opcodes
> >>> >> 3) used a static libsndfile
> >>> >> 4) built a minimal app which ran a csound CSD defined in a
> >>> static C string and played the resulting wave file/
> >>> >>
> >>> >> All of this with code out of the box, apart from a little
> >>> adjustment to do 2) which I'll commit tomorrow.
> >>> >>
> >>> >> OK, so we've proved it's all doable, with not too much work.
> >>> We need to provide code for doing RT IO, but that should be a
> >>> matter of tapping into csound buffers. For a full complement of
> >>> opcodes, we will need to move the plugins back as internal
> >>> opcodes, but this is planned to be done. We will need to build
> >>> libsndfile for ARM, but that is possible.
> >>> >>
> >>> >> Now the caveats:
> >>> >>
> >>> >> 1) Csound is LGPL
> >>> >> 2) libsndfile is LGPL
> >>> >> 3) Applications using these two will be LGPL.
> >>> >> 3) I am not sure whether it is possible to distribute any
> >>> apps with these licences at Apple Store.
> >>> >> 4) If this is possible, the source code for any of these Apps
> >>> will need to be available somewhere,
> >>> >> which should not be a problem. App developers can still
> >>> charge for those, LGPL says nothing about this.
> >>> >>
> >>> >> and
> >>> >>
> >>> >> 5) while we're showing that this can be done, I am not sure
> >>> we will be spending too much time on developing for iOS. But
> >>> developers out there are encouraged to have a go
> >>> >>
> >>> >> Regards
> >>> >>
> >>> >> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
> >>> >> National University of Ireland, Maynooth
> >>> >>
> >>> >>
> >>> >>
> >>> >> 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"
> >>> >>
> >>> >>
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Michael Gogins
> >>> > Irreducible Productions
> >>> > http://www.michael-gogins.com
> >>> > Michael dot Gogins at gmail dot com
> >>> >
> >>> >
> >>> > 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"
> >>>
> >>
> >> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
> >> National University of Ireland, Maynooth
> >>
> >
> >
> > 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"
>