Csound Csound-dev Csound-tekno Search About

[Cs-dev] Rhythms and percursion

Date2015-06-19 22:21
FromGonzalo Odiard
Subject[Cs-dev] Rhythms and percursion
AttachmentsNone  None  
In the application I am porting from csound 5 to 6,
almost all the code is python, but a little library was implemented in c. [1]
Part of the me library just expose methods already avalilable
in the python bindings on python-csound right now.
A part I am not sure how to implement is the way the loops 
were implemented. These loops were used by predefined
percussion sets.
This code run in very limited devices, then performance is important. 

Can I implement this only with python in csnd6, what should be 
the logic way to do it? In previous mails in the list I read there are
a better API now.

--
Gonzalo Odiard

SugarLabs - Software for children learning 

Date2015-06-19 22:32
FromVictor Lazzarini
SubjectRe: [Cs-dev] Rhythms and percursion
AttachmentsNone  None  
If you want to use this, I guess with a little modification it is possible to adapt it for Csound 6. Maybe simpler than trying to reimplement it in Python.

Do you know how to build and use this? I can help out to modify the code if you wish.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:21, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

In the application I am porting from csound 5 to 6,
almost all the code is python, but a little library was implemented in c. [1]
Part of the me library just expose methods already avalilable
in the python bindings on python-csound right now.
A part I am not sure how to implement is the way the loops 
were implemented. These loops were used by predefined
percussion sets.
This code run in very limited devices, then performance is important. 

Can I implement this only with python in csnd6, what should be 
the logic way to do it? In previous mails in the list I read there are
a better API now.

--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2015-06-19 22:42
FromGonzalo Odiard
SubjectRe: [Cs-dev] Rhythms and percursion
AttachmentsNone  None  
From all the code the methods used from python are:
'sc_getTickf'
'sc_adjustTick'
'sc_loop_new'
'sc_loop_delete'
'sc_loop_delScoreEvent'
'sc_loop_delScoreEvent'
'sc_loop_playing'
'sc_loop_playing'
'sc_loop_setTickf'
'sc_loop_getTickf'
'sc_loop_deactivate_all'
'sc_loop_updateEvent'

Then looks like the most important part is Loop.

If you can include it in csound and that API is exposed to python would be great.
I can patch and build packages in the meantime.

Gonzalo


On Fri, Jun 19, 2015 at 6:32 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
If you want to use this, I guess with a little modification it is possible to adapt it for Csound 6. Maybe simpler than trying to reimplement it in Python.

Do you know how to build and use this? I can help out to modify the code if you wish.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:21, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

In the application I am porting from csound 5 to 6,
almost all the code is python, but a little library was implemented in c. [1]
Part of the me library just expose methods already avalilable
in the python bindings on python-csound right now.
A part I am not sure how to implement is the way the loops 
were implemented. These loops were used by predefined
percussion sets.
This code run in very limited devices, then performance is important. 

Can I implement this only with python in csnd6, what should be 
the logic way to do it? In previous mails in the list I read there are
a better API now.

--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Gonzalo Odiard

SugarLabs - Software for children learning 

Date2015-06-20 09:33
FromVictor Lazzarini
SubjectRe: [Cs-dev] Rhythms and percursion
AttachmentsNone  None  
I don't think I can include it into Csound. I was thinking more  on the lines of updating those sources for you to use in your project.
Is that not a possibility?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:42, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

From all the code the methods used from python are:
'sc_getTickf'
'sc_adjustTick'
'sc_loop_new'
'sc_loop_delete'
'sc_loop_delScoreEvent'
'sc_loop_delScoreEvent'
'sc_loop_playing'
'sc_loop_playing'
'sc_loop_setTickf'
'sc_loop_getTickf'
'sc_loop_deactivate_all'
'sc_loop_updateEvent'

Then looks like the most important part is Loop.

If you can include it in csound and that API is exposed to python would be great.
I can patch and build packages in the meantime.

Gonzalo


On Fri, Jun 19, 2015 at 6:32 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
If you want to use this, I guess with a little modification it is possible to adapt it for Csound 6. Maybe simpler than trying to reimplement it in Python.

Do you know how to build and use this? I can help out to modify the code if you wish.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:21, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

In the application I am porting from csound 5 to 6,
almost all the code is python, but a little library was implemented in c. [1]
Part of the me library just expose methods already avalilable
in the python bindings on python-csound right now.
A part I am not sure how to implement is the way the loops 
were implemented. These loops were used by predefined
percussion sets.
This code run in very limited devices, then performance is important. 

Can I implement this only with python in csnd6, what should be 
the logic way to do it? In previous mails in the list I read there are
a better API now.

--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2015-06-20 17:49
FromGonzalo Odiard
SubjectRe: [Cs-dev] Rhythms and percursion
AttachmentsNone  None  
Is a possibility but if we could keep the project python only, would be ideal.
There are any way to achieve the same using python?

Another possibility is package it as a separated library csound-loops or
similar, and then we can package it.

If you can update those sources I would appreciate it. I am not good at coding really.

Gonzalo

On Sat, Jun 20, 2015 at 5:33 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I don't think I can include it into Csound. I was thinking more  on the lines of updating those sources for you to use in your project.
Is that not a possibility?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:42, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

From all the code the methods used from python are:
'sc_getTickf'
'sc_adjustTick'
'sc_loop_new'
'sc_loop_delete'
'sc_loop_delScoreEvent'
'sc_loop_delScoreEvent'
'sc_loop_playing'
'sc_loop_playing'
'sc_loop_setTickf'
'sc_loop_getTickf'
'sc_loop_deactivate_all'
'sc_loop_updateEvent'

Then looks like the most important part is Loop.

If you can include it in csound and that API is exposed to python would be great.
I can patch and build packages in the meantime.

Gonzalo


On Fri, Jun 19, 2015 at 6:32 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
If you want to use this, I guess with a little modification it is possible to adapt it for Csound 6. Maybe simpler than trying to reimplement it in Python.

Do you know how to build and use this? I can help out to modify the code if you wish.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:21, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

In the application I am porting from csound 5 to 6,
almost all the code is python, but a little library was implemented in c. [1]
Part of the me library just expose methods already avalilable
in the python bindings on python-csound right now.
A part I am not sure how to implement is the way the loops 
were implemented. These loops were used by predefined
percussion sets.
This code run in very limited devices, then performance is important. 

Can I implement this only with python in csnd6, what should be 
the logic way to do it? In previous mails in the list I read there are
a better API now.

--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Gonzalo Odiard

SugarLabs - Software for children learning 

Date2015-06-24 20:08
FromGonzalo Odiard
SubjectRe: [Cs-dev] Rhythms and percursion
AttachmentsNone  None  
Just to be clear, if you can help with the adaption to csound 6 I will figure out how to integrate with the app.

Gonzalo

On Sat, Jun 20, 2015 at 1:49 PM, Gonzalo Odiard <godiard@sugarlabs.org> wrote:
Is a possibility but if we could keep the project python only, would be ideal.
There are any way to achieve the same using python?

Another possibility is package it as a separated library csound-loops or
similar, and then we can package it.

If you can update those sources I would appreciate it. I am not good at coding really.

Gonzalo

On Sat, Jun 20, 2015 at 5:33 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I don't think I can include it into Csound. I was thinking more  on the lines of updating those sources for you to use in your project.
Is that not a possibility?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:42, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

From all the code the methods used from python are:
'sc_getTickf'
'sc_adjustTick'
'sc_loop_new'
'sc_loop_delete'
'sc_loop_delScoreEvent'
'sc_loop_delScoreEvent'
'sc_loop_playing'
'sc_loop_playing'
'sc_loop_setTickf'
'sc_loop_getTickf'
'sc_loop_deactivate_all'
'sc_loop_updateEvent'

Then looks like the most important part is Loop.

If you can include it in csound and that API is exposed to python would be great.
I can patch and build packages in the meantime.

Gonzalo


On Fri, Jun 19, 2015 at 6:32 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
If you want to use this, I guess with a little modification it is possible to adapt it for Csound 6. Maybe simpler than trying to reimplement it in Python.

Do you know how to build and use this? I can help out to modify the code if you wish.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:21, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

In the application I am porting from csound 5 to 6,
almost all the code is python, but a little library was implemented in c. [1]
Part of the me library just expose methods already avalilable
in the python bindings on python-csound right now.
A part I am not sure how to implement is the way the loops 
were implemented. These loops were used by predefined
percussion sets.
This code run in very limited devices, then performance is important. 

Can I implement this only with python in csnd6, what should be 
the logic way to do it? In previous mails in the list I read there are
a better API now.

--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Gonzalo Odiard

SugarLabs - Software for children learning 



--
Gonzalo Odiard

SugarLabs - Software for children learning 

Date2015-06-24 21:35
FromVictor Lazzarini
SubjectRe: [Cs-dev] Rhythms and percursion
AttachmentsNone  None  
I can adapt the code. Just give me a few days to get round to it.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 24 Jun 2015, at 20:08, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

Just to be clear, if you can help with the adaption to csound 6 I will figure out how to integrate with the app.

Gonzalo

