How to print the value of the object?

207 Views Asked by At

How to print the values of the objects?

    import amfm_decompy.pYAAPT as pYAAPT
    import amfm_decompy.basic_tools as basic

    signal = basic.SignalObj('microphone-results-6.wav')
    pitch = pYAAPT.yaapt(signal)
    print(pitch)

It is instead printing the object's address. Please help me

1

There are 1 best solutions below

0
AdForte On BEST ANSWER

Have you tried?

pitch.samp_values

then you can plot it like that:

plt.plot(pitch.samp_values)
plt.show()