Skip to content

Commit

Permalink
tell scsynth not to load default synthdefs
Browse files Browse the repository at this point in the history
  • Loading branch information
jweather committed Jun 26, 2015
1 parent 029d397 commit 8f3a3d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/server/sonicpi/lib/sonicpi/scsynthexternal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def boot_server_osx
log_boot_msg
log "Booting on OS X"
boot_and_wait do
sys("'#{scsynth_path}' -a #{num_audio_busses_for_current_os} -u #{@port} -m 131072&")
sys("'#{scsynth_path}' -a #{num_audio_busses_for_current_os} -u #{@port} -m 131072 -D 0 &")
end
end

Expand All @@ -221,7 +221,7 @@ def boot_server_windows
log_boot_msg
log "Booting on Windows"
boot_and_wait do
@scsynthpid = Process.spawn(scsynth_path, "-u", @port.to_s, "-a", num_audio_busses_for_current_os.to_s, "-m", "131072")
@scsynthpid = Process.spawn(scsynth_path, "-u", @port.to_s, "-a", num_audio_busses_for_current_os.to_s, "-m", "131072", "-D", "0")
Process.detach(@scsynthpid)
end
end
Expand All @@ -241,7 +241,7 @@ def boot_server_raspberry_pi
@jack_pid = `ps cax | grep jackd`.split(" ").first

boot_and_wait do
sys("scsynth -u #{@port} -m 131072 -a #{num_audio_busses_for_current_os} -z 256 -U /usr/lib/SuperCollider/plugins:#{native_path}/extra-ugens/ &")
sys("scsynth -u #{@port} -m 131072 -a #{num_audio_busses_for_current_os} -z 256 -D 0 -U /usr/lib/SuperCollider/plugins:#{native_path}/extra-ugens/ &")
end

`jack_connect SuperCollider:out_1 system:playback_1`
Expand Down Expand Up @@ -269,7 +269,7 @@ def boot_server_linux
end

boot_and_wait do
sys("scsynth -u #{@port} -m 131072 -a #{num_audio_busses_for_current_os} &")
sys("scsynth -u #{@port} -m 131072 -a #{num_audio_busses_for_current_os} -D 0 &")
end

`jack_connect SuperCollider:out_1 system:playback_1`
Expand Down

0 comments on commit 8f3a3d0

Please sign in to comment.