Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

message()

Prints the provided text to the sampler's terminal. This function is merely for script development and debugging purposes.

Function Prototype

message(text)

Arguments

Argument Name Data Type Description
text String The text to be printed to the terminal.
[required]

Return Value

None.

Examples

The message() function is not appropriate for being used with your final production sounds, since it can lead to audio dropouts. You should only use the message() function to try out things, and to spot and debug problems with your scripts. Same applies to all text string variables in general. Don't use any string variables in your final production sounds. You may use preprocessor statements to handle this effectively.
Document Updated:  2016-07-09  |  Author:  Christian Schoenebeck