Either scribbletune or tonal brings in some JS that Max doesnt support. Adding polyfills for Object.fromEntries and Object.keys solves the issue for Riff.amxd but something in Chords is still failing.
The version available for download from maxforlive.com doesnt have this issue as it s using an older version of both scribbletune and tonal.