Csound Csound-dev Csound-tekno Search About

[Cs-dev] some developments in Csound 6

Date2012-12-20 17:01
FromVictor Lazzarini
Subject[Cs-dev] some developments in Csound 6
I just wanted to give some brief info on where we are at with Csound 6 development. Steven has already mentioned his work with the type system and he is currently working on generalised arrays (which I will let him introduce here when he is done).

Alongside this, we have come up with a design for loadable instruments, which I have now mostly implemented (requiring of course full testing plus some tidying up). So now it is possible to compile any number of times into a running Csound instance, from a text string containing new instruments. Of course, this has to be done in a thread-safe way, in k-cycle boundaries, to avoid any resource access issues (but thread-safety might possibly be built-in in the future API). Newly compiled instruments are available to be run straight away. If they have the same number of a previously defined instrument, they simply replace them, with any active instances carrying on untouched, but new instances using the new definition.

This is a major milestone, which will enable things lie on-fly-compilation and live coding. The final interfaces to this have yet to be designed, but at the moment, the API has a csoundCompileOrc(CSOUND *csound, char *str) that can be used for loading new instruments. The design allows for an addition of a fast loadable file format, for pre-compiled binary instruments, although this will need to be added later. All of these developments were of course enabled by the move to the new parser and the cleaning of the code base that John ffitch and the developers have been carrying out.

John is also working on some other exciting developments, which we will hope to announce soon when it is completed. 

Regards

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




------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-12-20 21:50
FromDavidW
SubjectRe: [Cs-dev] some developments in Csound 6
AttachmentsNone  None  
This is a major breakthrough and very pleasing to hear about.

Thank you Victor, Stephen, John et al.

Seasons greetings to all csounders!

David

On 21/12/2012, at 4:01 AM, Victor Lazzarini wrote:

I just wanted to give some brief info on where we are at with Csound 6 development. Steven has already mentioned his work with the type system and he is currently working on generalised arrays (which I will let him introduce here when he is done).

Alongside this, we have come up with a design for loadable instruments, which I have now mostly implemented (requiring of course full testing plus some tidying up). So now it is possible to compile any number of times into a running Csound instance, from a text string containing new instruments. Of course, this has to be done in a thread-safe way, in k-cycle boundaries, to avoid any resource access issues (but thread-safety might possibly be built-in in the future API). Newly compiled instruments are available to be run straight away. If they have the same number of a previously defined instrument, they simply replace them, with any active instances carrying on untouched, but new instances using the new definition.

This is a major milestone, which will enable things lie on-fly-compilation and live coding. The final interfaces to this have yet to be designed, but at the moment, the API has a csoundCompileOrc(CSOUND *csound, char *str) that can be used for loading new instruments. The design allows for an addition of a fast loadable file format, for pre-compiled binary instruments, although this will need to be added later. All of these developments were of course enabled by the move to the new parser and the cleaning of the code base that John ffitch and the developers have been carrying out.

John is also working on some other exciting developments, which we will hope to announce soon when it is completed.

Regards

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




------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

________________________________________________
Dr David Worrall.
- Experimental Polymedia:   worrall.avatar.com.au
- Sonification: www.sonification.com.au
- Education for Financial Independence: www.mindthemarkets.com.au








Date2012-12-20 22:04
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] some developments in Csound 6
AttachmentsNone  None  
Great news,
Congratulations and thanks,
and greetings for the holidays.
best
Oeyvind


2012/12/20 DavidW <vip@avatar.com.au>
This is a major breakthrough and very pleasing to hear about.

Thank you Victor, Stephen, John et al.

Seasons greetings to all csounders!

David

On 21/12/2012, at 4:01 AM, Victor Lazzarini wrote:

I just wanted to give some brief info on where we are at with Csound 6 development. Steven has already mentioned his work with the type system and he is currently working on generalised arrays (which I will let him introduce here when he is done).

Alongside this, we have come up with a design for loadable instruments, which I have now mostly implemented (requiring of course full testing plus some tidying up). So now it is possible to compile any number of times into a running Csound instance, from a text string containing new instruments. Of course, this has to be done in a thread-safe way, in k-cycle boundaries, to avoid any resource access issues (but thread-safety might possibly be built-in in the future API). Newly compiled instruments are available to be run straight away. If they have the same number of a previously defined instrument, they simply replace them, with any active instances carrying on untouched, but new instances using the new definition.

