lib/songster/generator.rb
def animate_into_gif
      animate = Commander.new("convert -loop 0 -delay 30")
      animate << "#{@dir}/original.miff #{@dir}/opened_mouths.miff"
      animate << Songster.output_folder.join("#{@fname}-singing.gif").to_s
      animate.run!
    end
# Build a gif of the original image and the image with opened mouths
Build a gif of the original image and the image with opened mouths
Build a gif of the original image and the image with opened mouths
def animate_into_gif
      animate = Commander.new("convert -loop 0 -delay 30")
      animate << "#{@dir}/original.miff #{@dir}/opened_mouths.miff"
      animate << Songster.output_folder.join("#{@fname}-singing.gif").to_s
      animate.run!
    end
def animate_into_gif animate = Commander . new ( "convert -loop 0 -delay 30" ) animate << "#{@dir}/original.miff #{@dir}/opened_mouths.miff" animate << Songster . output_folder . join ( "#{@fname}-singing.gif" ) . to_s animate . run! end
Build a gif of the original image and the image with opened mouths
Build a gif of the original image and the image with opened mouths