(1) I would like to be able to plot a sound wave on Processing while the sound is playing. Just to be clear, I require the same plot that can be achieved in Windows Media Player, through Now Playing / Vizualizations / Bars and Waves / Scope. How can I do this? Would it be possible to have a sample code please?
(2) Secondly,
how could one find out the audio bit depth (i.e. the dynamic range of the signal) that’s being employed whilst Processing is playing the sound on one’s PC?