In Matplotlib, Python - Plotting the amplitude of .wav file on 3d axes -


i have simple script generates amplitude plot .wav file follows:-

import matplotlib.pyplot plt scipy.io import wavfile # api  fs, data = wavfile.read('audio1.wav')    # load data  plt.plot(data)  # plot entire amplitude curve of audio file  plt.show() 

resulting in following:-

link example image script outputs here

in 2d image data retrieved audio file provides values plot x , y axes

i have been attempting plot on 3d axes, uasing guide:-

http://matplotlib.org/examples/mplot3d/lines3d_demo.html

but cannot seem extract values x , y axes satisfactorily apply.

any ideas??


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -