Skip to content

mlang/brlosc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A BrlAPI to OSC bridge

A very simple program to make braille displays available via Open Sound Control.

Building

Create a build directory and point CMake to the location where you cloned this repository:

$ mkdir $(mktemp -d)
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/.local/ /path/to/brlosc
$ make install

Usage

By default, brlosc sends messages to port 57120 and listens on udp port 27500. To change the destination port, pass as first command-line argument. To change the source port, pass as second argument:

$ BrlOSC 57120 27500

With SuperCollider

By cloning the repository inside of your SuperCollider Extensions directory, the provided class should be available automatically:

$ cd ~/.local/share/SuperCollider/Extensions
$ git clone https://github.com/mlang/brlosc

In SuperCollider:

b=BrlOSC({|type, cmd, arg| [type, cmd, arg].postln}, {|err| err.postln});
b.grab;
b.tty;
b.write("Hello from SupoerCollider");
// Pressing braille display keys will print them in the post buffer
b.release;
b.tty;
b.free;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors