L'éditeur exécute des pièces sous forme de fichiers.csd incluant une balise <html> ou sous forme de fichiers.html appelant l'objet csound, et il fournit des fonctions de débogage de JavaScript.
The editor will run pieces either as.csd files with embedded <html> or as.html files calling the csound object, and includes JavaScript debugging.
Le code Javascript de cette page aura accès à un objet csound global qui implémente les fonctions suivantes qui forment un sous-ensemble de l'API de Csound.
JavaScript code in this page will have access to a global csound object that implements the following functions, which are a selected subset of the Csound API.
De plus, chaque fonction nécessite maintenant un pointeur sur un objet CSOUND en premier argument.
In addition, each function now requires a pointer to a CSOUND object as its first argument.
La structure de l'objet CSOUND n'a pas d'importance (en fait il ne peut pas être modifié dans un programme utilisateur).
The structure of the CSOUND object is unimportant (and indeed cannot be modified in a user program).
Cette fonction cscore() reçoit un argument de cscormai.c ou de Csound - CSOUND *cs - qui est un pointeur sur un objet Csound.
This cscore() function receives one argument from cscormai.c or Csound - CSOUND *cs - which is a pointer to a Csound object.
Le moyen d'obtenir ce pointeur sur un objet CSOUND sera montré dans la section suivante.