Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* sound: move Pipe function to top of pipe.go This is to make the more important code (e.g. exported identifiers) be higher up, similar to how Discard is above discard in sink.go * sound: add trailing period after Source doc comment * sound: remove receiver name from discard as its not used * sound: add .gitignore to ignore generated WAV files * sound: clarify some comments * sound: consistent use of channel form comments Single channel and 2-channel vs. mono-channel and stero. Now MonoCd and MonoDvd have the same usage, as do StereoCd and StereoDvd * sound/freq: use switch to increase readability of freq.T.String Also, remove unnecessary else blocks; i.e. change: if foo { return bar } else { return baz } To: if foo { return bar } return baz * sound/freq: fix typo in RadsPerAt comment and update T comment * sound/gen: add trailing dot in package doc comment * sound/sample: fix minor typo
- Loading branch information
Showing
9 changed files
with
41 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gen/*.wav |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// Copyright 2018 The ZikiChomgo Authors. All rights reserved. Use of this source | ||
// code is governed by a license that can be found in the License file. | ||
|
||
// Package gen provides audio generators | ||
// Package gen provides audio generators. | ||
package gen /* import "zikichombo.org/sound/gen" */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters