https://github.com/svish/transposer
For transposing simple songs written as plain text with chords above the lyrics.
https://github.com/svish/transposer
chords lyrics php songs transposing
Last synced: 8 months ago
JSON representation
For transposing simple songs written as plain text with chords above the lyrics.
- Host: GitHub
- URL: https://github.com/svish/transposer
- Owner: Svish
- Created: 2013-03-06T20:22:52.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2021-09-27T22:16:09.000Z (almost 5 years ago)
- Last Synced: 2024-08-18T21:16:03.064Z (almost 2 years ago)
- Topics: chords, lyrics, php, songs, transposing
- Language: PHP
- Homepage:
- Size: 18.6 KB
- Stars: 13
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Introduction
===
For transposing simple songs written as plain text with chords above the lyrics.
Install
---
If you're using [Composer](http://getcomposer.org), which you really should, simply require the package
[geekality/transposer](https://packagist.org/packages/geekality/transposer) in your `composer.json`. Otherwise download
and include as per usual :)
"require":
{
"geekality/transposer": "1.*",
},
Example usage
---
// song.php
$text = <<transpose($_GET['key']);
echo $song->get_key_selector('song.php?key=');
echo $song;
For an example with chorus and simple css styling, see [sample.php](sample/sample.php).
License
===
This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit [Creative Commons Attribution 3.0 Unported License](http://creativecommons.org/licenses/by/3.0/).
