Csound Csound-dev Csound-tekno Search About

[Csnd] Using the Csound API - Examples

Date2013-10-29 17:16
FromSteven Yi
Subject[Csnd] Using the Csound API - Examples
Hi All,

I've managed to go through, cleanup, and add further comments to the
Python examples I used in the "Using the Csound API" two-part session
I did at the Csound Conference.  They are currently available on
Github here:

https://github.com/kunstmusik/csoundAPI_examples

The examples are in the python folder. The plans now are to take those
and translate them to numerous languages. The ones I had in mind are
C, C++, Objective-C, Java, Luajit, and Clojure.  Dave has contacted me
about doing a JRuby one, which made me realize that like Clojure, we
can create examples for a number of JVM-based languages that will all
use the Java API.  I'm thinking then of a set of examples in Groovy as
well as Scala.

My plans are to take one language at a time, probably working on
Clojure next.  If you'd like to contribute, please contact me offlist.
 I have also setup a wiki page to track the work here:

https://github.com/kunstmusik/csoundAPI_examples/wiki/Work-Tracking

Once we complete a set of translations, perhaps we can consider moving
the examples into the Csound6 git repository to have packaged with the
releases.

Thanks and hope you all find it useful!
steven

Date2013-11-06 19:52
Fromfrancesco
Subject[Csnd] Re: Using the Csound API - Examples
Hello Steven (and All),
here is my translations of examples in Lua.
For now are missing examples 11 and 12 which use tk GUI
because Lua doesn't have a GUI library in it's distribution.
There are many external library, ltcltk, lgi gtk, qt, IUP, etc.
I don't know which one is better, or more used.
I personally use IUP, but i would like to provide some
different versions for main available GUI library.

I hope You will find this useful otherway don't worry, it was a good
exercise for me.

ciao,
francesco.

lua.tar.bz2   




--
View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729223.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-11-06 20:44
FromDave Seidel
SubjectRe: [Csnd] Re: Using the Csound API - Examples
Francesco, I did the same thing with the JRuby examples (skipping the UI examples). I may come back to them later, but I don't have any UI experience with Ruby other than Rails. Thanks for doing this!

- Dave


On Wed, Nov 6, 2013 at 2:52 PM, francesco <ilterzouomo@fastwebnet.it> wrote:
Hello Steven (and All),
here is my translations of examples in Lua.
For now are missing examples 11 and 12 which use tk GUI
because Lua doesn't have a GUI library in it's distribution.
There are many external library, ltcltk, lgi gtk, qt, IUP, etc.
I don't know which one is better, or more used.
I personally use IUP, but i would like to provide some
different versions for main available GUI library.

I hope You will find this useful otherway don't worry, it was a good
exercise for me.

ciao,
francesco.

lua.tar.bz2 <http://csound.1045644.n5.nabble.com/file/n5729223/lua.tar.bz2>




--
View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729223.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-11-06 23:42
FromMark Brophy
SubjectRe: [Csnd] Re: Using the Csound API - Examples
wxLua is a good library in Lua and wxPython.



On Wed, Nov 6, 2013 at 12:52 PM, francesco <ilterzouomo@fastwebnet.it> wrote:
Hello Steven (and All),
here is my translations of examples in Lua.
For now are missing examples 11 and 12 which use tk GUI
because Lua doesn't have a GUI library in it's distribution.
There are many external library, ltcltk, lgi gtk, qt, IUP, etc.
I don't know which one is better, or more used.
I personally use IUP, but i would like to provide some
different versions for main available GUI library.

I hope You will find this useful otherway don't worry, it was a good
exercise for me.

ciao,
francesco.

lua.tar.bz2 <http://csound.1045644.n5.nabble.com/file/n5729223/lua.tar.bz2>




--
View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729223.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-11-07 15:54
FromSteven Yi
SubjectRe: [Csnd] Re: Using the Csound API - Examples

Hi Francesco,

Thanks so much for this!  I've been very sick the past couple of days so have not been online too much. Feeling a bit better today; I'll try to get these examples added to the repository later when I'm on my computer.

Thanks again!
Steven

