| Go for it, and then send us a pull request when it’s working. You can leave the original as the default if the function is not set, so that
code is not broken with it.
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie
On 7 Jun 2014, at 15:39, Edward Costello wrote:
> Yeah it's just in the csound.js javascript code, it seems that when the moduleDidLoad function is called it then looks for a function called moduleDidLoad in the window. I was just thinking It would be nice if that function could be specified when the csound object is instantiated.
>
> Sent from my iPhone
>
> On 7 Jun 2014, at 16:23, Victor Lazzarini wrote:
>
>> Is this on the Javascript side? If so, you’re welcome to do it yourself, as I am not quite sure what you have in mind.
>>
>> Regards
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>>
>>
>>
>>
>> On 7 Jun 2014, at 15:05, Edward Costello wrote:
>>
>>> Hi,
>>>
>>> Would it be possible to make it so you can specify your own callbacks for the csound PNaCl module. This way functions like moduleDidLoad wouldn't need to be in global scope, these could be methods as part of a csound controller object instead.
>>> Ed
>>> Sent from my iPhone
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and their
>>> applications. Written by three acclaimed leaders in the field,
>>> this first edition is now available. Download your free book today!
>>> http://p.sf.net/sfu/NeoTech
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/NeoTech
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |