Csound Notebook - update
| Date | 2017-05-17 22:08 |
| From | Steven Yi |
| Subject | Csound Notebook - update |
Hi All,
I thought I'd mention that I have been starting to work again on the
Csound Notebook website[1].The site is open source[2] and was
originally developed with Ruby on Rails for the server and AngularJS 1
for the client-side. Since there hasn't been much contributions for
the Rails version, I did not see much of a problem to move to a
different web technology stack.
For version 2, I am currently rewriting the site using Clojure and
Clojurescript. The initial work is available in the clj branch[3]. For
those who might be familiar with this stack, I decided to start the
site using luminus[4]. I decided to go with MySQL as it is something
I'm comfortable with, and for client-side I opted to use reagent and
re-frame. I have also switched from using the Ace editor to
CodeMirror.
The site is so far very early in development with none of the database
work done nor authorization/authentication. My plan for the site is to
have it have an online editor that could be accessible without logging
in and to change the UI to have notebooks be one page and individual
note editor be another page (think Google Docs). I was also thinking
of making notes a little easier to fork, meaning that if you make a
public note, it could be saved to a user's account and maintain it's
historical link (something similar to JSFiddle).
Right now, the primary note editor has basic functionality using the
Emscripten version of Csound. I'd like to make it such that the site
will detect automatically whether to use Emscripten or pNaCl. Also,
I'd like to enable keybinding options (i.e. Vim, Emacs) and expose
other features from CodeMirror.
When the site is in a testable state, I will work on migrating data
from the older site to the newer site (user accounts, notebooks,
etc.). I will probably first make a beta site for testing before
making a final switch to the newer version of the site.
Any one interested to contribute is more than welcome to contact me or
just start working away on pull requests.
All best!
steven
[1] - http://csound-notebook.kunstmusik.com
[2] - https://github.com/kunstmusik/csound-notebook
[3] - https://github.com/kunstmusik/csound-notebook/tree/clj
[4] - http://luminusweb.net
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2017-05-17 22:18 |
| From | Ed Costello |
| Subject | Re: Csound Notebook - update |
| I made a manual player proof of concept that detects whether pnacl is supported and loads emscripten or pnacl Csound depending on the result. Perhaps this might be of help? Ed
|
| Date | 2017-05-17 22:22 |
| From | Steven Yi |
| Subject | Re: Csound Notebook - update |
Absolutely it does, thanks for that! On Wed, May 17, 2017 at 5:18 PM, Ed Costello |
| Date | 2017-05-18 21:15 |
| From | Richard |
| Subject | Re: Csound Notebook - update |
Looks great!
If you need any help with database stuff, I'd be happy to help.
Richard
On 17/05/17 23:08, Steven Yi wrote:
> Hi All,
>
> I thought I'd mention that I have been starting to work again on the
> Csound Notebook website[1].The site is open source[2] and was
> originally developed with Ruby on Rails for the server and AngularJS 1
> for the client-side. Since there hasn't been much contributions for
> the Rails version, I did not see much of a problem to move to a
> different web technology stack.
>
> For version 2, I am currently rewriting the site using Clojure and
> Clojurescript. The initial work is available in the clj branch[3]. For
> those who might be familiar with this stack, I decided to start the
> site using luminus[4]. I decided to go with MySQL as it is something
> I'm comfortable with, and for client-side I opted to use reagent and
> re-frame. I have also switched from using the Ace editor to
> CodeMirror.
>
> The site is so far very early in development with none of the database
> work done nor authorization/authentication. My plan for the site is to
> have it have an online editor that could be accessible without logging
> in and to change the UI to have notebooks be one page and individual
> note editor be another page (think Google Docs). I was also thinking
> of making notes a little easier to fork, meaning that if you make a
> public note, it could be saved to a user's account and maintain it's
> historical link (something similar to JSFiddle).
>
> Right now, the primary note editor has basic functionality using the
> Emscripten version of Csound. I'd like to make it such that the site
> will detect automatically whether to use Emscripten or pNaCl. Also,
> I'd like to enable keybinding options (i.e. Vim, Emacs) and expose
> other features from CodeMirror.
>
> When the site is in a testable state, I will work on migrating data
> from the older site to the newer site (user accounts, notebooks,
> etc.). I will probably first make a beta site for testing before
> making a final switch to the newer version of the site.
>
> Any one interested to contribute is more than welcome to contact me or
> just start working away on pull requests.
>
> All best!
> steven
>
> [1] - http://csound-notebook.kunstmusik.com
> [2] - https://github.com/kunstmusik/csound-notebook
> [3] - https://github.com/kunstmusik/csound-notebook/tree/clj
> [4] - http://luminusweb.net
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2017-05-18 23:51 |
| From | Steven Yi |
| Subject | Re: Csound Notebook - update |
Thanks Richard! I think DB-wise there aren't any challenges yet, but if something comes up I'll certainly contact you. Also to note, using Ed's work as a starting point, I wrote a Csound wrapper in Clojurescript that will load either PNaCl or Emscripten, depending upon what is available. For the Clojurists here, I ended up implementing it using a protocol that gets reified with an engine that uses one of the backends. (https://github.com/kunstmusik/csound-notebook/blob/clj/src/cljs/csound_notebook/csound.cljs). That could could possibly be handy for anyone building Clojurescript web apps with Csound. There's more to add for the Engine, but that gets at least live coding for orc and score working with both engines. On Thu, May 18, 2017 at 4:15 PM, Richard |