No project description provided
Project description
# transposer
**transposer** helps musicians by transposing the chords of a song.
## Basic usage example
```bash
python transposer.py mySong.txt G Bb # transposes the song mySong for G to B-flat
```
For instance, let's take the file `lost-in-the-stars.txt` :
```
Before Lord God made the sea and the land,
G G° A-7sus D D+
He held all the stars in the palm of his hand
G6/B E7b9 A-7 A-7b5
```
You can use transposer to transpose this song in any tone you like, for instance :
```bash
python transposer.py lost-in-the-stars.txt G F# # transposes lost-in-the-stars from G to F sharp
```
You can then find in the newly created file (lost-in-the-stars.transposed.txt) :
```
Before Lord God made the sea and the land,
F# F#° G#-7sus C# C#+
He held all the stars in the palm of his hand
F#6/A# D#7b9 G#-7 G#-7b5
```
_These are the first bars of Kurt Weill's [Lost in the Stars](https://www.youtube.com/watch?v=6xJ1u920c2o)_
## File format
Since chord lines are auto-detected, you can structure your file as you wish, though each line must be only text or only chords (not a mix of both).
## About the harmony
**transposer** tries to follow as much as possible harmonic rules (eg. Cb instead of B when necessary). These are defined in the destination scale : for instance, if you want to transpose a song to Db, then the 3rd note of the minor scale is Fb and not E. You don't need your original file to follow these rules for this to work.
However, in [traditional notation of the chords in popular music](<https://en.wikipedia.org/wiki/Chord_names_and_symbols_(popular_music)>), we avoid writing double-flat (bb) and double-sharp (x) for the sake of readability. Here, when they should appear to be perfectly correct in terms of harmony, the double-flat and double-sharp are transposed to their most simple equivalent.
**transposer** helps musicians by transposing the chords of a song.
## Basic usage example
```bash
python transposer.py mySong.txt G Bb # transposes the song mySong for G to B-flat
```
For instance, let's take the file `lost-in-the-stars.txt` :
```
Before Lord God made the sea and the land,
G G° A-7sus D D+
He held all the stars in the palm of his hand
G6/B E7b9 A-7 A-7b5
```
You can use transposer to transpose this song in any tone you like, for instance :
```bash
python transposer.py lost-in-the-stars.txt G F# # transposes lost-in-the-stars from G to F sharp
```
You can then find in the newly created file (lost-in-the-stars.transposed.txt) :
```
Before Lord God made the sea and the land,
F# F#° G#-7sus C# C#+
He held all the stars in the palm of his hand
F#6/A# D#7b9 G#-7 G#-7b5
```
_These are the first bars of Kurt Weill's [Lost in the Stars](https://www.youtube.com/watch?v=6xJ1u920c2o)_
## File format
Since chord lines are auto-detected, you can structure your file as you wish, though each line must be only text or only chords (not a mix of both).
## About the harmony
**transposer** tries to follow as much as possible harmonic rules (eg. Cb instead of B when necessary). These are defined in the destination scale : for instance, if you want to transpose a song to Db, then the 3rd note of the minor scale is Fb and not E. You don't need your original file to follow these rules for this to work.
However, in [traditional notation of the chords in popular music](<https://en.wikipedia.org/wiki/Chord_names_and_symbols_(popular_music)>), we avoid writing double-flat (bb) and double-sharp (x) for the sake of readability. Here, when they should appear to be perfectly correct in terms of harmony, the double-flat and double-sharp are transposed to their most simple equivalent.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chordstransposer-0.1.tar.gz
(3.1 kB
view hashes)