More documentation!

This commit is contained in:
Sasha Koshka
2023-02-09 15:05:13 -05:00
parent 2cd670f4cd
commit b38232ee24
6 changed files with 19 additions and 2 deletions

View File

@@ -2,6 +2,6 @@
// interfaces without having to duplicate a ton of code. Each "core" is a type
// that can be embedded into an element directly, working to fulfill a
// particular interface. Each one comes with a corresponding core control, which
// provides an interface for elements to exert control over the core. They
// should be kept private.
// provides an interface for elements to exert control over the core. Core
// controls should be kept private.
package core

View File

@@ -0,0 +1,4 @@
// Package music provides types relating to music theory and the math behind it.
// It is used in the fun.Piano element, and in the piano example to generate
// pitches from notes.
package music

View File

@@ -43,6 +43,7 @@ const (
NoteBb0
NoteB0
// nice
NoteA4 Note = 69
)