Thread: Loading specific .midi files from the cache?

Results 1 to 3 of 3
  1. #1 Loading specific .midi files from the cache? 
    Registered Member
    Join Date
    Apr 2012
    Posts
    1
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I'm making a Music System, this is what I have so far:

    Code:
    if (c.absX >= 3205 && c.absX <= 3216 && c.absY >= 3209 && c.absY <= 3229) {
    c.outStream.createFrame(74);//Lumbridge
                c.outStream.writeWordBigEndian(76);
    How can I make it so it plays specific .midi files that I place in the cache:

    Code:
    if (c.absX >= 3205 && c.absX <= 3216 && c.absY >= 3209 && c.absY <= 3229) {
    c.outStream.createFrame(74);//Lumbridge
                c.outStream.playMidi(./cache/midi/Harmony.midi);
    That's just an example, but I hope you understand what I am trying to say. I've tried everything. And I am in need of some help.

    -Thanks.
    Reply With Quote  
     

  2. #2  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    I would also like to know this if someone was o so generous.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2011
    Posts
    53
    Thanks given
    5
    Thanks received
    4
    Rep Power
    0
    I would also like to know how to do this.

    Bump.
    Reply With Quote  
     


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. Replies: 0
    Last Post: 06-19-2011, 11:34 PM
  2. cache loading GZ files problem
    By joelivesup in forum Help
    Replies: 5
    Last Post: 03-27-2011, 11:26 AM
  3. Replies: 51
    Last Post: 08-09-2010, 06:53 PM
  4. Replies: 3
    Last Post: 05-28-2010, 10:10 PM
  5. Replies: 3
    Last Post: 03-27-2010, 08:26 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •