Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Audio.begin(rate, size);

#### Parameters

rate (int) : the sample rate of the sound file. If stereo, double the rate (ex. 44100Khz stereo = 88200).
rate (int) : the sample rate of the sound file. If stereo, double the rate (ex. 44100 Hz stereo = 88200).

size (int) : the size of the audio buffer in milliseconds.

Expand Down Expand Up @@ -61,7 +61,7 @@ void setup()
// hi-speed SPI transfers
SPI.setClockDivider(4);

// 44100Khz stereo => 88200 sample rate
// 44100 Hz stereo => 88200 sample rate
// 100 mSec of prebuffering.
Audio.begin(88200, 100);
}
Expand Down Expand Up @@ -168,7 +168,7 @@ void setup()
// hi-speed SPI transfers
SPI.setClockDivider(4);

// 44100Khz stereo => 88200 sample rate
// 44100 Hz stereo => 88200 sample rate
// 100 mSec of prebuffering.
Audio.begin(88200, 100);
}
Expand Down Expand Up @@ -273,7 +273,7 @@ void setup()
// hi-speed SPI transfers
SPI.setClockDivider(4);

// 44100Khz stereo => 88200 sample rate
// 44100 Hz stereo => 88200 sample rate
// 100 mSec of prebuffering.
Audio.begin(88200, 100);
}
Expand Down