Code Review Request (about gen_statem controlling access to a port opened for a FluidSynth)

As a means of learning Erlang, I have created a module that implements gen_statem controlling access to a port opened for a FluidSynth command.

If anyone would be so kind as to review the module and give any feedback, such as things I am doing the hard way, etc., it would be much appreciated.

I have written up a Gist here:

https://gist.github.com/EarthCitizen/b24efc85e815d77bd81ae51f677ede8f

Comment here or in the Gist. Either way is OK for me.

Thank you!

1 Like

I added a bunch of notes: gen_statem Wrapper for FluidSynth MIDI Software Synth · GitHub

2 Likes

I commented on your comments :smile:

1 Like