       sleep 0.5
       cue :up_beat
       #{ if parent == false, do: "sleep 0.5", else: "#"}
+      #{sync_to_network}
       """
       true ->
         "#"

    $tempo = #{val}
    """
  end
  def maestro_beat_pattern(parent, beats_per_measure) do
    sync_to_network = case parent do
      false -> "#"

    # Main tempo cueing / UDP broadcasting thread
    live_loop :beat_pattern do
      use_bpm $tempo
      cue  :beat1
      cue :down_beat
      sleep 0.5
