I've found the media_attachment model:
https://github.com/tootsuite/mastodon/blob/master/app/models/media_attachment.rb
Defining audio types there looks straightforward in enough. What I have no idea how to even begin doing is making it render an <audio> tag in the timeline for inline playback.
Forgive me, I am not a developer.
do you have a moment to hear about my lord and savior, audio uploads? Show more
do you have a moment to hear about my lord and savior, audio uploads? Show more
do you have a moment to hear about my lord and savior, audio uploads? Show more
@djsundog Ah, nice trick with the -map 0:a. Sadly if I try to upload such a .webm to a tootsuite/Mastodon instance I get a 500 Server Error.