This is a major milestone, which will enable things lie on-fly-compilation and live coding. The final interfaces to this have yet to be designed, but at the moment, the API has a csoundCompileOrc(CSOUND *csound, char *str) that can be used for loading new instruments. The design allows for an addition of a fast loadable file format, for pre-compiled binary instruments, although this will need to be added later. All of these developments were of course enabled by the move to the new parser and the cleaning of the code base that John ffitch and the developers have been carrying out.

John is also working on some other exciting developments, which we will hope to announce soon when it is completed.

Regards

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




------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

________________________________________________
Dr David Worrall.
- Experimental Polymedia:   worrall.avatar.com.au
- Sonification: www.sonification.com.au
- Education for Financial Independence: www.mindthemarkets.com.au








------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

Date2012-12-20 22:08
FromToby
SubjectRe: [Cs-dev] some developments in Csound 6
> Alongside this, we have come up with a design for loadable
> instruments, which I have now mostly implemented (requiring of course
> full testing plus some tidying up). So now it is possible to compile
> any number of times into a running Csound instance, from a text
> string containing new instruments.

Would this mean that I would be able to use VSTi's from csound,
and run many times without quitting the VSTi?  That would be
really cool.  I want to use Kontakt from csound, but right now,
each time I run, it's takes a long time to load all of the
instrument data into Kontakt.

Tobiah

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-12-20 22:55
FromVictor Lazzarini
SubjectRe: [Cs-dev] some developments in Csound 6
Not sure what you have in mind, but this allows you to keep adding instruments to Csound without it having to stop for a recompilation.
On 20 Dec 2012, at 22:08, Toby wrote:

>> Alongside this, we have come up with a design for loadable
>> instruments, which I have now mostly implemented (requiring of course
>> full testing plus some tidying up). So now it is possible to compile
>> any number of times into a running Csound instance, from a text
>> string containing new instruments.
> 
> Would this mean that I would be able to use VSTi's from csound,
> and run many times without quitting the VSTi?  That would be
> really cool.  I want to use Kontakt from csound, but right now,
> each time I run, it's takes a long time to load all of the
> instrument data into Kontakt.
> 
> Tobiah
> 
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

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




------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-12-21 12:24
Fromandy fillebrown
SubjectRe: [Cs-dev] some developments in Csound 6
This is very exciting!  Loadable instruments are the feature I am most
looking forward to.

Cheers,
~ andy.f



On Thu, Dec 20, 2012 at 12:01 PM, Victor Lazzarini
 wrote:
> I just wanted to give some brief info on where we are at with Csound 6 development. Steven has already mentioned his work with the type system and he is currently working on generalised arrays (which I will let him introduce here when he is done).
>
> Alongside this, we have come up with a design for loadable instruments, which I have now mostly implemented (requiring of course full testing plus some tidying up). So now it is possible to compile any number of times into a running Csound instance, from a text string containing new instruments. Of course, this has to be done in a thread-safe way, in k-cycle boundaries, to avoid any resource access issues (but thread-safety might possibly be built-in in the future API). Newly compiled instruments are available to be run straight away. If they have the same number of a previously defined instrument, they simply replace them, with any active instances carrying on untouched, but new instances using the new definition.
>
> This is a major milestone, which will enable things lie on-fly-compilation and live coding. The final interfaces to this have yet to be designed, but at the moment, the API has a csoundCompileOrc(CSOUND *csound, char *str) that can be used for loading new instruments. The design allows for an addition of a fast loadable file format, for pre-compiled binary instruments, although this will need to be added later. All of these developments were of course enabled by the move to the new parser and the cleaning of the code base that John ffitch and the developers have been carrying out.
>
> John is also working on some other exciting developments, which we will hope to announce soon when it is completed.
>
> Regards
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-12-21 15:02
FromJacob Joaquin
SubjectRe: [Cs-dev] some developments in Csound 6
AttachmentsNone  None  
Very exciting, indeed.

Will this feature allow users to insert new instruments between existing instruments, changing the execution order of instruments? Or perhaps rearrange the execution order? Or are new instruments appended to the bottom?

For example. Let's say I have this in my orchestra?

instr foo
...
endin

instr bar
...
endin

The execution order foo then bar. Would I be able to insert an instr baz between foo and bar so that the execution order would be foo, baz, bar? Or be able to swap foo and bar? Or does adding baz mean only appending to the bottom of the execution chain?

I ask, because there's real potential to have a Max like UI for Csound that can be continuously running, rather than having to stop, recompile, and run.

Best,
Jake


On Fri, Dec 21, 2012 at 4:24 AM, andy fillebrown <andy.fillebrown@gmail.com> wrote:
This is very exciting!  Loadable instruments are the feature I am most
looking forward to.

