Skip to content

supercollider/learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SuperCollider Tutorials

The repository for the official SuperCollider online tutorial and reference information. Currently this is in the early stages of development.

Get Involved

If you want to get involved then contact us either on the SuperCollider Forum or the SuperCollider Slack channel. Any level of involvement is fine. If you want to write a tutorial by yourself then we won't stop you - equally if all you can do is proof read, or suggest resources, that's also helpful.

Tutorial Standards

Documents should have a max line length of 100 columns and be written in markdown.

Code should follow the SuperCollider style guidelines here: https://github.com/supercollider/supercollider/wiki/Code-style-guidelines

We have provided additional style guidelines specific to this tutorial.

Cookbook entries should address a particular problem that people might run into and show them how it can be solved. It is perfectly okay to show multiple solutions, but these must be practical solutions.

Forking this repository

In order to make edits to the tutorials in this repository, you will first need to fork it. Once you make the edits you must then submit pull requests containing those edits back to this repository.

  1. Create a github account here if necessary
  2. Login to github here
  3. Navigate to this page
  4. Click the Fork link at the top right of the page

Github will create a fork of this repository in your account. You will now be able to clone it and make changes to it like any other git repository.

Submitting a pull request

Now that you have made some changes to your fork, you will want to submit a pull request back to this repository. To do so:

  1. Ensure your changes are committed and pushed to a branch in your fork
  2. Navigate to that branch in your fork in github
  3. Click the New pull request button next to the branch name near the top left
  4. Ensure that the base fork and base drop-downs are set to supercollider/learn and master respectively
  5. Click the Create pull request button
  6. Enter a title and comment
  7. Click the Create pull request button

You will be redirected to the supercollider/learn homepage on github. Your pull request has been submitted and will be considered for inclusion in the repository.

Editing the tutorials

Requirements

The tutorials are currently built using mdBook. On Windows and Linux you just need to download the binary from their site and update your path so that it points to it. Unfortunately they do not have a download available for OSX. Fortunately building MDBook is super easy (just follow the instructions). If for some reason you are unable to build it - then contact me on Slack and I'll send you a binary.

Build

mdBook is a clone of the original gitbook and uses markdown. So long as you're familiar with markdown then you really shouldn't have any issues as the mdBook guide is pretty decent.

Currently there are four tutorials in the src file. The tutorials are built separately (this will change at some future point). The src code for each book is in src/[book-name]. The html will be generated in a sub-folder of the book directory in the root folder.

Useful commands

  • mdbook build - Build the tutorial.
  • mdbook build -o - Build the tutorial and open it in your default browser.
  • mdbook watch - Build the tutorial automatically whenever any of the files are changed.
  • mdbook serve -o - Preview the tutorial at http:\\localhost:3000

Document formatting

The tutorials are written in github's Markdown, which is documented here.

Licence

All content in this repository is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

You should have received a copy of the license along with this work. If not, see http://creativecommons.org/licenses/by-sa/4.0/.

About

Official SuperCollider tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published