[Cs-dev] Rhythms and percursion
Date | 2015-06-19 22:21 |
From | Gonzalo Odiard |
Subject | [Cs-dev] Rhythms and percursion |
Attachments | None 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. [1] https://github.com/godiard/music-keyboard-activity/blob/master/ttcommon/Util/Clooper/aclient.cpp -- Gonzalo Odiard SugarLabs - Software for children learning |
Date | 2015-06-19 22:32 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Rhythms and percursion |
Attachments | None 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
|
Date | 2015-06-19 22:42 |
From | Gonzalo Odiard |
Subject | Re: [Cs-dev] Rhythms and percursion |
Attachments | None 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:
Gonzalo Odiard SugarLabs - Software for children learning |
Date | 2015-06-20 09:33 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Rhythms and percursion |
Attachments | None 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
|
Date | 2015-06-20 17:49 |
From | Gonzalo Odiard |
Subject | Re: [Cs-dev] Rhythms and percursion |
Attachments | None 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:
Gonzalo Odiard SugarLabs - Software for children learning |
Date | 2015-06-24 20:08 |
From | Gonzalo Odiard |
Subject | Re: [Cs-dev] Rhythms and percursion |
Attachments | None 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:
Gonzalo Odiard SugarLabs - Software for children learning |
Date | 2015-06-24 21:35 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Rhythms and percursion |
Attachments | None 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
|
Date | 2015-07-13 16:58 |
From | Gonzalo Odiard |
Subject | Re: [Cs-dev] Rhythms and percursion |
Attachments | None 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:
Gonzalo Odiard SugarLabs - Software [for | by] children learning |