Skip to content

Commit a683697

Browse files
authored
Fixed two typos in dfpwm.lua (#2272)
1 parent 9e233a9 commit a683697

File tree

1 file changed

+2
-2
lines changed
  • projects/core/src/main/resources/data/computercraft/lua/rom/modules/main/cc/audio

1 file changed

+2
-2
lines changed

projects/core/src/main/resources/data/computercraft/lua/rom/modules/main/cc/audio/dfpwm.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Convert between streams of DFPWM audio data and a list of amplitudes.
88
DFPWM (Dynamic Filter Pulse Width Modulation) is an audio codec designed by GreaseMonkey. It's a relatively compact
99
format compared to raw PCM data, only using 1 bit per sample, but is simple enough to encode and decode in real time.
1010
11-
Typically DFPWM audio is read from [the filesystem][`fs.ReadHandle`] or a [a web request][`http.Response`] as a string,
12-
and converted a format suitable for [`speaker.playAudio`].
11+
Typically DFPWM audio is read from [the filesystem][`fs.ReadHandle`] or [a web request][`http.Response`] as a string,
12+
and converted to a format suitable for [`speaker.playAudio`].
1313
1414
## Encoding and decoding files
1515
This module exposes two key functions, [`make_decoder`] and [`make_encoder`], which construct a new decoder or encoder.

0 commit comments

Comments
 (0)