Difference between revisions of "Start tidalcycles and superdirt for the first time/zh-tw"

From TidalCycles userbase
Jump to: navigation, search
(Created page with "# 打開 Atom # 創建並儲存一個後綴為.tidal的新檔案,例如:test.tidal # 打開 Packages 選單並選擇 TidalCycles -> Boot TidalCycles,編輯視窗底下...")
(Updating to match new version of source page)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
每次啟動TidalCycles有兩個步驟:
+
<languages />
 +
There are two steps to starting up TidalCycles each time:
  
# 啟動SuperCollider 內的SuperDirt
+
# Start SuperCollider and start SuperDirt within SuperCollider.
# 啟動Atom內的TidalCycles
+
# Start TidalCycles inside your editor
  
=== 啟動SuperCollider內的SuperDirt ===
+
= Start SuperDirt inside SuperCollider =
  
要啟動SuperDirt,在SuperCollider視窗內貼上以下代碼:
+
There are two ways to start SuperDirt; you can either run it through the SuperCollider IDE or using SuperCollider's interpreter <code>sclang</code> in a terminal. New users are recommended to use the IDE.
 +
 
 +
== Using the SuperCollider IDE ==
 +
 
 +
To start SuperDirt, paste the following code into a SuperCollider window:
  
 
  SuperDirt.start
 
  SuperDirt.start
  
點擊上述代碼,按Shift + Enter (SuperCollider求值組合鍵),在post window上會顯示一連串初始過程,在過程最底部你應該看到:
+
Then click on the code, hold down shift and press enter. The post window should show the SuperDirt startup progress, and at the end you should see:
 +
 
 +
SuperDirt: listening to Tidal on port 57120
 +
 
 +
=== Automatic SuperDirt Startup in the IDE ===
 +
 
 +
If you want SuperDirt to start automatically when you open SuperCollider, add the <code>SuperDirt.start</code> line to the SuperCollider startup file. You can edit the SuperCollider startup file from within SuperCollider itself by choosing File -> Open Startup File from the top menu. If you wish to use a more comprehensive SuperDirt startup file with more options,
 +
