Skip to content

Commit

Permalink
Fix boot command on linux to work with new boot_and_wait. Fixes sonic…
Browse files Browse the repository at this point in the history
…-pi-net#770

Use spaces in linux command for consistency
  • Loading branch information
xavriley committed Nov 5, 2015
1 parent 46b7dd2 commit 1843013
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/server/sonicpi/lib/sonicpi/scsynthexternal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,7 @@ def boot_server_linux
log "Jackd already running. Not starting another server..."
end

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

`jack_connect SuperCollider:out_1 system:playback_1`
`jack_connect SuperCollider:out_2 system:playback_2`
Expand Down

0 comments on commit 1843013

Please sign in to comment.