Skip to content

Commit 8bb3a25

Browse files
clarify sample_max negative limit
1 parent 43371a2 commit 8bb3a25

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cedargrove_wavebuilder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ class WaveBuilder:
6060
:param integer table_length: The number of samples contained in the
6161
resultant waveform table. No default.
6262
:param integer sample_max: The maximum positive value of a sample,
63-
limited to a signed 16-bit integer value (0 to 32767). Default is 32767.
63+
limited to a signed 16-bit integer value (0 to 32767). The maximum
64+
negative value will be derived from this value. Default is 32767.
6465
:param float lambda_factor: The number of fundamental oscillator
6566
wavelengths per wave table, useful to improve waveform rendering when
6667
an oscillator with a much higher frequency than the fundamental is

0 commit comments

Comments
 (0)