Hello,
Since Atom is sunsetting soon, I would like to know which is the best text editor to consider, that will be able to code easily the evaluation of code lines of Tidal Cycles either by midi or OSC ?
I submitted in the past an issue in Atom, that is to me crucial to work with Tidal. Fortunately, some developers succeeded in implementing this feature in Atom (see https://github.com/tidalcycles/atom-tidalcycles/issues/119).
But with the sunsetting of Atom and since I am not a developer, I am wondering in which editor and how I could do this ?
- NeoVim ?
- maybe even Strudel via the web browser ?
- or others ?
Many thanks,
Christophe
1 Like
hey christophe,
tidal-gui might be an option for you:
at the moment the automatic builds for it are only working for linux though, but i will try to fix it soon.
I'm also currently working on controling the editor via OSC and already have a working prototype
Hey, there are some, in the #editors
folder in the TOPLAP discord there's a long discussion about this, there are some people working on a proof of concept that could arise in the next months, it's too early to propose features, but the community will be keep up to date.
1 Like
Hello,
It seems it is now possible to evaluate lines of code of Tidal within Pulsar via OSC.
I tried in SuperCollider the code below, but I do not understand the correct syntax and it seems to evaluate everything:
o = NetAddr.new("127.0.0.1", 3333);
o.sendMsg("/pulsar/eval", 0, 11);
How to trigger a specific line or selection within a specific tab? What is the specific syntax?
Many thanks,
Best,
Christophe
Actually, the correct syntax in SuperCollider is the following, e.g. to evaluate the line 1 via OSC:
o.sendMsg("/pulsar/eval", 'type', 'line', 'row', 1, 'column', 1 );
I wonder if it would be possible to do the same thing via another editor like VS code? or even with Strudel, although the evaluation concept of Strudel is different, since the whole code seems to be evaluated / updated and it seems not possible to evaluate just a line or a block of code apparently.
Hey @Xon that's correct, but incomplete Back in the days I created the osc functionality in the TidalCycles Atom package. Because the atom packages are still working for Pulsar, we are good to go here. When I added this functionality, I created a section in the TidalCycles package documentation.
Btw. I recommend to write the SuperCollider commands like this:
o.sendMsg("/pulsar/eval", \type, 'line');
o.sendMsg("/pulsar/eval", \type, 'line', \row, 2, \column, 4);
o.sendMsg("/pulsar/eval", \type, 'multi_line');
And of course this functionality is possible in other editors as well. But someone would need to implement it and I do not have the capacity to work on other editors. I mainly use Pulsar and I do not evaluate code with osc anymore, but extended it locally in way, that i.e. my cursor jumps to a seeked word. But I didn't had the time to add the unit tests and merge it officially
Thank you so much for this osc functionality!
Would be curious about your local extension in the future.