Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/htor/hadron-editor
supercollider editor with help browser and post window
https://github.com/htor/hadron-editor
editor ide learning live-coding sclang scsynth supercollider
Last synced: 3 months ago
JSON representation
supercollider editor with help browser and post window
- Host: GitHub
- URL: https://github.com/htor/hadron-editor
- Owner: htor
- License: mit
- Created: 2019-09-20T08:36:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-04T14:43:24.000Z (almost 3 years ago)
- Last Synced: 2024-01-17T18:52:22.617Z (6 months ago)
- Topics: editor, ide, learning, live-coding, sclang, scsynth, supercollider
- Language: JavaScript
- Homepage:
- Size: 2.9 MB
- Stars: 16
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Lists
- awesome-supercollider - Hadron - Simple editor with help browser and post window (Editors / Livecode interfaces)
README
# hadron-editor
Editor for [SuperCollider](https://github.com/supercollider/supercollider) with built-in help browser and post window. Runs on Mac and Windows.
# installation
### mac
* Install [SuperCollider](https://supercollider.github.io/download) using the DMG file and use the suggested location.
* Download [Hadron-1.0.2.dmg](https://github.com/htor/hadron-editor/releases/download/v1.0.2/Hadron-1.0.2.dmg), open it and drag Hadron.app to /Applications.### windows
* Install [SuperCollider](https://supercollider.github.io/download) using the EXE installer and use the suggested location.
* Download [Hadron-1.0.2.exe](https://github.com/htor/hadron-editor/releases/download/v1.0.2/Hadron-1.0.2.exe), run it and let the installer finish. It will show a greenish animation while installing.# usage
Start the application, type in SuperCollider code and evaluate it with `cmd/ctrl+enter`. Following are the keyboard shortcuts. Depending on your platform you use either the Command or Control key as a modifier:
### cmd/ctrl+b
Boot server### cmd/ctrl+enter
Evaluate code region### shift+enter
Evaluate code line### cmd/ctrl+.
Hush. Free all synths. Stop all audio output### cmd/ctrl+shift+l
Recompile class library### cmd/ctrl+m
Show server meter### cmd/ctrl+shift+m
Show server scope### cmd/ctrl+l
Select current line(s)### cmd/ctrl+shift+d
Duplicate current line### cmd/ctrl+shift+k
Comment/uncomment text selection### cmd/ctrl+d
Lookup help for word under cursor### cmd/ctrl+i
Show/hide help browser### cmd/ctrl+p
Show/hide post window### cmd/ctrl++
Increase font size### cmd/ctrl+-
Decrease font size### cmd/ctrl+0
Reset font size### cmd/ctrl+shift+p
Clear post window### cmd/ctrl+o
Open file### cmd/ctrl+s
Save file### cmd/ctrl+shift+s
Save file as### cmd/ctrl+q, cmd/ctrl+w, alt+f4
Quit application# developing
First you need to install [SuperCollider](https://github.com/supercollider/supercollider) and [NodeJS](https://nodejs.org/en/) on your computer. Then, with [NPM](https://www.npmjs.com/) do:
```
npm install
npm start
```The application should start automatically.
To build the installer, use:
```
npm run make
```It should be located somewhere under the `out` directory.
# libraries
The editor is built with [supercolliderjs](https://github.com/crucialfelix/supercolliderjs) and [Electron](https://electronjs.org/docs). For code editing, the [codemirror](https://codemirror.net/) library is used.
# license
MIT