d0lfyn / 20210303-polyphony Goto Github PK
View Code? Open in Web Editor NEWIdeate. Compose. Perform.
License: MIT License
Ideate. Compose. Perform.
License: MIT License
I'm interested in experimenting with this polyphony project, but as the title describes: I get the following error when attempting to load and run the polyphony script according to the readme:
`"Thread death! undefined method `note' for Polyphony::Settings:Module"`
/Users/ethan/repos/20210303-polyphony/settings.rb:20:in `<module:Settings>'
/Users/ethan/repos/20210303-polyphony/settings.rb:5:in `<module:Polyphony>'
/Users/ethan/repos/20210303-polyphony/settings.rb:1:in `<top (required)>'
/Users/ethan/repos/20210303-polyphony/polyphony.rb:21:in `load'
/Users/ethan/repos/20210303-polyphony/polyphony.rb:21:in `block in <top (required)>'
/Users/ethan/repos/20210303-polyphony/polyphony.rb:20:in `each'
/Users/ethan/repos/20210303-polyphony/polyphony.rb:20:in `<top (required)>'
This is with v0.4.1, using a Sonic Pi dev build based on v4.0-beta-4, Ruby 2.7.2.
Any ideas about how to fix it?
Hi! Awesome work. Looking forward to learn a lot from you :)
As a friendly suggestion I think you could use require_relative, modules and include instead of eval_file in your project.
Check out Petal extension for Sonic Pi (https://github.com/siaflab/petal). Petal has a really nice project structure and i personally learned a lot from it.
I used similar project structure in my project Ziffers (https://github.com/amiika/ziffers), but its more hacky and not very rubular.
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.