-
Notifications
You must be signed in to change notification settings - Fork 6
Changing the Canute's BRF ASCII encoding
The Canute uses the The North American Braille ASCII Code (AKA Braille ASCII) when reading BRF files. This Braille code can be used for any six dot Braille code and language, and most transcription software can be set to output into this format, which is what we recommend for Canute users to do whenever possible.
This maps the following ASCII characters in BRF:
A1B'K2L@CIF/MSP"E3H9O6R^DJG>NTQ,*5<-U8V.%[$+X!&;:4\0Z7(_?W]#Y)=
... To the following Braille symbols:
⠀⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊⠋⠌⠍⠎⠏⠐⠑⠒⠓⠔⠕⠖⠗⠘⠙⠚⠛⠜⠝⠞⠟⠠⠡⠢⠣⠤⠥⠦⠧⠨⠩⠪⠫⠬⠭⠮⠯⠰⠱⠲⠳⠴⠵⠶⠷⠸⠹⠺⠻⠼⠽⠾⠿
However if you have a lot of pre-transcribed books which use a different BRF encoding then it is possible to adjust the Canute's Open Sourced code to accomodate this. The source for the file in question can be found here, line 117:
https://github.com/Bristol-Braille/canute-ui/blob/master/ui/braille.py#L117
Please note that changing that line will change how Canute interprets every BRF file. To make Canute interpret different sorts of BRF files as different Braille ASCII codes is a much larger job.
See Making changes to the Canute's software for how to load these changes onto the Canute itself.