File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const FS: number = 44100; // Output sample rate
2626const fourier_expansion_level : number = 5 ; // fourier expansion level
2727/**
2828 * duration of recording signal in milliseconds
29- */
29+ */
3030const recording_signal_ms = 100 ;
3131/**
3232 * duration of pause after "record" before recording signal is played
@@ -174,7 +174,7 @@ export function init_record(): string {
174174 * Records a sound until the returned stop function is called.
175175 * Takes a buffer duration (in seconds) as argument, and
176176 * returns a nullary stop. A call to the stop function returns a Sound promise.
177- *
177+ *
178178 * How the function behaves in detail:
179179 * 1. `record` is called.
180180 * 2. The function waits for the given buffer duration.
@@ -231,14 +231,14 @@ export function record(buffer: number): () => SoundPromise {
231231
232232/**
233233 * Records a sound of a given duration. Returns a Sound promise.
234- *
234+ *
235235 * How the function behaves in detail:
236236 * 1. `record_for` is called.
237237 * 2. The function waits for the given buffer duration.
238238 * 3. The recording signal is played.
239239 * 4. Recording begins when the recording signal finishes.
240240 * 5. The recording signal plays to signal the end after the given duration.
241- *
241+ *
242242 * @example
243243 * ```
244244 * init_record();
You can’t perform that action at this time.
0 commit comments