sonic-pi-net / sp_midi Goto Github PK
View Code? Open in Web Editor NEWMIDI functionality for Sonic Pi for use as Erlang module
License: Other
MIDI functionality for Sonic Pi for use as Erlang module
License: Other
So that it is possible to filter out some messages, like midi clock.
I'll flag this as I haven't been able to resolve it. The package builds and works fine on latest Raspberry Pi OS 64bit, but has a run time error on latest Raspberry Pi 32bit OS (which is the predominant one in use at present)
The error is shown in the Sonic Pi erlang log.
The on_load function for module sp_midi returned:
{error,{load_failed,"Failed to load NIF library: '/home/pi/Downloads/sonic-pi/app/server/erlang/sonic_pi_server/priv/libsp_midi.so: undefined symbol: __atomic_fetch_xor_8'"}}
I think I've found the solution. You need to link atomic in to the target_link_libraries for the armhf platform to build properly. I have it building and working changing the line
target_link_libraries(target_link_libraries(libsp_midi oscpack)
to
target_link_libraries(libsp_midi oscpack atomic)
I think the formal solution should probably include a platform test, as I don;t think yould want this on a Mac for example.
It works ok on Windows and Linux.
Need to send the mac_midi_reproducer to the juce team and ask for advice.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.