On Nov 6, 2013 2:52 PM, "francesco" <ilterzouomo@fastwebnet.it> wrote:
Hello Steven (and All),
here is my translations of examples in Lua.
For now are missing examples 11 and 12 which use tk GUI
because Lua doesn't have a GUI library in it's distribution.
There are many external library, ltcltk, lgi gtk, qt, IUP, etc.
I don't know which one is better, or more used.
I personally use IUP, but i would like to provide some
different versions for main available GUI library.

I hope You will find this useful otherway don't worry, it was a good
exercise for me.

ciao,
francesco.

lua.tar.bz2 <http://csound.1045644.n5.nabble.com/file/n5729223/lua.tar.bz2>




--
View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729223.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-11-07 17:25
Fromfrancesco
Subject[Csnd] Re: Using the Csound API - Examples
Hello Steven,
i hope You feel better!
I have signed up on github and forked the examples repository. My own repo
has now the Lua
examples but my knowledge in git is pretty zero. I'm trying to understand
how to work with
git repo. In the meantime, if useful

https://github.com/francesco66/csoundAPI_examples

i guess i need to pull a request to main repo ... but i do not really know.

Thanks,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729269.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-11-07 18:18
FromSteven Yi
SubjectRe: [Csnd] Re: Using the Csound API - Examples

Hi Francesco,

Doing a pull request is ideal. Dave and Richard have been doing pull requests and that has worked really well and has been easy for me to pull. If you could submit one,  that would be the easiest for me.

Thanks!
Steven

On Nov 7, 2013 12:25 PM, "francesco" <ilterzouomo@fastwebnet.it> wrote:
Hello Steven,
i hope You feel better!
I have signed up on github and forked the examples repository. My own repo
has now the Lua
examples but my knowledge in git is pretty zero. I'm trying to understand
how to work with
git repo. In the meantime, if useful

https://github.com/francesco66/csoundAPI_examples

i guess i need to pull a request to main repo ... but i do not really know.

Thanks,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729269.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-11-07 18:40
Fromfrancesco
Subject[Csnd] Re: Using the Csound API - Examples
Done.
Maybe for the first time i have done almost all right.

Thank You,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729274.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-11-07 20:12
FromSteven Yi
SubjectRe: [Csnd] Re: Using the Csound API - Examples
Hi Francesco,

That pull request worked great.  They're not merged into my
repository.  Thanks again for the contribution!

steven

On Thu, Nov 7, 2013 at 1:40 PM, francesco  wrote:
> Done.
> Maybe for the first time i have done almost all right.
>
> Thank You,
> ciao,
> francesco.
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729274.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2013-11-07 20:44
FromRory Walsh
SubjectRe: [Csnd] Re: Using the Csound API - Examples
I just cloned the repo now. I'll start working on some C++ versions of the examples. I'm sure I have enough code lying around to do the job! 


On 7 November 2013 20:12, Steven Yi <stevenyi@gmail.com> wrote:
Hi Francesco,

That pull request worked great.  They're not merged into my
repository.  Thanks again for the contribution!

steven

On Thu, Nov 7, 2013 at 1:40 PM, francesco <ilterzouomo@fastwebnet.it> wrote:
> Done.
> Maybe for the first time i have done almost all right.
>
> Thank You,
> ciao,
> francesco.
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729274.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> 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 trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-11-07 21:03
FromSteven Yi
SubjectRe: [Csnd] Re: Using the Csound API - Examples

That's great Rory, thanks!  Maybe I'll wait for c++ ones before moving forward with the c ones. :)  (btw if anyone wants to do the c translation,  just let me know)

On Nov 7, 2013 3:45 PM, "Rory Walsh" <rorywalsh@ear.ie> wrote:
I just cloned the repo now. I'll start working on some C++ versions of the examples. I'm sure I have enough code lying around to do the job! 


On 7 November 2013 20:12, Steven Yi <stevenyi@gmail.com> wrote:
Hi Francesco,

That pull request worked great.  They're not merged into my
repository.  Thanks again for the contribution!

steven

On Thu, Nov 7, 2013 at 1:40 PM, francesco <ilterzouomo@fastwebnet.it> wrote:
> Done.
> Maybe for the first time i have done almost all right.
>
> Thank You,
> ciao,
> francesco.
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729274.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> 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 trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-11-07 21:14
FromDave Seidel
SubjectRe: [Csnd] Re: Using the Csound API - Examples
This is getting good!