Cheers,
~ andy.f



On Thu, Dec 20, 2012 at 12:01 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
> I just wanted to give some brief info on where we are at with Csound 6 development. Steven has already mentioned his work with the type system and he is currently working on generalised arrays (which I will let him introduce here when he is done).
>
> Alongside this, we have come up with a design for loadable instruments, which I have now mostly implemented (requiring of course full testing plus some tidying up). So now it is possible to compile any number of times into a running Csound instance, from a text string containing new instruments. Of course, this has to be done in a thread-safe way, in k-cycle boundaries, to avoid any resource access issues (but thread-safety might possibly be built-in in the future API). Newly compiled instruments are available to be run straight away. If they have the same number of a previously defined instrument, they simply replace them, with any active instances carrying on untouched, but new instances using the new definition.
>
> This is a major milestone, which will enable things lie on-fly-compilation and live coding. The final interfaces to this have yet to be designed, but at the moment, the API has a csoundCompileOrc(CSOUND *csound, char *str) that can be used for loading new instruments. The design allows for an addition of a fast loadable file format, for pre-compiled binary instruments, although this will need to be added later. All of these developments were of course enabled by the move to the new parser and the cleaning of the code base that John ffitch and the developers have been carrying out.
>
> John is also working on some other exciting developments, which we will hope to announce soon when it is completed.
>
> Regards
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
codehop.com | #code #art #music

Date2012-12-21 15:13
FromVictor Lazzarini
SubjectRe: [Cs-dev] some developments in Csound 6
AttachmentsNone  None  
Currently, this works as usual, if you compile instr 1, it goes to the top of the list. If there is already an instr 1, it will be replaced. To add instruments, there is no need to stop Csound anymore.

Victor
On 21 Dec 2012, at 15:02, Jacob Joaquin wrote:

Very exciting, indeed.

Will this feature allow users to insert new instruments between existing instruments, changing the execution order of instruments? Or perhaps rearrange the execution order? Or are new instruments appended to the bottom?

For example. Let's say I have this in my orchestra?

instr foo
...
endin

instr bar
...
endin

The execution order foo then bar. Would I be able to insert an instr baz between foo and bar so that the execution order would be foo, baz, bar? Or be able to swap foo and bar? Or does adding baz mean only appending to the bottom of the execution chain?

I ask, because there's real potential to have a Max like UI for Csound that can be continuously running, rather than having to stop, recompile, and run.

Best,
Jake


On Fri, Dec 21, 2012 at 4:24 AM, andy fillebrown <andy.fillebrown@gmail.com> wrote:
This is very exciting!  Loadable instruments are the feature I am most
looking forward to.

Cheers,
~ andy.f



On Thu, Dec 20, 2012 at 12:01 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
> I just wanted to give some brief info on where we are at with Csound 6 development. Steven has already mentioned his work with the type system and he is currently working on generalised arrays (which I will let him introduce here when he is done).
>
> Alongside this, we have come up with a design for loadable instruments, which I have now mostly implemented (requiring of course full testing plus some tidying up). So now it is possible to compile any number of times into a running Csound instance, from a text string containing new instruments. Of course, this has to be done in a thread-safe way, in k-cycle boundaries, to avoid any resource access issues (but thread-safety might possibly be built-in in the future API). Newly compiled instruments are available to be run straight away. If they have the same number of a previously defined instrument, they simply replace them, with any active instances carrying on untouched, but new instances using the new definition.
>
> This is a major milestone, which will enable things lie on-fly-compilation and live coding. The final interfaces to this have yet to be designed, but at the moment, the API has a csoundCompileOrc(CSOUND *csound, char *str) that can be used for loading new instruments. The design allows for an addition of a fast loadable file format, for pre-compiled binary instruments, although this will need to be added later. All of these developments were of course enabled by the move to the new parser and the cleaning of the code base that John ffitch and the developers have been carrying out.
>
> John is also working on some other exciting developments, which we will hope to announce soon when it is completed.
>
> Regards
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
codehop.com | #code #art #music
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

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




Date2012-12-21 16:52
FromMichael Gogins
SubjectRe: [Cs-dev] some developments in Csound 6
AttachmentsNone  None  
We discussed having, as part of loadable instruments, the ability to have instruments compiled in other languages (especially C/C++) loadable at run time, through a "plugin insrument" API. Is something like this also a part of what has been done here?

Regards
Mike


On Thu, Dec 20, 2012 at 12:01 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I just wanted to give some brief info on where we are at with Csound 6 development. Steven has already mentioned his work with the type system and he is currently working on generalised arrays (which I will let him introduce here when he is done).

