Thread: Revision 204 Sound Bank

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 Revision 204 Sound Bank 
    WVWVWVWVWVWVWVW

    _jordan's Avatar
    Join Date
    Nov 2012
    Posts
    3,046
    Thanks given
    111
    Thanks received
    1,848
    Rep Power
    5000
    Download soundbank

    This file is a sound bank of all of the instruments that Jagex uses to mix with raw midi music tracks. The above example is a quick way to use it.
    This sound bank can be used and mixed with any mid/midi file. Try it for yourself

    Update: The original upload was not proper and I have updated the link.
    I should mention that it is still not 100% correct but they are very close. I have not been able to completely figure out the issue whether it is the way I decode all of the data from the cache or with the sound font generating. With that being said I will still continue to update the github repo with them between cache changes.
    Attached image
    Attached image
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    DESIGNER

    Lynch's Avatar
    Join Date
    Feb 2016
    Age
    25
    Posts
    235
    Thanks given
    35
    Thanks received
    343
    Rep Power
    5000
    contributor Jordan back at it again.
    Reply With Quote  
     

  4. Thankful user:


  5. #3  
    Registered Member
    Join Date
    Jul 2014
    Posts
    59
    Thanks given
    7
    Thanks received
    58
    Rep Power
    73
    Quote Originally Posted by _jordan View Post
    Download soundbank.sf2

    Basic how to use
    Code:
    val sequencer = MidiSystem.getSequencer()
    val synthesizer = MidiSystem.getSynthesizer()
    synthesizer.open()
    synthesizer.unloadAllInstruments(synthesizer.defaultSoundbank)
    synthesizer.loadAllInstruments(MidiSystem.getSoundbank(ByteArrayInputStream(Path.of("./soundbank.sf2").readBytes())))
    sequencer.open()
    sequencer.transmitter.receiver = synthesizer.receiver
    sequencer.sequence = MidiSystem.getSequence(ByteArrayInputStream(Path.of("./song.midi").readBytes()))
    sequencer.start()
    This file is a sound bank of all of the instruments that Jagex uses to mix with raw midi music tracks. The above example is a quick way to use it.
    This sound bank can be used and mixed with any mid/midi file. Try it for yourself
    Hey, thanks for the contribution, but the sound font you provided is too big and does not produce sound. The OSRS sound banks are supposed to be around 32MB uncompressed. If you'd like, you could check out my cache tool project (Old-School-RuneScape-Cache-Tools) on GitHub. It includes a Sound Bank to Sound Font decoder, which is still being worked on. Otherwise there is a music player tool for playing the tracks or rendering them to wav directly using the cache. I'm still trying to figure out how the music system works, but hopefully this helps!
    Reply With Quote  
     

  6. #4  
    WVWVWVWVWVWVWVW

    _jordan's Avatar
    Join Date
    Nov 2012
    Posts
    3,046
    Thanks given
    111
    Thanks received
    1,848
    Rep Power
    5000
    Quote Originally Posted by lequietriot View Post
    Hey, thanks for the contribution, but the sound font you provided is too big and does not produce sound. The OSRS sound banks are supposed to be around 32MB uncompressed. If you'd like, you could check out my cache tool project (Old-School-RuneScape-Cache-Tools) on GitHub. It includes a Sound Bank to Sound Font decoder, which is still being worked on. Otherwise there is a music player tool for playing the tracks or rendering them to wav directly using the cache. I'm still trying to figure out how the music system works, but hopefully this helps!
    Are you sure it's only supposed to be 32mb? I have a working music player here
    And I recorded it here using this...
    Attached image
    Attached image
    Reply With Quote  
     

  7. #5  
    Community Veteran

    Dust R I P's Avatar
    Join Date
    Jan 2008
    Posts
    2,599
    Thanks given
    197
    Thanks received
    221
    Rep Power
    586
    I mean what's 169.1MB(nice) to a bloated 317 loading ### anyways amirite
    Reply With Quote  
     

  8. #6  
    Registered Member
    Join Date
    Jul 2014
    Posts
    59
    Thanks given
    7
    Thanks received
    58
    Rep Power
    73
    Quote Originally Posted by _jordan View Post
    Are you sure it's only supposed to be 32mb? I have a working music player here
    And I recorded it here using this...
    Yeah, OSRS is supposed to be around 32mb. The recording you have is the RS2 version from before OSRS.

    OSRS sounds like this
    Reply With Quote  
     

  9. #7  
    WVWVWVWVWVWVWVW

    _jordan's Avatar
    Join Date
    Nov 2012
    Posts
    3,046
    Thanks given
    111
    Thanks received
    1,848
    Rep Power
    5000
    Quote Originally Posted by lequietriot View Post
    Yeah, OSRS is supposed to be around 32mb. The recording you have is the RS2 version from before OSRS.

    OSRS sounds like this
    This is dumped directly from my osrs server lol
    https://github.com/runetopic/xlitekt...CacheDumper.kt

    All of the music/instrument/vorbis is loaded server side and the code was copied from osrs client.

    You can see all of the loaders here https://github.com/runetopic/xlitekt...cache/provider
    Attached image
    Attached image
    Reply With Quote  
     

  10. #8  
    Registered Member
    Join Date
    Jul 2014
    Posts
    59
    Thanks given
    7
    Thanks received
    58
    Rep Power
    73
    Quote Originally Posted by _jordan View Post
    This is dumped directly from my osrs server lol
    https://github.com/runetopic/xlitekt...CacheDumper.kt

    All of the music/instrument/vorbis is loaded server side and the code was copied from osrs client.

    You can see all of the loaders here https://github.com/runetopic/xlitekt...cache/provider
    Ah, weird. Your InstrumentEntryType class looks almost identical to the old code I wrote here https://github.com/lequietriot/RuneS...SoundFont.java
    Might be why the soundfont you dumped didn't sound right.
    Reply With Quote  
     

  11. #9  
    WVWVWVWVWVWVWVW

    _jordan's Avatar
    Join Date
    Nov 2012
    Posts
    3,046
    Thanks given
    111
    Thanks received
    1,848
    Rep Power
    5000
    Quote Originally Posted by lequietriot View Post
    Ah, weird. Your InstrumentEntryType class looks almost identical to the old code I wrote here https://github.com/lequietriot/RuneS...SoundFont.java
    Might be why the soundfont you dumped didn't sound right.
    Yeah I was looking for how to make a sf2 file and compared across that one and the original MakeSoundFont from gervill.
    Attached image
    Attached image
    Reply With Quote  
     

  12. #10  
    Registered Member
    Join Date
    Jul 2014
    Posts
    59
    Thanks given
    7
    Thanks received
    58
    Rep Power
    73
    Quote Originally Posted by _jordan View Post
    Yeah I was looking for how to make a sf2 file and compared across that one and the original MakeSoundFont from gervill.
    The original MakeSoundFont code from gervill only works if you have only one sample and want to create a simple instrument. OSRS is a lot more complex because they've got a lot of instrument patches connected to vorbis and sometimes sound effects. Plus, OSRS uses different banks and allows percussion/drum kits on any channel whereas the normal Java synth only allows percussion on channel 9.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [RS2] Sound Banks/Libraries
    By Excavation in forum Help
    Replies: 0
    Last Post: 10-29-2019, 06:30 AM
  2. Replies: 19
    Last Post: 05-05-2012, 01:27 PM
  3. Bank Pin Fourth Screen[Any Revision]
    By Gluon in forum Snippets
    Replies: 2
    Last Post: 04-03-2012, 02:03 AM
  4. Runescape sound bank
    By Dust R I P in forum Help
    Replies: 1
    Last Post: 09-08-2011, 01:50 AM
  5. Bank PIN sounds.
    By Abyssal Noob in forum Requests
    Replies: 2
    Last Post: 10-23-2009, 12:44 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •