Add: braille functions

This commit is contained in:
Kujiu 2024-04-30 20:52:25 +02:00
parent 920a72556e
commit c5f633e12a
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
3 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/usr/bin/env fish
#
function brf_to_unicode -d "convert music brf files to french encoding"
sed -e "s/\\\\/\\\\\\\\/" $argv | lou_translate language:en dots:6
end

View file

@ -0,0 +1,6 @@
#!/usr/bin/env fish
#
function musicbrf_to_fr -d "convert music brf files to french table"
sed -e "s/\\\\/\\\\\\\\/" $argv | lou_translate language:en dots:6 | lou_translate fr-bfu-comp8.utb -b
end

View file

@ -0,0 +1,6 @@
#!/usr/bin/env fish
#
function txt_to_ubrl_fr -d "convert text to unicode braille (french table)"
lou_translate fr-bfu-comp8.utb < $argv
end