Tap on the Share button -> Share Audio.
On Android the Share icon is different:

The audio of a song can be shared in WAV, AAC and MIDI formats using the current player settings.

Mac: