質問編集履歴
3
進捗追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,3 +1,57 @@
|
|
1
|
+
### 追記(最新2/17)と進捗
|
2
|
+
|
3
|
+
Windows上の導入は諦め、仮想環境OSを立ててそこにインストールを試みることにしました。
|
4
|
+
VirtualBoxにLinux Mint Mateを立て、同様に
|
5
|
+
①haskell(stackを用いる)の導入
|
6
|
+
②haskellにtidalcyclesを導入
|
7
|
+
③supercolliderにsuperdirtを導入、起動
|
8
|
+
④エディタ(Atom or VScode)にtidalcyclesパッケージを導入、起動
|
9
|
+
の手順を実行しました。
|
10
|
+
以前と同じように、①②④は上手くいくのですが
|
11
|
+
エディタ上でいざ実行しようとするとエラーが出ます。
|
12
|
+
ただエラー文の文字化けは無くなったのでそこだけ進捗です。
|
13
|
+
|
14
|
+
以下Atomで.tidalファイルを実行しようとしたときのエラー文です。
|
15
|
+
```ここに言語を入力
|
16
|
+
Custom ghci path configured: stack exec --package tidal -- ghci
|
17
|
+
|
18
|
+
Ghci command: stack exec --package tidal -- ghci
|
19
|
+
Ghc-pkg command: stack exec --package tidal -- ghc-pkg
|
20
|
+
|
21
|
+
Load BootTidal.hs from /home/username/.atom/packages/tidalcycles/lib/BootTidal.hs
|
22
|
+
|
23
|
+
/bin/sh: 1: stack exec --package tidal -- ghci: not found
|
24
|
+
```
|
25
|
+
パス名をstack exec ghciなどに変えてもほぼ同じでした。
|
26
|
+
|
27
|
+
コマンドが見つからないと怒られているわけですが、
|
28
|
+
端末上でstack exec --package tidal -- ghci等は普通に実行できます。
|
29
|
+
ここでよくわからなくなりました。
|
30
|
+
|
31
|
+
上のエラー文で/bin/shとあるのに対して端末のシェルがbashなのが関係ある?とかを疑いましたが(echo $SHELLで調べた)
|
32
|
+
適切ないじり方がわからず断念しました。
|
33
|
+
|
34
|
+
VScode上で実行しても、文字化けが消えるだけ⁺ちょっとの変化でした。
|
35
|
+
```ここに言語を入力
|
36
|
+
GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help
|
37
|
+
Loaded GHCi configuration from /tmp/haskell-stack-ghci/2a3bbd58/ghci-script
|
38
|
+
Prelude> Prelude> Warning: GHCi |
|
39
|
+
Warning: GHCi | <no location info>: error:
|
40
|
+
Warning: GHCi | Could not find module ‘Sound.Tidal.Context’
|
41
|
+
Warning: GHCi | It is not a module in the current program, or in any known package.
|
42
|
+
|
43
|
+
(中略)
|
44
|
+
|
45
|
+
tidal> Warning: GHCi |
|
46
|
+
Warning: GHCi | <interactive>:64:1: error: Variable not in scope: d1 :: t0 -> t
|
47
|
+
Warning: GHCi |
|
48
|
+
Warning: GHCi | <interactive>:64:6: error:
|
49
|
+
Warning: GHCi | • Variable not in scope: sound :: [Char] -> t0
|
50
|
+
Warning: GHCi | • Perhaps you meant ‘round’ (imported from Prelude)
|
51
|
+
tidal>
|
52
|
+
```
|
53
|
+
(追記ここまで)
|
54
|
+
|
1
55
|
### 前提・実現したいこと
|
2
56
|
|
3
57
|
Haskellのtidalcyclesを導入しようとしています。
|
@@ -176,34 +230,8 @@
|
|
176
230
|
Warning: GHCi |
|
177
231
|
|
178
232
|
(本文の字数制限により中略)
|
179
|
-
|
233
|
+
t1 -> t
|
180
234
|
Warning: GHCi |
|
181
|
-
Warning: GHCi | <interactive>:36:47: error:
|
182
|
-
Warning: GHCi | Not in scope: �eSound.Tidal.Transition.anticipateIn�f
|
183
|
-
Warning: GHCi | No module named �eSound.Tidal.Transition�f is imported.
|
184
|
-
Warning: GHCi |
|
185
|
-
Warning: GHCi | <interactive>:37:41: error:
|
186
|
-
Warning: GHCi | Not in scope: �eSound.Tidal.Transition.mortalOverlay�f
|
187
|
-
Warning: GHCi | No module named �eSound.Tidal.Transition�f is imported.
|
188
|
-
Warning: GHCi |
|
189
|
-
Warning: GHCi | <interactive>:56:12: error:
|
190
|
-
Warning: GHCi | Variable not in scope: streamSetI :: t4 -> t
|
191
|
-
Warning: GHCi |
|
192
|
-
Warning: GHCi | <interactive>:56:23: error: Variable not in scope: tidal
|
193
|
-
Warning: GHCi |
|
194
|
-
Warning: GHCi | <interactive>:57:12: error:
|
195
|
-
Warning: GHCi | Variable not in scope: streamSetF :: t3 -> t
|
196
|
-
Warning: GHCi |
|
197
|
-
Warning: GHCi | <interactive>:57:23: error: Variable not in scope: tidal
|
198
|
-
Warning: GHCi |
|
199
|
-
Warning: GHCi | <interactive>:58:12: error:
|
200
|
-
Warning: GHCi | Variable not in scope: streamSetS :: t2 -> t
|
201
|
-
Warning: GHCi |
|
202
|
-
Warning: GHCi | <interactive>:58:23: error: Variable not in scope: tidal
|
203
|
-
Warning: GHCi |
|
204
|
-
Warning: GHCi | <interactive>:59:12: error:
|
205
|
-
Warning: GHCi | Variable not in scope: streamSetI :: t1 -> t
|
206
|
-
Warning: GHCi |
|
207
235
|
Warning: GHCi | <interactive>:59:23: error: Variable not in scope: tidal
|
208
236
|
Warning: GHCi |
|
209
237
|
Warning: GHCi | <interactive>:60:12: error:
|
2
質問の返信
title
CHANGED
File without changes
|
body
CHANGED
@@ -228,4 +228,31 @@
|
|
228
228
|
Load BootTidal.hs from C:\Users\username.atom\packages\tidalcycles\lib\BootTidal.hs
|
229
229
|
�w�肳�ꂽ�p�X��������܂���B
|
230
230
|
```
|
231
|
-
またエディタ上のエラーメッセージは同じでした。
|
231
|
+
またエディタ上のエラーメッセージは同じでした。
|
232
|
+
|
233
|
+
### さらに追記
|
234
|
+
>igrepさん
|
235
|
+
|
236
|
+
(4)
|
237
|
+
C:\sr\global-projectにstack.yamlがありました。
|
238
|
+
```
|
239
|
+
# This is the implicit global project's config file, which is only used when
|
240
|
+
# 'stack' is run outside of a real project. Settings here do _not_ act as
|
241
|
+
# defaults for all projects. To change stack's default settings, edit
|
242
|
+
# 'C:\sr\config.yaml' instead.
|
243
|
+
#
|
244
|
+
# For more information about stack's configuration, see
|
245
|
+
# http://docs.haskellstack.org/en/stable/yaml_configuration/
|
246
|
+
#
|
247
|
+
packages: []
|
248
|
+
resolver: lts-14.23
|
249
|
+
|
250
|
+
```
|
251
|
+
初期状態からノータッチです。(よくわかってないので)
|
252
|
+
|
253
|
+
(5)
|
254
|
+
usernameは半角小文字アルファベットだけ使っています。
|
255
|
+
|
256
|
+
|
257
|
+
もう少し自分でも情報を調べてみます。
|
258
|
+
回答ありがとうございました。
|
1
回答者への返信
title
CHANGED
File without changes
|
body
CHANGED
@@ -126,4 +126,106 @@
|
|
126
126
|
https://tidalcycles.org/index.php/Troubleshooting_a_Tidal_install
|
127
127
|
|
128
128
|
TidalCyclesの環境設定をしたいです
|
129
|
-
https://teratail.com/questions/190623
|
129
|
+
https://teratail.com/questions/190623
|
130
|
+
|
131
|
+
|
132
|
+
### 追記
|
133
|
+
|
134
|
+
>igrepさん
|
135
|
+
|
136
|
+
(1)
|
137
|
+
>stack ghciで実行していました。
|
138
|
+
>stack exec --package tidal -- ghciで実行したところ
|
139
|
+
```ここに言語を入力
|
140
|
+
C:\Users\username>stack exec --package tidal -- ghci
|
141
|
+
GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help
|
142
|
+
Prelude> import Sound.Tidal.Context
|
143
|
+
Prelude Sound.Tidal.Context>
|
144
|
+
```
|
145
|
+
となり上手くいきました。
|
146
|
+
|
147
|
+
(2)
|
148
|
+
VScode上での実行結果は以下のようになりました。
|
149
|
+
設定のUse stack ghciにチェックを入れた状態です。
|
150
|
+
GHCi Pathにstack exec --package tidal -- ghciを指定するのと何も指定しないのの二つを試しましたが同じ結果でした。
|
151
|
+
```ここに言語を入力
|
152
|
+
Warning: GHCi | 'stty' �́A�����R�}���h�܂��͊O���R�}���h�A
|
153
|
+
Warning: GHCi | ����\�ȃv���O�����܂��̓o�b�` �t�@�C���Ƃ��ĔF������Ă��܂���B
|
154
|
+
GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help
|
155
|
+
Loaded GHCi configuration from C:\Users\username\AppData\Local\Temp\haskell-stack-ghci\2a3bbd58\ghci-script
|
156
|
+
Prelude> Prelude> Warning: GHCi |
|
157
|
+
Warning: GHCi | <no location info>: error:
|
158
|
+
Warning: GHCi | Could not find module �eSound.Tidal.Context�f
|
159
|
+
Warning: GHCi | It is not a module in the current program, or in any known package.
|
160
|
+
Warning: GHCi |
|
161
|
+
Warning: GHCi | <interactive>:6:39: error: Not in scope: �eoLatency�f
|
162
|
+
Warning: GHCi |
|
163
|
+
Warning: GHCi | <interactive>:6:55: error: Not in scope: �eoAddress�f
|
164
|
+
Warning: GHCi |
|
165
|
+
Warning: GHCi | <interactive>:6:79: error: Not in scope: �eoPort�f
|
166
|
+
Warning: GHCi |
|
167
|
+
Warning: GHCi | <interactive>:6:111: error: Not in scope: �ecFrameTimespan�f
|
168
|
+
Warning: GHCi |
|
169
|
+
Warning: GHCi | <interactive>:21:38: error:
|
170
|
+
Warning: GHCi | Not in scope: �eSound.Tidal.Transition.xfadeIn�f
|
171
|
+
Warning: GHCi | No module named �eSound.Tidal.Transition�f is imported.
|
172
|
+
Warning: GHCi |
|
173
|
+
Warning: GHCi | <interactive>:22:42: error:
|
174
|
+
Warning: GHCi | Not in scope: �eSound.Tidal.Transition.xfadeIn�f
|
175
|
+
Warning: GHCi | No module named �eSound.Tidal.Transition�f is imported.
|
176
|
+
Warning: GHCi |
|
177
|
+
|
178
|
+
(本文の字数制限により中略)
|
179
|
+
|
180
|
+
Warning: GHCi |
|
181
|
+
Warning: GHCi | <interactive>:36:47: error:
|
182
|
+
Warning: GHCi | Not in scope: �eSound.Tidal.Transition.anticipateIn�f
|
183
|
+
Warning: GHCi | No module named �eSound.Tidal.Transition�f is imported.
|
184
|
+
Warning: GHCi |
|
185
|
+
Warning: GHCi | <interactive>:37:41: error:
|
186
|
+
Warning: GHCi | Not in scope: �eSound.Tidal.Transition.mortalOverlay�f
|
187
|
+
Warning: GHCi | No module named �eSound.Tidal.Transition�f is imported.
|
188
|
+
Warning: GHCi |
|
189
|
+
Warning: GHCi | <interactive>:56:12: error:
|
190
|
+
Warning: GHCi | Variable not in scope: streamSetI :: t4 -> t
|
191
|
+
Warning: GHCi |
|
192
|
+
Warning: GHCi | <interactive>:56:23: error: Variable not in scope: tidal
|
193
|
+
Warning: GHCi |
|
194
|
+
Warning: GHCi | <interactive>:57:12: error:
|
195
|
+
Warning: GHCi | Variable not in scope: streamSetF :: t3 -> t
|
196
|
+
Warning: GHCi |
|
197
|
+
Warning: GHCi | <interactive>:57:23: error: Variable not in scope: tidal
|
198
|
+
Warning: GHCi |
|
199
|
+
Warning: GHCi | <interactive>:58:12: error:
|
200
|
+
Warning: GHCi | Variable not in scope: streamSetS :: t2 -> t
|
201
|
+
Warning: GHCi |
|
202
|
+
Warning: GHCi | <interactive>:58:23: error: Variable not in scope: tidal
|
203
|
+
Warning: GHCi |
|
204
|
+
Warning: GHCi | <interactive>:59:12: error:
|
205
|
+
Warning: GHCi | Variable not in scope: streamSetI :: t1 -> t
|
206
|
+
Warning: GHCi |
|
207
|
+
Warning: GHCi | <interactive>:59:23: error: Variable not in scope: tidal
|
208
|
+
Warning: GHCi |
|
209
|
+
Warning: GHCi | <interactive>:60:12: error:
|
210
|
+
Warning: GHCi | Variable not in scope: streamSetB :: t0 -> t
|
211
|
+
Warning: GHCi |
|
212
|
+
tidal> Warning: GHCi | <interactive>:60:23: error: Variable not in scope: tidal
|
213
|
+
Warning: GHCi |
|
214
|
+
Warning: GHCi | <interactive>:64:1: error: Variable not in scope: d1 :: t0 -> t
|
215
|
+
Warning: GHCi |
|
216
|
+
Warning: GHCi | <interactive>:64:6: error:
|
217
|
+
Warning: GHCi | ? Variable not in scope: sound :: [Char] -> t0
|
218
|
+
Warning: GHCi | ? Perhaps you meant �eround�f (imported from Prelude)
|
219
|
+
tidal>
|
220
|
+
```
|
221
|
+
(3)
|
222
|
+
AtomでGHCi Pathにchcp 65001 & stack exec --package tidal -- ghciを指定して実行したところ以下のようになりました。
|
223
|
+
少し変化がありましたが文字化けしたままなのは変わりありませんでした。
|
224
|
+
```ここに言語を入力
|
225
|
+
Custom ghci path configured: chcp 65001 & stack exec --package tidal -- ghci
|
226
|
+
Ghci command: chcp 65001 & stack exec --package tidal -- \ghci
|
227
|
+
Ghc-pkg command: chcp 65001 & stack exec --package tidal -- \ghc-pkg
|
228
|
+
Load BootTidal.hs from C:\Users\username.atom\packages\tidalcycles\lib\BootTidal.hs
|
229
|
+
�w�肳�ꂽ�p�X��������܂���B
|
230
|
+
```
|
231
|
+
またエディタ上のエラーメッセージは同じでした。
|