On Sat, Jun 20, 2015 at 1:49 PM, Gonzalo Odiard <godiard@sugarlabs.org> wrote:
Is a possibility but if we could keep the project python only, would be ideal.
There are any way to achieve the same using python?

Another possibility is package it as a separated library csound-loops or
similar, and then we can package it.

If you can update those sources I would appreciate it. I am not good at coding really.

Gonzalo

On Sat, Jun 20, 2015 at 5:33 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I don't think I can include it into Csound. I was thinking more  on the lines of updating those sources for you to use in your project.
Is that not a possibility?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:42, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

From all the code the methods used from python are:
'sc_getTickf'
'sc_adjustTick'
'sc_loop_new'
'sc_loop_delete'
'sc_loop_delScoreEvent'
'sc_loop_delScoreEvent'
'sc_loop_playing'
'sc_loop_playing'
'sc_loop_setTickf'
'sc_loop_getTickf'
'sc_loop_deactivate_all'
'sc_loop_updateEvent'

Then looks like the most important part is Loop.

If you can include it in csound and that API is exposed to python would be great.
I can patch and build packages in the meantime.

Gonzalo


On Fri, Jun 19, 2015 at 6:32 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
If you want to use this, I guess with a little modification it is possible to adapt it for Csound 6. Maybe simpler than trying to reimplement it in Python.

Do you know how to build and use this? I can help out to modify the code if you wish.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:21, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

In the application I am porting from csound 5 to 6,
almost all the code is python, but a little library was implemented in c. [1]
Part of the me library just expose methods already avalilable
in the python bindings on python-csound right now.
A part I am not sure how to implement is the way the loops 
were implemented. These loops were used by predefined
percussion sets.
This code run in very limited devices, then performance is important. 

Can I implement this only with python in csnd6, what should be 
the logic way to do it? In previous mails in the list I read there are
a better API now.

--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Gonzalo Odiard

SugarLabs - Software for children learning 



--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2015-07-13 16:58
FromGonzalo Odiard
SubjectRe: [Cs-dev] Rhythms and percursion
AttachmentsNone  None  
Hi Victor,
Could you look at adapting this code?
Thanks in advance,

Gonzalo

On Wed, Jun 24, 2015 at 5:35 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I can adapt the code. Just give me a few days to get round to it.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 24 Jun 2015, at 20:08, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

Just to be clear, if you can help with the adaption to csound 6 I will figure out how to integrate with the app.

Gonzalo

On Sat, Jun 20, 2015 at 1:49 PM, Gonzalo Odiard <godiard@sugarlabs.org> wrote:
Is a possibility but if we could keep the project python only, would be ideal.
There are any way to achieve the same using python?

Another possibility is package it as a separated library csound-loops or
similar, and then we can package it.

If you can update those sources I would appreciate it. I am not good at coding really.

Gonzalo

On Sat, Jun 20, 2015 at 5:33 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I don't think I can include it into Csound. I was thinking more  on the lines of updating those sources for you to use in your project.
Is that not a possibility?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:42, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

From all the code the methods used from python are:
'sc_getTickf'
'sc_adjustTick'
'sc_loop_new'
'sc_loop_delete'
'sc_loop_delScoreEvent'
'sc_loop_delScoreEvent'
'sc_loop_playing'
'sc_loop_playing'
'sc_loop_setTickf'
'sc_loop_getTickf'
'sc_loop_deactivate_all'
'sc_loop_updateEvent'

Then looks like the most important part is Loop.

If you can include it in csound and that API is exposed to python would be great.
I can patch and build packages in the meantime.

Gonzalo


On Fri, Jun 19, 2015 at 6:32 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
If you want to use this, I guess with a little modification it is possible to adapt it for Csound 6. Maybe simpler than trying to reimplement it in Python.

Do you know how to build and use this? I can help out to modify the code if you wish.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 19 Jun 2015, at 22:21, Gonzalo Odiard <godiard@sugarlabs.org> wrote:

In the application I am porting from csound 5 to 6,
almost all the code is python, but a little library was implemented in c. [1]
Part of the me library just expose methods already avalilable
in the python bindings on python-csound right now.
A part I am not sure how to implement is the way the loops 
were implemented. These loops were used by predefined
percussion sets.
This code run in very limited devices, then performance is important. 

Can I implement this only with python in csnd6, what should be 
the logic way to do it? In previous mails in the list I read there are
a better API now.

--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Gonzalo Odiard

SugarLabs - Software for children learning 



--
Gonzalo Odiard

SugarLabs - Software for children learning 
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Gonzalo Odiard

SugarLabs - Software [for | by] children learning