Did you happen to figure this out? I'm having the same issue.
Post
Replies
Boosts
Views
Activity
This is basic functionality. It's really surprising/embarrassing that all major libraries out there have this functionality built in but the official Apple library MusicKit doesnt provide a simple method to capture the data to create a sound wave chart..