Skip to content

Commit 69849c1

Browse files
authored
Merge branch 'master' into python-built-in-functions
2 parents 58ff379 + 53c2052 commit 69849c1

File tree

149 files changed

+16903
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+16903
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Build a Guitar Synthesizer: Play Musical Tablature in Python
2+
3+
This folder contains the source code and resources for the Real Python tutorial [Build a Guitar Synthesizer: Play Musical Tablature in Python](https://realpython.com/python-guitar-synthesizer/).
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Digitar
2+
3+
A digital guitar and a tablature player.
4+
5+
## Installation
6+
7+
Install the project along with its dependencies into a virtual environment managed by Poetry:
8+
9+
```sh
10+
$ poetry install
11+
```
12+
13+
## Usage
14+
15+
Activate the project's virtual environment:
16+
17+
```sh
18+
$ poetry shell
19+
```
20+
21+
Change directory to the `demo/` subfolder and run the sample scripts:
22+
23+
```sh
24+
(digitar-py3.12) $ cd demo/
25+
(digitar-py3.12) $ python play_chorus.py
26+
(digitar-py3.12) $ python play_diablo.py
27+
```
28+
29+
Read the tablature from the custom YAML file format:
30+
31+
```sh
32+
$ play-tab tabs/doom.yaml
33+
Saved file /home/user/digital-guitar/demo/doom.mp3
34+
35+
$ play-tab tabs/foggy-mountain-breakdown.yaml -o foggy.mp3
36+
Saved file /home/user/digital-guitar/demo/foggy.mp3
37+
```
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Impulse Responses
2+
3+
1. Acoustic Guitar
4+
- File: `Tay816 M251 SB1.wav`
5+
- URL: https://worshiptutorials.com/product/acoustic-ir-sample-pack/
6+
7+
2. Banjo
8+
- File: `IR_5_string_banjo_dazzo_IR44k.wav`
9+
- URL: https://acousticir.free.fr/spip.php
10+
11+
3. Bass Guitar
12+
- File: `Holy Grail C800 SB1.wav`
13+
- https://worshiptutorials.com/product/acoustic-ir-sample-pack/
14+
15+
4. Electric Guitar
16+
- File: `Rocksta Reactions Mesa Traditional D6 D 0 -18 -36.wav`
17+
- URL: https://www.soundwoofer.se/blog/about/top-20-list/
18+
19+
5. Ukulele
20+
- File: `AtlasV2.wav`
21+
- URL: https://liveukulele.com/lessons/plug-in/impulse-response-tutorial/
Binary file not shown.
6.04 KB
Binary file not shown.
65.9 KB
Binary file not shown.
37.7 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)