Keywords: Blue, Csound

JavaScriptObject
Prev | Sound Objects | Next

### JavaScriptObject

Accepts NoteProcessors: yes

Allows for the use of the JavaScript programming language to create score data. Uses the built-in JavaScript interpreter (Nashorn) to interpret JavaScript scripts.

After writing your script to generate notes, you'll have to bring back into Blue by assigning the variable 'score' the text string of the generated JavaScript score.

#### Example

    [code for generating score]
    ...

    score = myScoreGenerator();

(where myScoreGenerator() is a function that will generate Csound SCO)

Prev | Up | Next
PythonObject | Home | Sound SoundObject