Closed jeremydouglass closed 4 years ago
...note however that the sketches aren't identical anymore (between the tutorial and the PDE examples folder, the code contents are now different in some cases). It looks like perhaps the example sketches were updated / evolved over time, but the tutorial ones did not. So it is possible that this should be amended by making the tutorial better aligned to the new examples ... or that should be a separate issue / PR.
Aligning the Sound examples is a welcome PR. I'm checking them out right now to see which is the most updated.
I looks like the text added through this PR mangled the comments. I am making this change right now and I'll update it. Thank you for catching these things and making the PR!
/**
* Processing Sound Library, Example 3
*
* This example shows how to make a simple sampler and sequencer
* with the Sound library. In this sketch, five different samples are
* loaded and played back at different pitches, in this case five
* different octaves. The sequencer triggers an event every 200-1000
* milliseconds randomly. Each time a sound is played a colored
* rect with a random color is displayed.
*
Load this example with included MP3s from:
Examples > Libraries > Sound > Soundfile > Sampler
*/
Sorry, I shouldn't have opened the PR until I finished running my test build. Hope you saw the note about sketch alignment as well -- I can make that a separate issue later since this is being merged now.
I think it's finished now with example alignment and correcting the comments. I'm re-building the tutorial and checking.
Link to tutorial sketches to related examples sketches that contain required mp3s.