Comments (8)
wow this is a great find, thank you for noting it here.. i havent moved to 11. i ll get this in soon(ish) i have begun some refactoring and documentation work. I ll pick this up.
from scribbletune.
Not that Im being paid by Ableton (I wish I was), but 11 is great, highly recommend.
from scribbletune.
Maybe its time to retire the scribble.max method alltogether. It is possible to extend Scribbleformax in the following way:
- Abstracting the logic that converts Scribbletune clip to Live format to the Node object
- Writing plain ES15 script and replacing the current APIpass (where max.ts currently resides)
I have recently written this solution for a project of mine, dealing with all the new Live 11 methods and backwards compatibility issues. I can open a PR and extend latest version of Scribbleformax , if you are interested @walmik
from scribbletune.
Sounds great @JanZaion !
from scribbletune.
Cool, Ill get to it sometimes mid Jully
from scribbletune.
Hi @JanZaion I was renaming a few things
- templateAPIPass.js -> api.js
- clip1 -> apiClip
- scribbleObjects -> scribbledClip
Everything worked fine but as soon as i bring in the new version of Scribbletune (v4.1.0), i m facing a weird issue. It just crashes Live anytime I use webpack to build the updated dist/api.js file :/ In v4.1.0 all the scales and chords were abstracted out to a new module I created and published called harmonics but the rest of the code was more or less the same. I wonder if I ve missed something (like maybe defining the updated version of scribbletune in some max project file)
Do you have some idea what could be going on? I suspect it throws an Uncaught ReferenceError: LiveAPI is not defined (but there s no way to validate this as Max and Live, both crash and I havent figured a way to get to some error logs from Max)
I ve updated the repo with using v4.1.0 of Scribbletune but I havent commited the breaking api.js. The earlier templateAPIPass is still retained for posterity. If you could check out the latest scribbleformax and then do npm install followed by npx webpack, you can reproduce the issue.
Maybe its time to retire the scribble.max method alltogether.
I d love to explore this ^ idea. Would be great if you could give me some example for this, I d like to give it a shot if you re still busy with stuff. Many thanks in advance!
from scribbletune.
Hi @walmik I haven' reproduced the error you are facing. But I faced similar issue few months back. I was trying to push Tonal into Max js object with Webpack and it kept crashing the whole thing just like you describe. Huge headache, I wasn't even able to produce an error message. IMHO we are just lucky that the transpiled version of Scribbletune worked up till this point. Hopefully the new api script will retire the need for transpiled js objects in Max altogether.
I d love to explore this ^ idea. Would be great if you could give me some example for this, I d like to give it a shot if you re still busy with stuff. Many thanks in advance!
I was planning on opening a proper PR sometimes later this week, but since you are eager to get going, I have forked the latest version of Scribbleformax and updated Riff with the new api script. There are some notes on this in the PR. I hope you find it usefull, let me know if you need me to clarify something :)
from scribbletune.
Thank you @JanZaion I think this is the right way forward. I ll take a look at the PR in scribbleformax and will continue this discussion there.
from scribbletune.
Related Issues (20)
- Out of sync docs? HOT 1
- The five chord in minor scale is "m"
- Error on the https://scribbletune.com/documentation/max webpage HOT 3
- Feature idea: Stream midi HOT 3
- Triplets problem? HOT 6
- hyphen doesnt work in v4 anymore HOT 1
- '-' in rhythmic pattern language acting weird in the new version HOT 1
- Notes in clip are always 1 octave lower than specified HOT 4
- Is it possible to merge 2 clips? HOT 3
- slight imprecisions when generating short notes with max.ts
- Cannot read properties of undefined (reading 'getSeqFn') HOT 12
- `ClipParams`, `NoteObject` types not found
- Why is the “startClip” delayed? HOT 1
- Facing issue importing the module HOT 3
- `types` should point to `./dist/index.d.ts` now HOT 4
- Are triplets supported? HOT 3
- Feature Request: Bring back the Tonal export HOT 3
- [FEEDBACK REQUESTED]: ScribbleTune API-features for a command line interface. HOT 1
- Outdated Documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scribbletune.