# The "pulsar/atom plugin" thread

**URL:** https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244
**Category:** TidalCycles
**Tags:** questions
**Created:** [3 October 2020 14:15 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244 "2020-10-03T14:15:59Z")
**Posts on this page:** 20
**Page:** 5

<div class="post-metadata">

### Author: ![mrreason](https://uzu.lurk.org/user_avatar/uzu.lurk.org/mrreason/32/3203_2.png) [@mrreason](https://uzu.lurk.org/u/mrreason)
#### Post date: [25 July 2021 15:50 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/81 "2021-07-25T15:50:08Z")

</div>

And I have another question: Does the tidal-listener mean, that you could theoretically listen to the current cps and when the next cycle starts? Could be interesting for synchronizing with i.e. automatic code execution.

---

<div class="post-metadata">

### Author: ![ndr\_brt](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ndr_brt/32/396_2.png) [@ndr\_brt](https://uzu.lurk.org/u/ndr_brt)
#### Post date: [25 July 2021 16:08 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/82 "2021-07-25T16:08:20Z")

</div>

that's because in `tidal-listener` there's no need to specify the "connection", so your pattern can be simply:  
`s "bd"`

[Here you can read some discussions about.](https://github.com/tidalcycles/atom-tidalcycles/issues/157#issuecomment-872968897)

And yes, there are some things that can be done with the listener, here are the current specifications, but something is still missing (e.g. `hush`): [Home · tidalcycles/tidal-listener Wiki · GitHub](https://github.com/tidalcycles/tidal-listener/wiki)

---

<div class="post-metadata">

### Author: ![mrreason](https://uzu.lurk.org/user_avatar/uzu.lurk.org/mrreason/32/3203_2.png) [@mrreason](https://uzu.lurk.org/u/mrreason)
#### Post date: [25 July 2021 17:12 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/83 "2021-07-25T17:12:08Z")

</div>

Now I got it! And I can say that this works under macOS too! 🙂

---

<div class="post-metadata">

### Author: ![who-me](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@who-me](https://uzu.lurk.org/u/who-me)
#### Post date: [3 October 2021 07:12 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/84 "2021-10-03T07:12:27Z")

</div>

Thanks for all your work on the Atom plugin. I'm wondering what the general consensus is on using tidal-listener? I just got tidal-listener running on Windows and maybe it's Atom on Windows but the stand-alone cabal integration seems in better shape. A few things I noticed:

- No shift-enter, everything is treated as a multi-line pattern so need blank lines between everything. Ok, a good habit to get into anyway
- All patterns are sent every time \*-enter is pressed, not just the pattern you're editing. No beginning to edit a pattern then make a quick change to another one and go back to the other to finish editing.
- No hush. Need to replace the individual lines with silence. Maybe a BootTidal problem as xfade doesn't work either. I don't have a custom BootTidal.hs so normally just let tidal use it's own. Specifying the path to one in settings doesn't make it work though.

cheers

---

<div class="post-metadata">

### Author: ![ndr\_brt](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ndr_brt/32/396_2.png) [@ndr\_brt](https://uzu.lurk.org/u/ndr_brt)
#### Post date: [3 October 2021 10:46 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/85 "2021-10-03T10:46:07Z")

</div>

Yes you're right, there are some things missing.  
Don't know what's the road that tidal will follow, so I just implemented some simple features, but It seems like all the "tidal-listener" affaire is in a steady state.

In the meantime you could open those proposals as issues on GitHub so we will implement those.

---

<div class="post-metadata">

### Author: ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)
#### Post date: [3 October 2021 15:42 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/86 "2021-10-03T15:42:27Z")

</div>

Yes, please open issues on the main tidal repository: [https://github.com/tidalcycles/tidal/issues](https://github.com/tidalcycles/tidal/issues)

as we're probably moving the whole of tidal-listener into that repo.

---

<div class="post-metadata">

### Author: ![badger](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/b/3bc359/32.png) [@badger](https://uzu.lurk.org/u/badger)
#### Post date: [20 January 2022 21:08 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/88 "2022-01-20T21:08:12Z")

</div>

Thanks for the nice work on the eval functions. I have found that reordering the tab statement in osc-loader.js works a bit better for me. Switch the tab and then trigger on row/column. Also, I added a test for zero to disable tab selection for value 0. Makes it a bit easier to attach a controller:

```
          if (resultDict['tab'] !== undefined && resultDict['tab'] > 0) {
                atom.workspace.getPanes()[0].setActiveItem(atom.workspace.getTextEditors() 
                [resultDict['tab']-1])
            }
            if (resultDict['row'] && resultDict['column']) {
                this.editors.goTo(resultDict['row'] - 1, resultDict['column'])
            }
            // if (resultDict['tab'] !== undefined) {
            // atom.workspace.getPanes()[0].setActiveItem(atom.workspace.getTextEditors() 
                   [resultDict['tab']])
            // }
```

---

<div class="post-metadata">

### Author: ![ndr\_brt](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ndr_brt/32/396_2.png) [@ndr\_brt](https://uzu.lurk.org/u/ndr_brt)
#### Post date: [20 January 2022 22:03 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/89 "2022-01-20T22:03:48Z")

</div>

Would you like to open a pull request for this?

---

<div class="post-metadata">

### Author: ![badger](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/b/3bc359/32.png) [@badger](https://uzu.lurk.org/u/badger)
#### Post date: [20 January 2022 22:57 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/90 "2022-01-20T22:57:57Z")

</div>

Yes, I think so, but I am totally new at working in an open source project. So I need to read up a bit on the proper way to interact so I don't want to muck up the works.

Also, have a related question. I have written some arpeggiator code which I want to try integrating in a fork of tidal. I managed to do a cabal build and install, but cannot figure out how to get the atom editor to recognize the forked installation. Could you tell me what the best way to get atom to recognize the forked version is? Thanks!

---

<div class="post-metadata">

### Author: ![ndr\_brt](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ndr_brt/32/396_2.png) [@ndr\_brt](https://uzu.lurk.org/u/ndr_brt)
#### Post date: [22 January 2022 15:48 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/91 "2022-01-22T15:48:02Z")

</div>

There are a lot of how-to about creating a PR, you can take a look at it:  
[https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)

Maybe you could start opening an issue explaining why do you need to introduce such a modification.

Regarding the tidal version, after a cabal install that should become the version used by atom, since atom doesn't load tidal, but it opens ghci, and is ghci that loads tidal through the code written into the boottidal file

---

<div class="post-metadata">

### Author: ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)
#### Post date: [22 January 2022 19:27 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/92 "2022-01-22T19:27:25Z")

</div>

I find that reinstalling libraries with cabal doesn't work well, unless you use the 'old style' commands. So if you have problems, try `cabal v1-install` from within your tidal folder. If it still isn't working, under unix (e.g. mac and linux) systems you can start from a 'blank slate' with haskell libraries by removing the .ghc and .cabal files from your home folder. (I'm not sure how to do this under windows.)

---

<div class="post-metadata">

### Author: ![hellocatfood](https://uzu.lurk.org/user_avatar/uzu.lurk.org/hellocatfood/32/42_2.png) [@hellocatfood](https://uzu.lurk.org/u/hellocatfood)
#### Post date: [9 June 2022 21:16 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/93 "2022-06-09T21:16:03Z")

</div>

Github announced on 8th June that they're "sunsetting" atom

> **[Sunsetting Atom | The GitHub Blog](https://github.blog/2022-06-08-sunsetting-atom/)**
>
> We are archiving Atom and all projects under the Atom organization for an official sunset on December 15, 2022.

I'm guessing this means the end of the tidal atom plugin? What should we use now?

---

<div class="post-metadata">

### Author: ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)
#### Post date: [9 June 2022 22:35 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/94 "2022-06-09T22:35:17Z")

</div>

There was a brief discord discussion on this, the original atom founder has started a new project which looks very promising:

> **[Zed](https://zed.dev/)**
>
> Code collaboratively with your team in real time with lightning fast performance in our new editor built from the ground up in Rust. Coming soon.

---

<div class="post-metadata">

### Author: ![ndr\_brt](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ndr_brt/32/396_2.png) [@ndr\_brt](https://uzu.lurk.org/u/ndr_brt)
#### Post date: [10 June 2022 02:28 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/95 "2022-06-10T02:28:44Z")

</div>

There's an issue here with some discussion: [Github is sunsetting Atom · Issue #920 · tidalcycles/Tidal · GitHub](https://github.com/tidalcycles/Tidal/issues/920#issuecomment-1151031630)

Personally I would go with a self implemented solution: there is the tidal-gui project from which knowledge can be drawn and also the work done on strudel can be used too.  
We have 6 months to do so, let's see, in any case there's the parachute choice that's vscode.

---

<div class="post-metadata">

### Author: ![ndr\_brt](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ndr_brt/32/396_2.png) [@ndr\_brt](https://uzu.lurk.org/u/ndr_brt)
#### Post date: [30 July 2022 10:48 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/96 "2022-07-30T10:48:29Z")

</div>

Hey, seems like there's a community behind an atom fork: [Atom Community (atomic) · GitHub](https://github.com/atom-community)

Discord server: [atom-community](https://discord.gg/xwCZ2cPQQD)

---

<div class="post-metadata">

### Author: ![ndr\_brt](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ndr_brt/32/396_2.png) [@ndr\_brt](https://uzu.lurk.org/u/ndr_brt)
#### Post date: [8 August 2022 14:29 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/97 "2022-08-08T14:29:19Z")

</div>

Surprise, another fork popped out: [pulsar-edit · GitHub](https://github.com/pulsar-edit)

Seems like atom-community aims to port all the current atom features in a stable way, while the pulsar intent is bring it to a next level.  
More info on the why for this fork: [Atom, community, and Pulsar – Maurício Szabo](https://mauricio.szabo.link/blog/2022/08/08/atom-community-and-pulsar/)

Let's see how these will evolve

---

<div class="post-metadata">

### Author: ![ndr\_brt](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ndr_brt/32/396_2.png) [@ndr\_brt](https://uzu.lurk.org/u/ndr_brt)
#### Post date: [26 November 2022 06:07 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/98 "2022-11-26T06:07:48Z")

</div>

Little update: I started working on it, I'm stuck with a keybinding issue but I'm in contact with the pulsar community:

> <https://github.com/tidalcycles/atom-tidalcycles/pull/185>
>
> Things to be done:
> \- \[x\] avoid "strict mode" errors
> \- \[\] ctrl-enter keybindin…g is not working
> 
> Closes #184

---

<div class="post-metadata">

### Author: ![gamar3is](https://uzu.lurk.org/user_avatar/uzu.lurk.org/gamar3is/32/3020_2.png) [@gamar3is](https://uzu.lurk.org/u/gamar3is)
#### Post date: [2 December 2022 10:23 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/99 "2022-12-02T10:23:55Z")

</div>

> Little update: I started working on it

This is such a relieving bit of news, I was still mourning the loss of the Atom plugin -- slowly moving to vim-tidal, but I prefer the look (and flashes) of @ndr_brt's work on this. I was also preparing a tidal-listener-based visual setup for performances that was cut short by the sunset announcement.

Just to say, your work is immensely appreciated, and I'd be happy to help test or support the efforts in whatever way.

---

<div class="post-metadata">

### Author: ![ndr\_brt](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ndr_brt/32/396_2.png) [@ndr\_brt](https://uzu.lurk.org/u/ndr_brt)
#### Post date: [2 December 2022 11:25 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/100 "2022-12-02T11:25:04Z")

</div>

Great to hear! We created a `#pulsar` channel on tidal discord where we can discuss easily, then I would report here the updates.

---

<div class="post-metadata">

### Author: ![HighHarmonics](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@HighHarmonics](https://uzu.lurk.org/u/HighHarmonics)
#### Post date: [12 December 2022 19:15 UTC](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244/101 "2022-12-12T19:15:19Z")

</div>

We now have a Pulsar page in the Tidalcycles documentation in the "Get a Text Editor" section: [Pulsar | Tidal Cycles](https://tidalcycles.org/docs/getting-started/editor/Pulsar)

It includes instructions for manual installation of the Tidalcycles package, as the package manager capability is not ready yet. Note that Pulsar is not "fully released" yet but the dev/beta releases work well. At the [Pulsar site](https://pulsar-edit.dev/), Downloads are now easier and a Pulsar Documentation page has been added.

[Previous page](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244.md?page=4)

[Next page](https://uzu.lurk.org/t/the-pulsar-atom-plugin-thread/2244.md?page=6)
