The original library had a getSources() and setSources() method for p5.Input(), new p5.sound should have this as well.