[https://github.com/musikinformatik/SuperDirt/blob/master/superdirt_startup.scd refer to this example].
 +
 
 +
== Using the SuperCollider terminal interpreter ==
 +
 
 +
You can start SuperDirt using this [https://raw.githubusercontent.com/musikinformatik/SuperDirt/develop/superdirt_startup.scd startup script] by simply typing <code>sclang superdirt_startup.scd</code> in a terminal.
 +
 
 +
Once everything's loaded, you should be able to find the following statement in the output:
  
 
  SuperDirt: listening to Tidal on port 57120
 
  SuperDirt: listening to Tidal on port 57120
  
==== 自動初始 SuperDirt ====
+
The default startup script is pretty simple, it provides two orbits and loads the default samples but you might want to edit it to configure [[Custom Samples]] (and add orbits as well).
若你想要SuperDirt在每次開啟SuperCollider時自動初始,試著在SuperCollider初始檔案內加入 <code>SuperDirt.start</code>
+
 
 +
 
 +
= Start TidalCycles inside your text editor =
 +
 
 +
== Instructions for Emacs ==
 +
 
 +
Head over to the [[Linux installation]] to install the Emacs plugin if you haven't done it already. Once the Tidal plugin is installed, all you need to do is to open a <code>*.tidal</code> file and press <code>C-c C-s</code> to start Tidal in Emacs. If everything went fine you should see Tidal's output showing up in a separate window.
 +
 
 +
You can now simply press <code>C-return</code> to evaluate any statement under your cursor. You can try this one as an example to check that everything runs fine:
 +
 
 +
d1 $ sound "bd sn"
 +
 
 +
You should hear a electronic bass drum sound followed by a snare sound.
 +
Then evaluate the following to stop all your instruments :
 +
 
 +
hush
  
=== 在Atom內啟動TidalCycles ===
+
== Instructions for Atom ==
  
# 打開 Atom
+
# Start Atom
# 創建並儲存一個後綴為.tidal的新檔案,例如:test.tidal
+
# create a new file and save it with a filename that ends in .tidal, e.g. test.tidal.
# 打開 Packages 選單並選擇 TidalCycles -> Boot TidalCycles,編輯視窗底下會出現一個小窗,顯示訊息告訴你 GHCi (Haskell直譯器)正在運行中
+
# open the Packages menu and select TidalCycles -> Boot TidalCycles. A small window will open at the bottom of the window containing the `t>` prompt (and hopefully no error messages).
  
 
Try running a simple pattern by typing in the code below and holding down shift and pressing enter to evaluate it (Holding down control and pressing enter will also work, this evaluates multiple lines).
 
Try running a simple pattern by typing in the code below and holding down shift and pressing enter to evaluate it (Holding down control and pressing enter will also work, this evaluates multiple lines).
Line 27: Line 60:
 
  d1 $ sound "bd sn"
 
  d1 $ sound "bd sn"
  
If you hear sound, congratulations!  
+
If you hear sound, congratulations!
  
 
If you get stuck, you are very welcome to ask questions and share problems on the forum, or on the #tidal channel of the [https://talk.lurk.org/channel/tidal Lurk RocketChat].
 
If you get stuck, you are very welcome to ask questions and share problems on the forum, or on the #tidal channel of the [https://talk.lurk.org/channel/tidal Lurk RocketChat].
  
 
As is common with free software, you have alternative choices for the different components that make up a TidalCycles system. Atom and SuperDirt might be all you ever need, but there are other editors and synths you can use.
 
As is common with free software, you have alternative choices for the different components that make up a TidalCycles system. Atom and SuperDirt might be all you ever need, but there are other editors and synths you can use.

Latest revision as of 22:11, 14 December 2019

Other languages:
British English • ‎Deutsch • ‎English • ‎français • ‎中文(台灣)‎

There are two steps to starting up TidalCycles each time:

  1. Start SuperCollider and start SuperDirt within SuperCollider.
  2. Start TidalCycles inside your editor

Start SuperDirt inside SuperCollider

There are two ways to start SuperDirt; you can either run it through the SuperCollider IDE or using SuperCollider's interpreter sclang in a terminal. New users are recommended to use the IDE.

Using the SuperCollider IDE

To start SuperDirt, paste the following code into a SuperCollider window:

SuperDirt.start

Then click on the code, hold down shift and press enter. The post window should show the SuperDirt startup progress, and at the end you should see:

SuperDirt: listening to Tidal on port 57120

Automatic SuperDirt Startup in the IDE

If you want SuperDirt to start automatically when you open SuperCollider, add the SuperDirt.start line to the SuperCollider startup file. You can edit the SuperCollider startup file from within SuperCollider itself by choosing File -> Open Startup File from the top menu. If you wish to use a more comprehensive SuperDirt startup file with more options, refer to this example.

Using the SuperCollider terminal interpreter

You can start SuperDirt using this startup script by simply typing sclang superdirt_startup.scd in a terminal.

Once everything's loaded, you should be able to find the following statement in the output:

SuperDirt: listening to Tidal on port 57120

The default startup script is pretty simple, it provides two orbits and loads the default samples but you might want to edit it to configure Custom Samples (and add orbits as well).


Start TidalCycles inside your text editor

Instructions for Emacs

Head over to the Linux installation to install the Emacs plugin if you haven't done it already. Once the Tidal plugin is installed, all you need to do is to open a *.tidal file and press C-c C-s to start Tidal in Emacs. If everything went fine you should see Tidal's output showing up in a separate window.

You can now simply press C-return to evaluate any statement under your cursor. You can try this one as an example to check that everything runs fine:

d1 $ sound "bd sn"

You should hear a electronic bass drum sound followed by a snare sound. Then evaluate the following to stop all your instruments :

hush

Instructions for Atom

  1. Start Atom
  2. create a new file and save it with a filename that ends in .tidal, e.g. test.tidal.
  3. open the Packages menu and select TidalCycles -> Boot TidalCycles. A small window will open at the bottom of the window containing the `t>` prompt (and hopefully no error messages).

Try running a simple pattern by typing in the code below and holding down shift and pressing enter to evaluate it (Holding down control and pressing enter will also work, this evaluates multiple lines).

d1 $ sound "bd sn"

If you hear sound, congratulations!

If you get stuck, you are very welcome to ask questions and share problems on the forum, or on the #tidal channel of the Lurk RocketChat.

As is common with free software, you have alternative choices for the different components that make up a TidalCycles system. Atom and SuperDirt might be all you ever need, but there are other editors and synths you can use.