|
54 | 54 | # as zombies (processes still accidentally running on your computer
|
55 | 55 | # consuming resources).
|
56 | 56 | #
|
57 |
| -# This is achieved via a "Zombie Kill Switch" - a TCP connection with |
58 |
| -# the an external process (such as the GUI) to monitor its status by |
| 57 | +# This is achieved via a "Zombie Kill Switch" - a TCP connection with an |
| 58 | +# external process (such as the GUI) to monitor its status by |
59 | 59 | # continually receiving keep_alive messages. If these messages stop
|
60 | 60 | # being received (for example, if the GUI process exited normally or
|
61 | 61 | # even crashed) then the Daemon will ensure all the processes it spawned
|
62 | 62 | # (Spider, Tau and Scsynth) are terminated.
|
63 | 63 | #
|
64 | 64 | # The port number of this kill switch TCP connection is printed to
|
65 | 65 | # STDOUT. A external process (such as the GUI) must connect promptly and
|
66 |
| -# periodicaly send some bytes (more frequently than every 3s) otherwise |
| 66 | +# periodicaly send some bytes (more frequently than every 5s) otherwise |
67 | 67 | # a timeout will trigger the kill switch and kill all the spawned
|
68 | 68 | # processes.
|
69 | 69 | #
|
|
72 | 72 | # ---------------
|
73 | 73 | #
|
74 | 74 | # Boot Daemon figures out appropriate (and currently free) values for
|
75 |
| -# all the ports used by various processess within Sonic Pi to |
| 75 | +# all the ports used by various processes within Sonic Pi to |
76 | 76 | # communicate with each other. These ports are used to create the
|
77 | 77 | # correct process arguments for spawning and are also passed to STDOUT.
|
78 | 78 | #
|
79 | 79 | # Some of these port numbers need to be known by external processes -
|
80 |
| -# such as a GUI process sends code to run and receives log updates both |
| 80 | +# such as a GUI process that sends code to run and receives log updates both |
81 | 81 | # via UDP to specific ports.
|
82 | 82 | #
|
83 | 83 | # The current allocations of these external port numbers are printed to
|
84 |
| -# STDOUT the current allocations for the following order: |
| 84 | +# STDOUT in the following order: |
85 | 85 | #
|
86 | 86 | # daemon-keep-alive gui-listen-to-server gui-send-to-server scsynth osc-cues
|
87 | 87 | #
|
@@ -628,7 +628,7 @@ def run_post_start_commands
|
628 | 628 | Thread.new do
|
629 | 629 | Kernel.sleep 5
|
630 | 630 | # Note:
|
631 |
| - # need to modoify this to take account for @num_inputs and @num_outputs. |
| 631 | + # need to modify this to take account for @num_inputs and @num_outputs. |
632 | 632 | # These might not always be set to two channels each.
|
633 | 633 | if @jack_booter
|
634 | 634 | #First clear up any pulseaudio remains of module-loopback source=jack_in
|
@@ -707,7 +707,7 @@ class PortDiscovery
|
707 | 707 | attr_reader :ports
|
708 | 708 |
|
709 | 709 | # Change these values to alter the ports
|
710 |
| - # Sonic Pi uses to send and receive messages# at run time: |
| 710 | + # Sonic Pi uses to send and receive messages at run time: |
711 | 711 | PORT_CONFIG = {
|
712 | 712 | # Port daemon uses to communicate with GUI or other controlling process
|
713 | 713 | "daemon-keep-alive" => :dynamic,
|
|
0 commit comments