Skip to content

Commit 19089d1

Browse files
committed
sort out sound examples
1 parent 44b87f0 commit 19089d1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
###README
1+
### README
22

3-
Sketches in this folder may need to be run with the jruby-complete ie "--nojruby" flag (unless you have set `JRUBY: 'false'` in config.yml). You can use processing-3.0+ to install the sound library from processing.org. This library has been adopted by processing.org, although the minim library is still available to install from the processing ide.
3+
You can use processing-3.0+ to install the sound library from processing.org. This sound library has been adopted by processing.org, although the minim library is still available to install from the processing ide.

processing_app/library/sound/keyboard.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def setup
2222
# 3., n.aif it is easy to iterate through the folder and load all files in
2323
# one line of code.
2424
NUM_SOUNDS.times do |i|
25-
file << SoundFile.new(self, format('%d.aif', (i + 1)))
25+
file << SoundFile.new(self, data_path(format('%d.aif', (i + 1))))
2626
end
2727
end
2828

@@ -86,4 +86,3 @@ def key_pressed
8686
def settings
8787
size 640, 360, P2D
8888
end
89-

0 commit comments

Comments
 (0)