Python Forum
Error is wave file processing
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error is wave file processing
#2
Line 45 of your code:
plt.plot(time, wave_data[0])
ValueError: x and y must have same first dimension, but have shapes (23493,) and (46986,)

It's in the error traceback, there are among the best constructed error tracebacks in the programming world.

start with the last posted line number from your module, this is where the error initiated.
Code listed after your scripts last line shows what's executed after leaving your module, and code
Code listed before your scripts last line shows what's executed prior to the error.
Reply


Messages In This Thread
Error is wave file processing - by vipinv23 - Jan-18-2019, 10:56 AM
RE: Error is wave file processing - by Larz60+ - Jan-18-2019, 02:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with Logical error processing List of strings dmc8300 3 1,097 Nov-27-2022, 04:10 PM
Last Post: Larz60+
  python one line file processing har 4 3,280 Dec-09-2019, 06:10 AM
Last Post: har
  pdf file processing: how to "Enable Editing" Pavel_47 4 3,223 Dec-04-2019, 10:00 AM
Last Post: Pavel_47
  Trouble processing file villumanati 1 1,645 Jul-30-2019, 04:17 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020