Hi @Ruimao96,
Welcome to the forum! 
In fact installing a library is not enough in order to use it.
Since Processing uses the Java programming language, you need to explicitly import them with the language.
In the Processing editor, you can use the handy tool to import a library, go to Sketch -> Import a library -> Sound library
It will add those lines to your code:
import processing.sound.*;
Which imports all the classes, enums… of the sound library.