The script is simply the body of a C# method with access to a special object called SID.  SID exposes these interfaces (all return void):

SID.Volume(byte vol)
	Sets the volume

SID.Frequency(byte voice, uint value)
	Set the frequency of a voice.

SID.PulseWidth(byte voice, uint value)
	Sets the pulse width of a voice.

SID.ADSR(byte voice, byte attack, byte decay, byte sustain, byte release)
	Sets the ADSR envelope for a voice.

[FLAGS]
enum ControlFlag
{
	NOISE, PULSE, SAW, TRIANGLE,
	TEST, RING, SYNC, GATE, NONE
};
	
SID.Control(byte voice, ControlFlag flags)
	Sets the control register flag for voice.  ControlFlag values can be ORed together.

SID.Cutoff(uint value)
	Sets the cutoff value for the filter.

SID.Resonance(byte value)
	Sets the filter resonance value

[FLAGS]
enum FilterFlag
{
	OFF3, HP, BP, LP,
	EXT, V3, V2, V1, NONE
};
	
SID.Filter(FilterFlag flags)
	Sets the control register flag for filtering.  FilterFlag values can be ORed together.