             synced = true
           end
         rescue
-          sleep 1.0 / 100.0
+          sleep 1.0 / 128.0
           next
         end
       end

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

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