Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » JCS & Scripting

Ever thought of getting .j2b music? I'm sure you have..

BadaboomAri

JCF Member

Joined: Sep 2012

Posts: 27

BadaboomAri is doing well so far

Mar 25, 2013, 02:16 AM
BadaboomAri is offline
Reply With Quote
Post Ever thought of getting .j2b music? I'm sure you have..

Anyone knows how to convert ANY wav,mp3,mp2,mp1,aiff,s3m,mod,it,xm,mtm
etc. etc all to .J2B?
It'll be really helpful indeed.
__________________
Uhm?
cooba

JCF Veteran

Joined: Jan 2004

Posts: 7,823

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Mar 25, 2013, 03:28 AM
cooba is offline
Reply With Quote
Quote:
wav,mp3,mp2,mp1,aiff
Impossible, but JJ2+ allows you to use them in your levels just fine.
Quote:
s3m,mod,it,xm,mtm
mod2j2b
Seren

JCF Member

Joined: Feb 2010

Posts: 872

Seren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to all

Mar 25, 2013, 05:27 AM
Seren is offline
Reply With Quote
By the way, don't convert files to j2b.
__________________

I am an official JJ2+ programmer and this has been an official JJ2+ statement.
DoubleGJ

JCF Member

Joined: Sep 2002

Posts: 3,050

DoubleGJ has disabled reputation

Mar 25, 2013, 07:17 AM
DoubleGJ is offline
Reply With Quote
J2b is extremely obsolete by now. Its only advantage is that it's well compressed so it usually takes less space, but with the current hardware standards, saving ~100KB on a file is pretty much pointless.
__________________
"So unless I overwrote my heart with yours, I think not. But I might have." - Violet CLM

Two Games Joined releases:
Control / Splinter (twin singles)
|| Ballistic Bunny (EP)
||
Beyond (maxi-single)
|| Beyond: Remixed (remix EP)
|| Inner Monsters OST (mini-album)
||
Shadows (album)
ThunderPX

JCF Member

Joined: Dec 2002

Posts: 1,350

ThunderPX is doing well so far

Mar 25, 2013, 09:51 AM
ThunderPX is offline
Reply With Quote
how do i convert flac to snd
Treylina

JCF Member

Joined: Sep 2009

Posts: 1,055

Treylina is a forum legendTreylina is a forum legendTreylina is a forum legend

Mar 25, 2013, 10:18 AM
Treylina is offline
Reply With Quote
Though, you probably shouldn't convert to j2b, for these reasons:
1. It can give off crackling sounds. I'm not a huge audiophile but I happen to notice this, and when it's really noticeable it's annoying.
2. In worst cases, crashing JJ2 instantly when you try it after converting (had this happen once lol).
3. I think mo3 is a better way of compressing modules, less noticeable compression (when minimal ofc) and still makes modules smaller, though I've never converted it like that before so I don't exactly know how to.
5. About boss tracks, angelscript makes this obselete with music changing commands.
6. Most modules are usually small enough to download efficiently for modern computers. I only recommend to try to convert it if it's a large module for a multiplayer level.
__________________


Jazz Jackrabbit group: https://discord.gg/vZm95tQ
minmay

JCF Member

Joined: Aug 2002

Posts: 1,186

minmay is immeasurably awesomeminmay is immeasurably awesomeminmay is immeasurably awesomeminmay is immeasurably awesomeminmay is immeasurably awesome

Mar 25, 2013, 12:30 PM
minmay is offline
Reply With Quote
In my experience the filesize difference between lossless MO3, IT2.14, and J2B compression is insignificant. IT2.14 is supported by the most players, MO3 is the easiest to accurately convert to (and almost always the smallest but not by much), and J2B is the only one supported by unmodified JJ2. If I recall correctly J2B compression is lossless, whatever Treylina heard was probably something that screwed up while converting it, rather than lossy sample compression.

Quote:
Originally Posted by cooba View Post
Impossible
ahem. mentos.s3m
Jgke

JCF Member

Joined: Sep 2006

Posts: 974

Jgke is an asset to this forumJgke is an asset to this forum

