{"id":16733249,"url":"https://github.com/krasjet/fretl","last_synced_at":"2025-06-13T19:05:25.032Z","repository":{"id":98566509,"uuid":"286978449","full_name":"Krasjet/fretl","owner":"Krasjet","description":"A command-line fretboard for mirrored (left-handed) guitar and alternative tunings.","archived":false,"fork":false,"pushed_at":"2020-12-30T02:15:40.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T19:04:47.094Z","etag":null,"topics":["c","cli","fretboard","guitar","music-theory"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Krasjet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-12T09:58:35.000Z","updated_at":"2020-12-30T02:15:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf0f864e-ad0b-47f9-a4c7-abb8f82693eb","html_url":"https://github.com/Krasjet/fretl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Krasjet/fretl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krasjet%2Ffretl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krasjet%2Ffretl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krasjet%2Ffretl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krasjet%2Ffretl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Krasjet","download_url":"https://codeload.github.com/Krasjet/fretl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krasjet%2Ffretl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259704410,"owners_count":22898858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cli","fretboard","guitar","music-theory"],"created_at":"2024-10-12T23:49:13.525Z","updated_at":"2025-06-13T19:05:25.006Z","avatar_url":"https://github.com/Krasjet.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"fretl\n=====\n\n       9      8      7      6      5      4      3      2      1      0\n    +--.-------------.-------------.-------------.------------------+\n    |--C#--|------|--B---|------|--A---|--G#--|------|--F#--|------|| E\n    |--G#--|------|--F#--|------|--E---|------|--D---|--C#--|------|| B\n    |--F#--|------|--E---|------|--D---|--C#--|------|--B---|------|| A\n    |--C#--|------|--B---|------|--A---|--G#--|------|--F#--|------|| E\n    |--F#--|------|--E---|------|--D---|--C#--|------|--B---|------|| A\n    |--B---|------|--A---|--G#--|------|--F#--|------|--E---|------|| D\n    +--.-------------.-------------.-------------.------------------+\n\nfretl is a command-line fretboard specifically designed for mirrored (a.k.a.\nleft-handed) guitars.\n\nUnlike most fretboard diagrams you can found online, `fretl`\n\n1. Supports mirrored guitar, since some misfortuned ones learned to reason\n   about notes on guitar the opposite way.\n2. Has first-class support for alternative tunings\n3. Has no assumption about how many strings a guitar should have\n4. Uses unambiguous representation of notes, intervals, and scales, so it can\n   distinguish enharmonic equivalent notes such as C# and Db.\n\nFor example, you could print the notes in A major scale in DAEAC#E tuning up to\n7th fret by\n\n    $ fretl -f7 -rA DAEAC#E \u003c scales/major\n       7      6      5      4      3      2      1      0\n    +--.-------------.-------------.------------------+\n    |--B---|------|--A---|--G#--|------|--F#--|------|| E\n    |--G#--|------|--F#--|------|--E---|------|--D---|| C#\n    |--E---|------|--D---|--C#--|------|--B---|------|| A\n    |--B---|------|--A---|--G#--|------|--F#--|------|| E\n    |--E---|------|--D---|--C#--|------|--B---|------|| A\n    |--A---|--G#--|------|--F#--|------|--E---|------|| D\n    +--.-------------.-------------.------------------+\n\nor alternatively display in scale degrees.\n\n    $ fretl -d -f7 -rA DAEAC#E \u003c scales/major\n       7      6      5      4      3      2      1      0\n    +--.-------------.-------------.------------------+\n    |--2---|------|--1---|--7---|------|--6---|------|| 5\n    |--7---|------|--6---|------|--5---|------|--4---|| 3\n    |--5---|------|--4---|--3---|------|--2---|------|| 1\n    |--2---|------|--1---|--7---|------|--6---|------|| 5\n    |--5---|------|--4---|--3---|------|--2---|------|| 1\n    |--1---|--7---|------|--6---|------|--5---|------|| 4\n    +--.-------------.-------------.------------------+\n\nCapo is also supported via the `-c` flag.\n\n    $./fretl -c3 -f7 -rC DAEABE \u003c scales/major\n       7      6      5      4      3      2      1      0\n    +---------.-------------.-------------.-----------+\n    |--D---|------|--C---|--B---|------|--A---|------|| G\n    |--A---|------|--G---|------|--F---|--E---|------|| D\n    |--G---|------|--F---|--E---|------|--D---|------|| C\n    |--D---|------|--C---|--B---|------|--A---|------|| G\n    |--G---|------|--F---|--E---|------|--D---|------|| C\n    |--C---|--B---|------|--A---|------|--G---|------|| F\n    +---------.-------------.-------------.-----------+\n\nYou could also pass in other scales as well.\n\n    $ fretl -f7 -rD CFCFAC \u003c scales/minor\n       7      6      5      4      3      2      1      0\n    +--.-------------.-------------.------------------+\n    |--G---|------|--F---|--E---|------|--D---|------|| C\n    |--E---|------|--D---|------|--C---|------|--Bb--|| A\n    |--C---|------|--Bb--|--A---|------|--G---|------|| F\n    |--G---|------|--F---|--E---|------|--D---|------|| C\n    |--C---|------|--Bb--|--A---|------|--G---|------|| F\n    |--G---|------|--F---|--E---|------|--D---|------|| C\n    +--.-------------.-------------.------------------+\n\nNote that you don't need to specify which accidental to use. This is taken care\nof automatically.\n\nBuild\n-----\n\nfretl is written in C99. Make sure you have a C99 compatible C compiler to\nbuild this program.\n\nSince I separated the parsing and processing of music notes and intervals into\nseparate libraries, you first need to update submodules by\n\n    $ git submodule update --init --recursive\n\nThen use `make` to compile and install it to system:\n\n    $ make\n    # make install\n\nYou could also use the `PREFIX` option to install for current user only:\n\n    $ make PREFIX=~/.local install\n\nFurther reading\n---------------\n\nSee\n\n    $ man 1 fretl\n\nfor the explanation of each option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrasjet%2Ffretl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrasjet%2Ffretl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrasjet%2Ffretl/lists"}