Skip to content
Browse files

Remove test file.

  • Loading branch information...
1 parent 00d05f3 commit 801c3689837cc221d00dc1380257a5182d770f31 @gabebw committed Oct 2, 2012
Showing with 0 additions and 36 deletions.
  1. +0 −36 lib/musical_spec/bloops.rb
View
36 lib/musical_spec/bloops.rb
@@ -1,36 +0,0 @@
-#!/usr/bin/env ruby
-class SoundPlayer
- def initialize
- @bloopsaphone = Bloops.new
- @sound = @bloopsaphone.sound(Bloops::SQUARE)
- @sound.sustain = 1
-
- @note = Note.new
- end
-
- def start
- 200.times do
- @bloopsaphone.clear
- if success?
- @note.next!
- else
- @note.next!
- # @note.prev!
- end
-
- @bloopsaphone.tune(@sound, @note.note)
- @bloopsaphone.play
- sleep 0.1 #while !@bloopsaphone.stopped?
- end
- end
-
- private
-
- def success?
- rand(2) == 0
- end
-end
-
-
-player = SoundPlayer.new
-player.start

0 comments on commit 801c368

Please sign in to comment.
Something went wrong with that request. Please try again.