I think your best option is to write a small program to implement exactly the changes you want.

Python or Perl would be ideal.

I am not aware of any software designed to perform substitution operations on BRF files, other than BRF editors. However, I assume you want to automate it. If so, then you need to write code. Alternatively, load it into a text editor and use search/replace. Good text editors can do regular expression matching.

On 5/11/25 17:17, Jeanette C. wrote:
Hey hey,
I'm sorry, since this doesn't strictly belong here, but I didn't know where else to turn.

I have a .brf (Braille ready file) containing musical notes. Choosing the brf text table with BRLTTY gives a good/proper representation. But mostly I need to work with my own text table, namely de (German).

Using either brltty or the liblouis tool - or any other open source tool - is there a ready-made tool to convert such files into either the unicode braille pattern characters or mapping the characters from the file to proper representations in German?

One example: a comma (,) in a .brf file is used to represent a capitalisation. In US printed braille this is dot 6, in German it would be dots 4 and 6. So it could be converted to the braille patterns of either or mapped to the German braille table an apostrophe ('), which is dot 6 or a dollar sign ($), which is dots 4 and 6.

Any help is appreciated. I know, I could write a Python program performing this with relative ease, but I'd rather check for an existing solution first. :)

Best wishes,

Jeanette

--
 * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
 * GitHub: https://github.com/jeanette-c
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to