From 5337a0cd3ce76253e5b780e15b9e5b0aff8fc000 Mon Sep 17 00:00:00 2001 From: nucular Date: Sat, 5 Mar 2016 20:27:09 +0100 Subject: [PATCH] More documentation stuff --- doc/api/sfxr.html | 14 +++++++------- doc/index.html | 14 +++++++------- sfxr.lua | 10 +++++----- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/doc/api/sfxr.html b/doc/api/sfxr.html index 3eb434c..8f21c1b 100644 --- a/doc/api/sfxr.html +++ b/doc/api/sfxr.html @@ -56,7 +56,7 @@ - +
newSound (...)The constructor for the Sound class.Construct and return a new Sound instance.

Tables

@@ -387,7 +387,7 @@ y_Sustain_Release_.28ADSR.29_envelope">ASD envelope that controls the sound newSound (...)
- The constructor for the Sound class. + Construct and return a new Sound instance.

Parameters:

@@ -425,16 +425,16 @@ y_Sustain_Release_.28ADSR.29_envelope">ASD envelope that controls the sound

Fields:

@@ -1674,7 +1674,7 @@ y_Sustain_Release_.28ADSR.29_envelope">ASD envelope that controls the sound
generated by LDoc 1.4.3 -Last updated 2016-03-05 20:16:35 +Last updated 2016-03-05 20:26:21
diff --git a/doc/index.html b/doc/index.html index d5577d6..1216d07 100644 --- a/doc/index.html +++ b/doc/index.html @@ -56,7 +56,7 @@ - +
newSound (...)The constructor for the Sound class.Construct and return a new Sound instance.

Tables

@@ -387,7 +387,7 @@ y_Sustain_Release_.28ADSR.29_envelope">ASD envelope that controls the sound newSound (...)
- The constructor for the Sound class. + Construct and return a new Sound instance.

Parameters:

@@ -425,16 +425,16 @@ y_Sustain_Release_.28ADSR.29_envelope">ASD envelope that controls the sound

Fields:

@@ -1674,7 +1674,7 @@ y_Sustain_Release_.28ADSR.29_envelope">ASD envelope that controls the sound
generated by LDoc 1.4.3 -Last updated 2016-03-05 20:16:35 +Last updated 2016-03-05 20:26:21
diff --git a/sfxr.lua b/sfxr.lua index c5559e7..df68d61 100644 --- a/sfxr.lua +++ b/sfxr.lua @@ -32,10 +32,10 @@ local bit = bit32 or require("bit") sfxr.VERSION = "0.0.2" --- [Waveform](https://en.wikipedia.org/wiki/Waveform) constants --- @field SQUARE square wave (`= 0`) --- @field SAW saw wave (`= 1`) --- @field SINE sine wave (`= 2`) --- @field NOISE white noise (`= 3`) +-- @field SQUARE [square wave](https://en.wikipedia.org/wiki/Square_wave) (`= 0`) +-- @field SAW [saw wave](https://en.wikipedia.org/wiki/Sawtooth_wave) (`= 1`) +-- @field SINE [sine wave](https://en.wikipedia.org/wiki/Sine_wave) (`= 2`) +-- @field NOISE [white noise](https://en.wikipedia.org/wiki/White_noise) (`= 3`) sfxr.WAVEFORM = { SQUARE = 0, [0] = 0, @@ -225,7 +225,7 @@ local function unpackIEEE754(packed) return math.ldexp(mantissa, exponent - 0x7F) end ---- The constructor for the Sound class. +--- Construct and return a new @{Sound} instance. -- @treturn Sound a Sound instance function sfxr.newSound(...) local instance = setmetatable({}, sfxr.Sound)