-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4e78e0
commit 311bd77
Showing
29 changed files
with
943 additions
and
387 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
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 was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
docs/content/get_started/clock_tempo.md → .../get_started/long_tutorial/clock_tempo.md
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
23 changes: 23 additions & 0 deletions
23
docs/content/get_started/long_tutorial/global_parameters.md
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,23 @@ | ||
--- | ||
title: 4) Global Parameters | ||
tag: get_started, tutorial | ||
--- | ||
|
||
## Global scale | ||
|
||
The default scale when you start the program is the natural minor scale. The default root note is `60`. You can change the default scale and root note used by the [Pnote](/reference/patterns/note) object by tweaking the `G`([GlobalConfig](/reference/global_config)) object: | ||
|
||
```python | ||
G.root = 40 | ||
G.scale = SCALES.dorian | ||
``` | ||
|
||
## Local scale | ||
|
||
Of course, you can also change these values only for the sequence itself without altering the grand scheme of things: | ||
|
||
```python | ||
p1 >> note( | ||
note=Pn("0 2 4 0 3 5 0 1 3", root=40, scale=SCALES.dorian), | ||
) | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: Detailed Tutorial | ||
tag: get_started, tutorial | ||
--- |
Oops, something went wrong.