On Thu, Nov 7, 2013 at 4:03 PM, Steven Yi <stevenyi@gmail.com> wrote:

That's great Rory, thanks!  Maybe I'll wait for c++ ones before moving forward with the c ones. :)  (btw if anyone wants to do the c translation,  just let me know)

On Nov 7, 2013 3:45 PM, "Rory Walsh" <rorywalsh@ear.ie> wrote:
I just cloned the repo now. I'll start working on some C++ versions of the examples. I'm sure I have enough code lying around to do the job! 


On 7 November 2013 20:12, Steven Yi <stevenyi@gmail.com> wrote:
Hi Francesco,

That pull request worked great.  They're not merged into my
repository.  Thanks again for the contribution!

steven

On Thu, Nov 7, 2013 at 1:40 PM, francesco <ilterzouomo@fastwebnet.it> wrote:
> Done.
> Maybe for the first time i have done almost all right.
>
> Thank You,
> ciao,
> francesco.
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729274.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> 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 trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2013-11-07 21:15
FromDave Seidel
SubjectRe: [Csnd] Re: Using the Csound API - Examples
But who will do the APL version? (Just kidding.)


On Thu, Nov 7, 2013 at 4:14 PM, Dave Seidel <dave.seidel@gmail.com> wrote:
This is getting good!


On Thu, Nov 7, 2013 at 4:03 PM, Steven Yi <stevenyi@gmail.com> wrote:

That's great Rory, thanks!  Maybe I'll wait for c++ ones before moving forward with the c ones. :)  (btw if anyone wants to do the c translation,  just let me know)

On Nov 7, 2013 3:45 PM, "Rory Walsh" <rorywalsh@ear.ie> wrote:
I just cloned the repo now. I'll start working on some C++ versions of the examples. I'm sure I have enough code lying around to do the job! 


On 7 November 2013 20:12, Steven Yi <stevenyi@gmail.com> wrote:
Hi Francesco,

That pull request worked great.  They're not merged into my
repository.  Thanks again for the contribution!

steven

On Thu, Nov 7, 2013 at 1:40 PM, francesco <ilterzouomo@fastwebnet.it> wrote:
> Done.
> Maybe for the first time i have done almost all right.
>
> Thank You,
> ciao,
> francesco.
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729274.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> 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 trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"






Date2013-11-08 14:28
FromRory Walsh
SubjectRe: [Csnd] Re: Using the Csound API - Examples
It will take me a while to get them all done, but I'll do a few each day until they are. It would be nice to host these on Csound's sourceforge page. It would be nice to use that as a portal for developers. All Csound niceties can go on csounds.com, but it would be nice to have a developer space for things that are constantly being updated an changed.


On 7 November 2013 21:15, Dave Seidel <dave.seidel@gmail.com> wrote:
But who will do the APL version? (Just kidding.)


On Thu, Nov 7, 2013 at 4:14 PM, Dave Seidel <dave.seidel@gmail.com> wrote:
This is getting good!


On Thu, Nov 7, 2013 at 4:03 PM, Steven Yi <stevenyi@gmail.com> wrote:

That's great Rory, thanks!  Maybe I'll wait for c++ ones before moving forward with the c ones. :)  (btw if anyone wants to do the c translation,  just let me know)

On Nov 7, 2013 3:45 PM, "Rory Walsh" <rorywalsh@ear.ie> wrote:
I just cloned the repo now. I'll start working on some C++ versions of the examples. I'm sure I have enough code lying around to do the job! 


On 7 November 2013 20:12, Steven Yi <stevenyi@gmail.com> wrote:
Hi Francesco,

That pull request worked great.  They're not merged into my
repository.  Thanks again for the contribution!

steven

On Thu, Nov 7, 2013 at 1:40 PM, francesco <ilterzouomo@fastwebnet.it> wrote:
> Done.
> Maybe for the first time i have done almost all right.
>
> Thank You,
> ciao,
> francesco.
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Csound-API-Examples-tp5728842p5729274.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> 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 trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"