Skip to content

Commit 78fcacd

Browse files
committed
correct Rakefiles
1 parent 224a8bd commit 78fcacd

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

processing_app/library/sound/analysis/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ end
2222

2323
def run_sample(sample_name)
2424
puts "Running #{sample_name}...quit to run next sample"
25-
open("|k9 - r #{sample_name}", 'r') do |io|
25+
open("|k9 -r #{sample_name}", 'r') do |io|
2626
while l = io.gets
2727
puts(l.chop)
2828
end

processing_app/library/sound/effects/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ end
2222

2323
def run_sample(sample_name)
2424
puts "Running #{sample_name}...quit to run next sample"
25-
open("|k9 - r #{sample_name}", 'r') do |io|
25+
open("|k9 -r #{sample_name}", 'r') do |io|
2626
while l = io.gets
2727
puts(l.chop)
2828
end

processing_app/library/sound/noise/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ end
2222

2323
def run_sample(sample_name)
2424
puts "Running #{sample_name}...quit to run next sample"
25-
open("|k9 - r #{sample_name}", 'r') do |io|
25+
open("|k9 -r #{sample_name}", 'r') do |io|
2626
while l = io.gets
2727
puts(l.chop)
2828
end

processing_app/library/sound/oscillators/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ end
2222

2323
def run_sample(sample_name)
2424
puts "Running #{sample_name}...quit to run next sample"
25-
open("|k9 - r #{sample_name}", 'r') do |io|
25+
open("|k9 -r #{sample_name}", 'r') do |io|
2626
while l = io.gets
2727
puts(l.chop)
2828
end

processing_app/library/sound/soundfile/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ end
2222

2323
def run_sample(sample_name)
2424
puts "Running #{sample_name}...quit to run next sample"
25-
open("|k9 - r #{sample_name}", 'r') do |io|
25+
open("|k9 -r #{sample_name}", 'r') do |io|
2626
while l = io.gets
2727
puts(l.chop)
2828
end

processing_app/library/sound/soundfile/sampler.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ def draw
3434
background 255
3535
NUM_SOUND.times do |i|
3636
unless play_sound[i].zero?
37-
fill rand(360), 1.0, 1.0
37+
fill(rand(360), 1.0, 1.0)
3838
no_stroke
3939
rect(POSX[i], 50, 128, 260)
40-
rate = OCTAVE.sample
41-
files[i].play(rate, 1.0)
40+
files[i].play(OCTAVE.sample, 1.0)
4241
end
4342
play_sound[i] = rand(0..1)
4443
end

0 commit comments

Comments
 (0)