mirror of
https://github.com/kennethreitz/kennethreitz.org.git
synced 2026-06-05 22:50:17 +00:00
Add pytheory play Cmaj7 example with output
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+6
@@ -270,6 +270,12 @@ Because sometimes you just want a quick answer without writing a script:
|
||||
# Play a C major chord
|
||||
$ pytheory play C4 E4 G4
|
||||
|
||||
# Play a chord by name
|
||||
$ pytheory play Cmaj7
|
||||
Playing: C major 7th (C4 E4 G4 B4)
|
||||
Synth: sine
|
||||
Duration: 1000 ms
|
||||
|
||||
# What's in the key of D major?
|
||||
$ pytheory key D major
|
||||
|
||||
|
||||
Reference in New Issue
Block a user