lib/model/visual.rb
#Returns false if the visual has no audiotrack, is an image,
#the track is muted or the volume is 0.
#ToDo: Check the audio from the real file(preferably with the aid of audiotools)
#ToDo: Check the levels of volume_points
Returns false if the visual has no audiotrack, is an image,
the track is muted or the volume is 0.
ToDo: Check the audio from the real file(preferably with the aid of audiotools)
ToDo: Check the levels of volume_points
Returns false if the visual has no audiotrack is an image the track is muted or the volume is 0 . ToDo : Check the audio from the real file ( preferably with the aid of audiotools ) ToDo : Check the levels of volume_points
def audio?
    if @mute or @type == "image"
      return false
    else
      return true
    end
  end
def audio? if @mute or @type == "image" return false else return true end end
Returns false if the visual has no audiotrack, is an image,
the track is muted or the volume is 0.
Returns false if the visual has no audiotrack is an image the track is muted or the volume is 0 .
#or @volume == 0 #puts "no audio" #puts "has audio"