# File lib/commands/sound.rb, line 44
  def start
    if @action == :file
      @nxt.play_sound_file(@file,@repeat)
    else
      @nxt.play_tone(@note.to_freq,(@duration * 1000).to_i)
    end
    
    # TODO figure out a logical way to repeat a tone without blocking execution
    
    if @wait
      if @action == :tone
        sleep(@duration)
      else
        # TODO don't know how to sleep until a sound file finishes
      end
    end
  end