Mar 25, 2013, 12:48 PM
Jgke is offline
Reply With Quote
It's possible to convert mp3's etc into modules, it just really doesn't have any other advantages except being possible to listen on unmodified JJ2.
DoubleGJ

JCF Member

Joined: Sep 2002

Posts: 3,050

DoubleGJ has disabled reputation

Mar 25, 2013, 11:10 PM
DoubleGJ is offline
Reply With Quote
Quote:
Originally Posted by minmay View Post
ahem. mentos.s3m
how many khz does that thing have though

it's like listening to the mentos ad on a microwave
__________________
"So unless I overwrote my heart with yours, I think not. But I might have." - Violet CLM

Two Games Joined releases:
Control / Splinter (twin singles)
|| Ballistic Bunny (EP)
||
Beyond (maxi-single)
|| Beyond: Remixed (remix EP)
|| Inner Monsters OST (mini-album)
||
Shadows (album)
minmay

JCF Member

Joined: Aug 2002

Posts: 1,186

minmay is immeasurably awesomeminmay is immeasurably awesomeminmay is immeasurably awesomeminmay is immeasurably awesomeminmay is immeasurably awesome

Mar 25, 2013, 11:25 PM
minmay is offline
Reply With Quote
Sadly I seem to have lost mentos.s3m for the second time, but I'm guessing it was 8363hz.
Stijn

Administrator

Joined: Mar 2001

Posts: 6,968

Stijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to behold

Mar 25, 2013, 11:56 PM
Stijn is offline
Reply With Quote
Is that like this
Treylina

JCF Member

Joined: Sep 2009

Posts: 1,055

Treylina is a forum legendTreylina is a forum legendTreylina is a forum legend

Mar 26, 2013, 08:44 AM
Treylina is offline
Reply With Quote
Quote:
Originally Posted by minmay View Post
If I recall correctly J2B compression is lossless, whatever Treylina heard was probably something that screwed up while converting it, rather than lossy sample compression.
Then the converter sucks. I actually hear slight crackle noises in some of the original j2bs, though not as noticably. Maybe because of the high sound frequency some people can't hear it, idk.
__________________


Jazz Jackrabbit group: https://discord.gg/vZm95tQ
minmay

JCF Member

Joined: Aug 2002

Posts: 1,186

minmay is immeasurably awesomeminmay is immeasurably awesomeminmay is immeasurably awesomeminmay is immeasurably awesomeminmay is immeasurably awesome

Mar 26, 2013, 12:23 PM
minmay is offline
Reply With Quote
That's probably just because the original j2bs have terrible samples.

Quote:
Originally Posted by Stijn View Post
Is that like this
Nope, that's 22050hz. Keep in mind it's 8-bit.

Edit: Here it is at 8363.

Last edited by minmay; Mar 26, 2013 at 09:10 PM.
KRSplatinum

JCF Member

Joined: Jul 2013

Posts: 263

KRSplatinum is a forum legendKRSplatinum is a forum legend

Jan 9, 2014, 07:15 AM
KRSplatinum is offline
Reply With Quote
You could just change the file extension from whatever it is now to .j2b ...
If you aren't planning on using the .j2b files for anything.
Even an .exe file would work if you wanted to do that.

Oh well, if you want to convert, say, an .mp3 to a .j2b here's my instructions.
- Get OpenMPT, this is a free module tracker program that works for Windows.
- Convert your .mp3 to .wav, this is the format we will use on OpenMPT to eventually plug into your .j2b file.
- Implement the .wav file into an OpenMPT project as a sample or an instrument.
- In the sequence editor, place the .wav sample as a note on the first line of the first pattern.
- Create enough blank patterns so that the music module is long enough to play the full .wav file as a sample.
- Once you tested it by playing to see if the mod works, save your project as a .mod or one of the formats cooba mentioned above that can be used with mod2j2b.
- Use mod2j2b.
- Voila, I think you would then have a .j2b which can be opened with OpenMPT or vanilla JJ2.

Hm...

Actually how about considering the new OpenMPT can actually edit .j2b files, instead of saving your project as a .mod file, just save it directly as a .j2b file and you won't need .mod2j2b.
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 07:52 AM.