Alongside this, we have come up with a design for loadable instruments, which I have now mostly implemented (requiring of course full testing plus some tidying up). So now it is possible to compile any number of times into a running Csound instance, from a text string containing new instruments. Of course, this has to be done in a thread-safe way, in k-cycle boundaries, to avoid any resource access issues (but thread-safety might possibly be built-in in the future API). Newly compiled instruments are available to be run straight away. If they have the same number of a previously defined instrument, they simply replace them, with any active instances carrying on untouched, but new instances using the new definition.

This is a major milestone, which will enable things lie on-fly-compilation and live coding. The final interfaces to this have yet to be designed, but at the moment, the API has a csoundCompileOrc(CSOUND *csound, char *str) that can be used for loading new instruments. The design allows for an addition of a fast loadable file format, for pre-compiled binary instruments, although this will need to be added later. All of these developments were of course enabled by the move to the new parser and the cleaning of the code base that John ffitch and the developers have been carrying out.

John is also working on some other exciting developments, which we will hope to announce soon when it is completed.

Regards

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




------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2012-12-21 17:15
FromVictor Lazzarini
SubjectRe: [Cs-dev] some developments in Csound 6
AttachmentsNone  None  
yes, if you can parse your instrument into the AST tree, then you can load it through csoundCompileTree(). So the path is open now for parsers to be implemented for other languages than the original Csound. My plan is that there will be enough clarity on the how the tree is structured, through documentation and/or API to allow for this. Also a fast loadable format is planned.

Effectively with the infrastructure changes we are implementing, the Csound engine is getting separated from the Csound compiler, which should enable further developments in these areas.

Victor

On 21 Dec 2012, at 16:52, Michael Gogins wrote:

We discussed having, as part of loadable instruments, the ability to have instruments compiled in other languages (especially C/C++) loadable at run time, through a "plugin insrument" API. Is something like this also a part of what has been done here?

Regards
Mike


On Thu, Dec 20, 2012 at 12:01 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I just wanted to give some brief info on where we are at with Csound 6 development. Steven has already mentioned his work with the type system and he is currently working on generalised arrays (which I will let him introduce here when he is done).

Alongside this, we have come up with a design for loadable instruments, which I have now mostly implemented (requiring of course full testing plus some tidying up). So now it is possible to compile any number of times into a running Csound instance, from a text string containing new instruments. Of course, this has to be done in a thread-safe way, in k-cycle boundaries, to avoid any resource access issues (but thread-safety might possibly be built-in in the future API). Newly compiled instruments are available to be run straight away. If they have the same number of a previously defined instrument, they simply replace them, with any active instances carrying on untouched, but new instances using the new definition.

This is a major milestone, which will enable things lie on-fly-compilation and live coding. The final interfaces to this have yet to be designed, but at the moment, the API has a csoundCompileOrc(CSOUND *csound, char *str) that can be used for loading new instruments. The design allows for an addition of a fast loadable file format, for pre-compiled binary instruments, although this will need to be added later. All of these developments were of course enabled by the move to the new parser and the cleaning of the code base that John ffitch and the developers have been carrying out.

John is also working on some other exciting developments, which we will hope to announce soon when it is completed.

Regards

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




------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

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




Date2012-12-21 18:19
FromJustin Smith
SubjectRe: [Cs-dev] some developments in Csound 6
AttachmentsNone  None  
This is very exciting news! I may just try making an instrument compiler in clojure at some point.


On Fri, Dec 21, 2012 at 9:15 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
yes, if you can parse your instrument into the AST tree, then you can load it through csoundCompileTree(). So the path is open now for parsers to be implemented for other languages than the original Csound. My plan is that there will be enough clarity on the how the tree is structured, through documentation and/or API to allow for this. Also a fast loadable format is planned.

Effectively with the infrastructure changes we are implementing, the Csound engine is getting separated from the Csound compiler, which should enable further developments in these areas.

Victor


On 21 Dec 2012, at 16:52, Michael Gogins wrote:

We discussed having, as part of loadable instruments, the ability to have instruments compiled in other languages (especially C/C++) loadable at run time, through a "plugin insrument" API. Is something like this also a part of what has been done here?

Regards
Mike


On Thu, Dec 20, 2012 at 12:01 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I just wanted to give some brief info on where we are at with Csound 6 development. Steven has already mentioned his work with the type system and he is currently working on generalised arrays (which I will let him introduce here when he is done).

