Generate a riff and play it separately to be able to export the riff as json