Evaluate square wave sample.
a sound object which parameters are used to discretize a sample
sample index
signal frequency in Hz
See Implementation
Evaluate square wave sample.