Alongside this, we have come up with a design for loadable instruments, which I have now mostly implemented (requiring of course full testing plus some tidying up). So now it is possible to compile any number of times into a running Csound instance, from a text string containing new instruments. Of course, this has to be done in a thread-safe way, in k-cycle boundaries, to avoid any resource access issues (but thread-safety might possibly be built-in in the future API). Newly compiled instruments are available to be run straight away. If they have the same number of a previously defined instrument, they simply replace them, with any active instances carrying on untouched, but new instances using the new definition.

This is a major milestone, which will enable things lie on-fly-compilation and live coding. The final interfaces to this have yet to be designed, but at the moment, the API has a csoundCompileOrc(CSOUND *csound, char *str) that can be used for loading new instruments. The design allows for an addition of a fast loadable file format, for pre-compiled binary instruments, although this will need to be added later. All of these developments were of course enabled by the move to the new parser and the cleaning of the code base that John ffitch and the developers have been carrying out.

John is also working on some other exciting developments, which we will hope to announce soon when it is completed.

Regards

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




------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2012-12-22 14:43
Fromjoachim heintz
SubjectRe: [Cs-dev] some developments in Csound 6
fantastic news. many many thanks to you and steven and everyone else who 
is working on this!
	joachim

Am 21.12.2012 18:15, schrieb Victor Lazzarini:
> yes, if you can parse your instrument into the AST tree, then you can
> load it through csoundCompileTree(). So the path is open now for parsers
> to be implemented for other languages than the original Csound. My plan
> is that there will be enough clarity on the how the tree is structured,
> through documentation and/or API to allow for this. Also a fast loadable
> format is planned.
>
> Effectively with the infrastructure changes we are implementing, the
> Csound engine is getting separated from the Csound compiler, which
> should enable further developments in these areas.
>
> Victor
>
> On 21 Dec 2012, at 16:52, Michael Gogins wrote:
>
>> We discussed having, as part of loadable instruments, the ability to
>> have instruments compiled in other languages (especially C/C++)
>> loadable at run time, through a "plugin insrument" API. Is something
>> like this also a part of what has been done here?
>>
>> Regards
>> Mike
>>
>>
>> On Thu, Dec 20, 2012 at 12:01 PM, Victor Lazzarini
>> > wrote:
>>
>>     I just wanted to give some brief info on where we are at with
>>     Csound 6 development. Steven has already mentioned his work with
>>     the type system and he is currently working on generalised arrays
>>     (which I will let him introduce here when he is done).
>>
>>     Alongside this, we have come up with a design for loadable
>>     instruments, which I have now mostly implemented (requiring of
>>     course full testing plus some tidying up). So now it is possible
>>     to compile any number of times into a running Csound instance,
>>     from a text string containing new instruments. Of course, this has
>>     to be done in a thread-safe way, in k-cycle boundaries, to avoid
>>     any resource access issues (but thread-safety might possibly be
>>     built-in in the future API). Newly compiled instruments are
>>     available to be run straight away. If they have the same number of
>>     a previously defined instrument, they simply replace them, with
>>     any active instances carrying on untouched, but new instances
>>     using the new definition.
>>
>>     This is a major milestone, which will enable things lie
>>     on-fly-compilation and live coding. The final interfaces to this
>>     have yet to be designed, but at the moment, the API has a
>>     csoundCompileOrc(CSOUND *csound, char *str) that can be used for
>>     loading new instruments. The design allows for an addition of a
>>     fast loadable file format, for pre-compiled binary instruments,
>>     although this will need to be added later. All of these
>>     developments were of course enabled by the move to the new parser
>>     and the cleaning of the code base that John ffitch and the
>>     developers have been carrying out.
>>
>>     John is also working on some other exciting developments, which we
>>     will hope to announce soon when it is completed.
>>
>>     Regards
>>
>>     Dr Victor Lazzarini
>>     Senior Lecturer
>>     Dept. of Music
>>     NUI Maynooth Ireland
>>     tel.: +353 1 708 3545 
>>     Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>>     ------------------------------------------------------------------------------
>>     LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>     Remotely access PCs and mobile devices and provide instant support
>>     Improve your efficiency, and focus on delivering more value-add
>>     services
>>     Discover what IT Professionals Know. Rescue delivers
>>     http://p.sf.net/sfu/logmein_12329d2d
>>     _______________________________________________
>>     Csound-devel mailing list
>>     Csound-devel@lists.sourceforge.net
>>     
>>     https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com 
>> Michael dot Gogins at gmail dot com
>> ------------------------------------------------------------------------------
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d_______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.:+353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
>
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net