========================= QUICK EXERCISE: guess the sound > Sound s = new Sound(1); > s = s.makeSound1(15); // Try 10*i, too > s.explore(); > Sound s = new Sound(1); // Turn down the volume > s = s.makeSound2(5); // Try i*i*i, too? > s.explore(); ========================= DISCUSS: changing frequency (of my voice) > Sound highVoice = new Sound( "/Users/wallingf/Desktop/the-voice-clipped-and-pitched.aiff" ); > highVoice.play(); > highVoice = highVoice.deepenTheVoiceV1(); > highVoice.play(); > highVoice = new Sound( "/Users/wallingf/Desktop/the-voice-clipped-and-pitched.aiff" ); > highVoice.play(); > highVoice = highVoice.deepenTheVoice(); > highVoice.play(); ========================= EXERCISE: another try at a negative > Sound leghorn61 = new Sound( "/Users/wallingf/Desktop/fogleg61.wav" ); > leghorn61.explore(); > leghorn61.play(); > leghorn61.invertAtMidpoint(); > leghorn61.explore(); > leghorn61.play(); ----- no change -- why?? ----- ... shape of the curve is the same ----- draw inspiration from image negate() > leghorn61 = new Sound( "/Users/wallingf/Desktop/fogleg61.wav" ); > leghorn61.explore(); > leghorn61.negate(); > leghorn61.explore(); ----- still no change... ----- but now a goofy idea... > leghorn61 = new Sound( "/Users/wallingf/Desktop/fogleg61.wav" ); > leghorn61.explore(); > leghorn61.forcePositive(); > leghorn61.explore(); ----- interesting (but meaningless) sound ========================= EXERCISE: reverse a sound > leghorn61 = new Sound( "/Users/wallingf/Desktop/fogleg61.wav" ); > leghorn61 = leghorn61.reverse(); > leghorn61.explore();