💾 Archived View for taoetc.org › publishing_songs_to_mastodon › index.gmi captured on 2024-02-05 at 09:34:46. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
This is a quick guide for musicians who want to publish their songs on Mastodon. Mastodon supports uploading media, and music files will be embedded so that followers can listen to it from their timeline. But there's a small trick that greatly improves the experience: adding covert art!
You can the lame MP3 encoder to convert WAV files to MP3 and add a cover image. All you need to do is:
lame --ti cover.jpg song.wav song.mp3
Now when you attach the song.mp3 file to a Mastodon post the embedded player will show the cover image, and it will also have a nice background color based on the cover art:
Screenshot of a Mastodon post showing the music player using the cover art embedded in the MP3 file.
Edit: turns out you can now do this from the UI! Just upload an MP3 and then click the edit button. You'll be able to choose an image file to use as the cover. So cool!
Published on 2022-11-09 17:04:08+00:00 by Beto Dealmeida <roberto@dealmeida.net>.