Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Jamlee666
sonic-pi
提交
a4b2a002
S
sonic-pi
项目概览
Jamlee666
/
sonic-pi
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
sonic-pi
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
a4b2a002
编写于
1月 20, 2021
作者:
S
Sam Aaron
提交者:
GitHub
1月 20, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'main' into win-beta-5
上级
d8474d52
c6d28784
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
10 addition
and
14 deletion
+10
-14
BUILD-LINUX.md
BUILD-LINUX.md
+1
-1
app/gui/qt/mainwindow.cpp
app/gui/qt/mainwindow.cpp
+1
-1
app/mac-release.sh
app/mac-release.sh
+1
-1
app/server/ruby/lib/sonicpi/runtime.rb
app/server/ruby/lib/sonicpi/runtime.rb
+1
-1
app/server/ruby/lib/sonicpi/scsynthexternal.rb
app/server/ruby/lib/sonicpi/scsynthexternal.rb
+6
-10
未找到文件。
BUILD-LINUX.md
浏览文件 @
a4b2a002
...
...
@@ -58,7 +58,7 @@ sudo apt-get install -y \
ruby-dev erlang-base erlang-dev erlang-tools \
supercollider-server sc3-plugins-server alsa-utils libaubio5 jackd2 libjack-jackd2-dev libjack-jackd2-0 libasound2-dev librtmidi-dev pulseaudio-module-jack\
qt5-default qttools5-dev-tools libqt5concurrent5 libqt5core5a libqt5gui5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5concurrent5 libqt5svg5 libqt5widgets5 libqt5svg5-dev \
compton
compton
pulseaudio-module-jack
```
...
...
app/gui/qt/mainwindow.cpp
浏览文件 @
a4b2a002
...
...
@@ -128,7 +128,7 @@ MainWindow::MainWindow(QApplication &app, bool i18n, QSplashScreen* splash)
show_rec_icon_a
=
false
;
restoreDocPane
=
false
;
focusMode
=
false
;
version
=
"3.3-BETA-
4
"
;
version
=
"3.3-BETA-
5
"
;
latest_version
=
""
;
version_num
=
0
;
latest_version_num
=
0
;
...
...
app/mac-release.sh
浏览文件 @
a4b2a002
...
...
@@ -3,7 +3,7 @@ set -eux # Quit script on error
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
cd
"
${
SCRIPT_DIR
}
/build/Sonic Pi.app/Contents/Resources"
cd
"
${
SCRIPT_DIR
}
/build/
gui/qt/
Sonic Pi.app/Contents/Resources"
rm
app etc server
mkdir
app
...
...
app/server/ruby/lib/sonicpi/runtime.rb
浏览文件 @
a4b2a002
...
...
@@ -1332,7 +1332,7 @@ module SonicPi
end
@scsynth_clobber_args
=
@audio_settings
.
scsynth_opts_override
@scsynth_opts
=
@audio_settings
.
scsynth_opts
@version
=
Version
.
new
(
3
,
3
,
0
,
"beta-
4
"
)
@version
=
Version
.
new
(
3
,
3
,
0
,
"beta-
5
"
)
@server_version
=
__server_version
@life_hooks
=
LifeCycleHooks
.
new
@msg_queue
=
msg_queue
...
...
app/server/ruby/lib/sonicpi/scsynthexternal.rb
浏览文件 @
a4b2a002
...
...
@@ -404,18 +404,12 @@ module SonicPi
else
puts
"Booting on Raspberry Pi (32bit OS)"
end
begin
asoundrc
=
File
.
read
(
Dir
.
home
+
"/.asoundrc"
)
audio_card
=
(
asoundrc
.
match
(
/pcm.output\s+{[^}]+\n\s+card\s+([0-9]+)/m
))[
1
]
rescue
audio_card
=
"0"
end
#Start Jack if not already running
if
`ps cax | grep jackd`
.
split
(
" "
).
first
.
nil?
#Jack not running - start a new instance
puts
"Jackd not running on system. Starting..."
jackCmd
=
"jackd -R -p 32 -d alsa -d hw:
#{
audio_card
}
-n 3 -p 2048 -o2 -r 44100
"
jackCmd
=
"jackd -T -ddummy -r48000 -p1024
"
jack_pid
=
spawn
"exec
#{
jackCmd
}
"
register_process
jack_pid
else
...
...
@@ -435,11 +429,13 @@ module SonicPi
boot_and_wait
(
scsynth_path
,
scsynth_opts
)
`jack_connect SuperCollider:out_1 system:playback_1`
`jack_connect SuperCollider:out_2 system:playback_2`
`jack_connect SuperCollider:in_1 system_capture_1`
`jack_connect SuperCollider:in_2 system_capture_2`
`pactl load-module module-jack-source connect=0 client_name=JACK_to_PulseAudio`
`pactl load-module module-loopback source=jack_in`
`jack_connect SuperCollider:out_1 JACK_to_PulseAudio:front-left`
`jack_connect SuperCollider:out_2 JACK_to_PulseAudio:front-right`
sleep
3
end
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录