Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/berquerant/crd
Generate a midi file from chords.
https://github.com/berquerant/crd
go midi
Last synced: about 2 months ago
JSON representation
Generate a midi file from chords.
- Host: GitHub
- URL: https://github.com/berquerant/crd
- Owner: berquerant
- License: mit
- Created: 2021-12-23T15:38:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-09T09:09:38.000Z (about 2 months ago)
- Last Synced: 2024-12-09T10:22:42.648Z (about 2 months ago)
- Topics: go, midi
- Language: Go
- Homepage:
- Size: 308 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crd
``` shell
❯ crd
text2midiUsage:
crd [command]Available Commands:
completion Generate the autocompletion script for the specified shell
gen generate codes and files
help Help about any command
info show definitions
midi midi util
text text processor
write write midiFlags:
--attr strings additional attribute definitions
--chord strings additional chord definitions
--debug enable debug
-h, --help help for crd
-o, --output string output fileUse "crd [command] --help" for more information about a command.
```## Examples
``` shell
❯ crd text conv --help
convert text to yamlSpaces, newlines, any text between ; and a newline are ignored.
Syntax details: input/ast/chords.y.Examples:
# C triad, 1 beat
C[1]
# Bb minor triad, 2 beats
Bbm[2]
# D A7/E E Rest (D major)
# '_' is required when chord symbol is a number
echo 'D[1] A_7/E[1] E[2] R[1]' | crd text conv syllable --key D | crd write midi -o out.midi
```See [examples](example/example_test.go).
## Build
``` shell
./task build
```