The RPG Maker Resource Kit

RMRK General => Creativity => Topic started by: Roph on August 30, 2009, 02:11:52 AM

Title: Posting / Embedding your audio files
Post by: Roph on August 30, 2009, 02:11:52 AM
(Redone as of May 28th 2012)

Direct Embedding

The simplest way you can embed audio is to embed a file directly, with either [mp3] or [m4a] tags. Simply put a direct url to your .mp3 or .m4a file in between these tags and a player will be spit out :) For example with [mp3]http://rmrk.net/sunosis.mp3[/mp3]:

Download http://rmrk.net/sunosis.mp3

One thing that seems iffy is using an attached file url in mp3 or m4a tags. Sometimes it seems to work, other times not. Appending ".mp3" to an attachment url won't stop the link working and might get you success. It seems to work on and off depending on SMF version and whatever browser you're using :|

Soundcloud

Rather simple:

[soundcloud]7016087[/soundcloud]

Will show up as:



The number is the song ID. This can be found in the normal embed code given to you by soundcloud when you choose the share option. An easy way to see the ID is to click share and then choose the wordpress option, you will see the ID without having to scroll through lots of HTML to find it:

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F5t3Q9.png&hash=37a6faab27cdd180c6086b0fb70465d594a28c47)

There is also playlist support. You get the playlist ID in the same way as you get the ID for a track above, though the bbcode looks like this:

[soundcloud=playlist]168921[/soundcloud]

This will display like so:



Mixcloud

Finally comes mixcloud support. For this, just wrap a mix URL in [mixcloud] tags. For example, [mixcloud]http://www.mixcloud.com/roph/kick-back-2/[/mixcloud] becomes this:



Title: Re: Posting / Embedding your audio files
Post by: Grafikal on August 30, 2009, 02:30:23 AM
Ohhhh. very cool. I never knew how to do that, I just stuck with hoping to find whatever on Grooveshark. Very nice to know :) Thanks.
Title: Re: Posting / Embedding your audio files
Post by: Zylos on August 30, 2009, 02:39:09 AM
Woohoo, I feel smart for already knowing this. I also feel conceited for saying that.

Anyways, good pro tip to remember. ^_^
Title: Re: Posting / Embedding your audio files
Post by: Irock on August 30, 2009, 02:42:46 AM
I didn't know adding .mp3 to an attached mp3 file url would do the trick. ;o;
Title: Re: Posting / Embedding your audio files
Post by: evildrspock on May 19, 2012, 12:22:34 AM
Can we upload midi files if that's how we wrote them?  I am an avid musician using the likes of Cakewalk Sonar x1 Producer, but save a lot of files to Midi and edit with an older program to make compatible midi files for use in RPG maker.  (I convert most of mine to MIDI for simplicity/campatibility/size in my games)
Title: Re: Posting / Embedding your audio files
Post by: Roph on May 28, 2012, 05:44:12 AM
Redid the first post, added mixcloud support :)