@@ -114,7 +114,7 @@ Sound Effects **V2**
114114====================
115115
116116.. py :class ::
117- SoundEffect(freq_start=500, freq_end=2500, duration=500, vol_start=255, vol_end=0, wave=WAVE_SQUARE , fx=FX_NONE, shape=SHAPE_LOG)
117+ SoundEffect(freq_start=500, freq_end=2500, duration=500, vol_start=255, vol_end=0, waveform=WAVEFORM_SQUARE , fx=FX_NONE, shape=SHAPE_LOG)
118118
119119 An ``SoundEffect `` instance represents a sound effect, composed by a set of
120120 parameters configured via the constructor or attributes.
@@ -129,9 +129,10 @@ Sound Effects **V2**
129129 :param duration: Duration of the sound (ms), default: ``500 ``
130130 :param vol_start: Start volume value, range 0-255, default: ``255 ``
131131 :param vol_end: End volume value, range 0-255, default: ``0 ``
132- :param wave: Type of wave shape, one of these values: ``WAVE_SINE ``,
133- ``WAVE_SAWTOOTH ``, ``WAVE_TRIANGLE ``, ``WAVE_SQUARE ``,
134- ``WAVE_NOISE `` (randomly generated noise). Default: ``WAVE_SQUARE ``
132+ :param waveform: Type of waveform shape, one of these values:
133+ ``WAVEFORM_SINE ``, ``WAVEFORM_SAWTOOTH ``, ``WAVEFORM_TRIANGLE ``,
134+ ``WAVEFORM_SQUARE ``, ``WAVEFORM_NOISE `` (randomly generated noise).
135+ Default: ``WAVEFORM_SQUARE ``
135136 :param fx: Effect to add on the sound, one of the following values:
136137 ``FX_TREMOLO ``, ``FX_VIBRATO ``, ``FX_WARBLE ``, or ``FX_NONE ``.
137138 Default: ``FX_NONE ``
@@ -165,11 +166,11 @@ Sound Effects **V2**
165166
166167 End volume value, a number between ``0 `` and ``255 ``.
167168
168- .. py :attribute :: wave
169+ .. py :attribute :: waveform
169170
170- Type of wave shape, one of these values: ``WAVE_SINE ``,
171- ``WAVE_SAWTOOTH ``, ``WAVE_TRIANGLE ``, ``WAVE_SQUARE ``,
172- ``WAVE_NOISE `` (randomly generated noise).
171+ Type of waveform shape, one of these values: ``WAVEFORM_SINE ``,
172+ ``WAVEFORM_SAWTOOTH ``, ``WAVEFORM_TRIANGLE ``, ``WAVEFORM_SQUARE ``,
173+ ``WAVEFORM_NOISE `` (randomly generated noise).
173174
174175 .. py :attribute :: fx
175176
@@ -193,7 +194,7 @@ For example, with the :doc:`REPL </devguide/repl>` you can inspect the
193194default SoundEffects::
194195
195196 >>> print(audio.SoundEffect())
196- SoundEffect(freq_start=500, freq_end=2500, duration=500, vol_start=255, vol_end=0, wave =WAVE_SQUARE, fx=FX_NONE, shape=SHAPE_LOG)
197+ SoundEffect(freq_start=500, freq_end=2500, duration=500, vol_start=255, vol_end=0, waveform =WAVE_SQUARE, fx=FX_NONE, shape=SHAPE_LOG)
197198
198199This format is "human readable", which means it is easy for us to read,
199200and it looks very similar to the code needed to create that SoundEffect,
0 commit comments