mirror of
https://github.com/kennethreitz/kennethreitz.org.git
synced 2026-06-05 22:50:17 +00:00
Add pytheory play CLI example to blog post
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+3
@@ -267,6 +267,9 @@ play(c, temperament="pythagorean", synth=Synth.SAW)
|
||||
Because sometimes you just want a quick answer without writing a script:
|
||||
|
||||
```bash
|
||||
# Play a C major chord
|
||||
$ pytheory play C4 E4 G4
|
||||
|
||||
# What's in the key of D major?
|
||||
$ pytheory key D major
|
||||
|
||||
|
||||
Reference in New Issue
Block a user