5/7/2023 0 Comments Using react with textastic![]() If you don't have a Mac, then that's no use to you. I write everything on the Mac and use simple copy/paste with handoff to dump it into Mozaic. wrote a grammar for it and it works great. Textastic is a really good editor for iOS and Mac. Also, syntax highlighting, static syntax checker, refactoring tools like variable renames, auto indentation etc etc would be useful, but this could have been solved by writing the language definition inside already existing IDE. Ideally if this was supported directly by Mozaic, via some live socket communication on local network, to avoid 3rd party servers. VSCode and find some way to transfer script from desktop to Mozaic. I was even thinking about writing language definition for e.g. I know it was never intended for such complex scripts, but when it simply works. Or any other way using comments that help you better navigate in the code.īut we definitely need some way to better write code in Mozaic. then adding all knob change related custom functions below. I'd rather go with organizing the code so you can better navigate within it, e.g. You can use MIDI, but I am afraid this would be overcomplicating. Just be aware of every other Mozaic instances to not conflict with yours For example, I am using one global to store currently active channel number. You can definitely use globals for some communication. I am also building quite complex script for my MIDI controller (and overall live setup) and I was also trying out to split the script into multiple Mozaic instances. What's the possibilities to communicate between the different scripts? Using plain MIDI notes? Or using Mozaic's global variables? Or using Sysex or something (I have no idea what's Sysex used for yet, just doing some name dropping here)? So my question: is this a good idea? Is it sensible to have several Mozaic AUv3 instances running at the same time? Or would it become quickly somehow "unstable"? Having smaller chunks of code would make them obviously easier to read and extend. user input handling, talking to AUM, talking to my looper, etc.). This way I could create more modularised scripts that each provide functionality for a specific domain (e.g. My last attempt to add some robustness to my scripts was the idea of creating automated regression tests using Mozaic's log:Īs the log is limited to ~60-80 lines, the idea isn't as powerful as I thought.īut tonight I had the idea (I'm already dreaming of Mozaic and the possibilities it opens to me, it's kind of frightening, haha) of dividing my rather complex "spaghetti code" script into several scripts that would talk to each other using MIDI. Aspect of Links, since the 6.0.1, where I don’t like the new link’s aspect.I'm still trying to get my head around Mozaic and what's the best, most robust way of creating complex scripts.Ĭoming from a professional web developer background, I'm used to more powerful (higher level) languages than Mozaic.This snippet add support for my folder_note, folder-color snippet and edit some things in Sanctum : I pretty didn’t know if Lithou updated it. ![]() I just adapted this snippet to work with Live Preview. The icons_font.css embed somes font, so you can use in multiple snippets if you want !Īll of the credit for this snippet to go Lithou. These snippets add somes icons for unsupported files. In case the lines don’t match with the icons, you can adjust them with Style Settings, just like the colors. Add lines for the children files of a folder.Add colors for each folder numbered from 00 to 100.⚠️ You need to change the paths of your files! Colored files & folderĪssociated files start with folder-color. The file sanctum tweaks allows the necessary adjustments to this theme. This snippet allows you to turn a folder into a note, by moving the various icons in a folder. ⚠️ This snippet is mostly present in terms of EXAMPLE. This is a simple snippet that allows a specific formatting using markdown syntax, without using HTML. You can:Įach snippets can be adjusted with Style Settings. ⚠️ In IOS, it is impossible to access hidden folders. In Obsidian: Appearance → Refresh snippets ⇒ Activate the ones you want.Put the snippets in the snippet folder of.This repo is a collection of CSS snippets for Obsidian.md.
0 Comments
Leave a Reply. |