-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bernd
committed
Jan 18, 2024
1 parent
9a25413
commit 82fc06b
Showing
39 changed files
with
355 additions
and
140 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# trallala.core.chords.Chord | ||
|
||
::: trallala.core.chords.Chord |
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,3 @@ | ||
# trallala.core.scales.ChromaticScale | ||
|
||
::: trallala.core.scales.ChromaticScale |
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,30 @@ | ||
# Supported musical definitions | ||
|
||
The musical definitions are done specificaly for a defined chromatic scale. | ||
By default (and this is currently the only supported chromatic scale), | ||
`12 equal temperament` is used. | ||
|
||
Additional chromaticscales can be supported by | ||
|
||
1. adding the required definitions to the config files below | ||
2. defining a compatible temperament class for the usage in an | ||
chromatic scale object | ||
|
||
## Intervals | ||
Defined in `trallala/config_intervals.py` | ||
```python | ||
--8<-- "trallala/config_intervals.py" | ||
``` | ||
|
||
## Scales | ||
Defined in `trallala/config_scales.py` | ||
```python | ||
--8<-- "trallala/config_scales.py" | ||
``` | ||
|
||
## Chords | ||
Defined in `trallala/config_chords.py` | ||
```python | ||
--8<-- "trallala/config_chords.py" | ||
``` | ||
|
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
This part of the project documentation focuses on an | ||
**understanding-oriented** approach. You'll get a | ||
chance to read about the background of the project, | ||
as well as reasoning about how it was implemented. | ||
|
||
> **Note:** Expand this section by considering the | ||
> following points: | ||
- Give context and background on your library | ||
- Explain why you created it | ||
- Provide multiple examples and approaches of how | ||
to work with it | ||
- Help the reader make connections | ||
- Avoid writing instructions or technical descriptions | ||
here |
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,3 @@ | ||
# trallala.instruments.guitar.FretBoard | ||
|
||
::: trallala.instruments.guitar.FretBoard |
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,3 @@ | ||
# trallala.instruments.guitar.Guitar | ||
|
||
::: trallala.instruments.guitar.Guitar |
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 @@ | ||
This part of the project documentation focuses on a | ||
**problem-oriented** approach. You'll tackle common | ||
tasks that you might have, with the help of the code | ||
provided in this project. |
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,13 @@ | ||
# Create a chord diagram | ||
|
||
Create a chord diagram with all possible voicings. | ||
|
||
## Code | ||
|
||
``` python | ||
--8<-- "examples/guitar_fretboard_chord_Cmaj_pitchclasses.py" | ||
|
||
``` | ||
|
||
## Result | ||
![Cmaj](img/guitar_fretboard_chord_Cmaj_pitchclasses.svg) |
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,13 @@ | ||
# Create a scale diagram | ||
|
||
Create a scale diagram with all possible positions. | ||
|
||
## Code | ||
|
||
``` python | ||
--8<-- "examples/guitar_fretboard_scale_major_pentatonic_c.py" | ||
|
||
``` | ||
|
||
## Result | ||
![Cmaj](img/guitar_fretboard_scale_major_pentatonic_c.svg) |
File renamed without changes
File renamed without changes
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,17 +1,22 @@ | ||
# Welcome to MkDocs | ||
# Introduction | ||
|
||
For full documentation visit [mkdocs.org](https://www.mkdocs.org). | ||
This site contains the documentation for the `trallala` project. | ||
`trallala` is a library aiming to provide a more | ||
computer science oriented view on music theory. e.g., everything in | ||
`trallala` can work with semitone steps to archieve an array-like access to | ||
and definition of music objects. The usage of intervals is possible but optional. | ||
|
||
## Commands | ||
## Table of Contents | ||
|
||
* `mkdocs new [dir-name]` - Create a new project. | ||
* `mkdocs serve` - Start the live-reloading docs server. | ||
* `mkdocs build` - Build the documentation site. | ||
* `mkdocs -h` - Print help message and exit. | ||
1. [Tutorials](tutorials.md) | ||
2. [Howto Guides](howto.md) | ||
3. [Reference](reference.md) | ||
4. [Explanation](explanation.md) | ||
|
||
## Project layout | ||
## Content | ||
|
||
mkdocs.yml # The configuration file. | ||
docs/ | ||
index.md # The documentation homepage. | ||
examples.md # Other markdown pages, images and other files. | ||
::: trallala | ||
|
||
## Links | ||
1. [Git](https://github.com/bw0x00/music_theory/) | ||
2. [Issues](https://github.com/bw0x00/music_theory/issues) |
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,3 @@ | ||
# trallala.core.intervals.Interval | ||
|
||
::: trallala.core.intervals.Interval |
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 @@ | ||
# trallala.core.notes.Note | ||
|
||
::: trallala.core.notes.Note | ||
|
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 @@ | ||
# trallala.core.notes.PitchClass | ||
|
||
::: trallala.core.notes.PitchClass | ||
|
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 @@ | ||
This part of the project documentation focuses on | ||
an **information-oriented** approach. Use it as a | ||
reference for the technical implementation of the | ||
`calculator` project code. |
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,5 @@ | ||
# trallala.core.scales.Scale | ||
|
||
::: trallala.core.scales.Scale | ||
|
||
|
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,16 @@ | ||
This part of the project documentation focuses on a | ||
**learning-oriented** approach. You'll learn how to | ||
get started with the code in this project. | ||
|
||
> **Note:** Expand this section by considering the | ||
> following points: | ||
- Help newcomers with getting started | ||
- Teach readers about your library by making them | ||
write code | ||
- Inspire confidence through examples that work for | ||
everyone, repeatably | ||
- Give readers an immediate sense of achievement | ||
- Show concrete examples, no abstractions | ||
- Provide the minimum necessary explanation | ||
- Avoid any distractions |
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.
5 changes: 0 additions & 5 deletions
5
examples/guitar_fretboard_all_notes_e-standard_chord_Cmaj.svg
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
examples/guitar_fretboard_all_notes_e-standard_pitchclasses.svg
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.