Thread: Sounds & Music

Page 7 of 19 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 182
  1. #61  
    Registered Member
    natsu's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    3,435
    Thanks given
    1,084
    Thanks received
    676
    Rep Power
    1096
    Quote Originally Posted by Galkon View Post
    Fading won't work at all for this lol I've tried. The volume control for midis in Java is so poor without your own soundbank that it's pointless to even do fading because it will lower it a fraction of a fraction of a decibel.
    ok well thats to bad anyway the music wont play for me? any reason?
    Reply With Quote  
     

  2. #62  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    What is "currentSound" for renamed?
    "soundVolume" also
    "Know thy self, know thy enemy. A thousand battles, a thousand victories." - Sun Tzu
    GitHub: https://github.com/Faris-Mckay
    Reply With Quote  
     

  3. #63  
    Retired. Stop PMing me.


    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    17
    Posts
    7,526
    Thanks given
    1,805
    Thanks received
    2,830
    Rep Power
    5000
    Idk compare it with your variables in your client. soundVolume you probably have to add.
    Attached image
    Reply With Quote  
     

  4. #64  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    Urgh.. this is all become a mighty pain in that ass all for multiple sound support, I'm going to revert back to my old system and try and add onto it then, but thanks anyway galkon, Just this would require far too much renaming
    "Know thy self, know thy enemy. A thousand battles, a thousand victories." - Sun Tzu
    GitHub: https://github.com/Faris-Mckay
    Reply With Quote  
     

  5. #65  
    Retired. Stop PMing me.


    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    17
    Posts
    7,526
    Thanks given
    1,805
    Thanks received
    2,830
    Rep Power
    5000
    Quote Originally Posted by Faris View Post
    Urgh.. this is all become a mighty pain in that ass all for multiple sound support, I'm going to revert back to my old system and try and add onto it then, but thanks anyway galkon, Just this would require far too much renaming
    You just compare like packet 174 to your packet 174 and then change my names to yours or yours too mine. I renamed like 3 things and added 1.
    Attached image
    Reply With Quote  
     

  6. #66  
    Registered Member
    natsu's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    3,435
    Thanks given
    1,084
    Thanks received
    676
    Rep Power
    1096
    in Signlink under run()

    this is your code (doesnt work)

    if (play) {
    midi = s + savereq;
    try {
    if (music != null) {
    music.stop();
    music.close();
    }
    playMidi(midi);
    } catch (Exception ex) {
    ex.printStackTrace();
    }
    play = false;
    }
    savereq = null;

    My Code Does work any idea?
    if(midiplay)
    {

    midi = s + savereq;
    try {
    if (musicSr != null)
    {
    musicSr.stop();
    musicSr.close();
    }
    musicSr = null;
    musicS = null;

    File music = new File(midi);
    if(music.exists())
    {
    musicS = MidiSystem.getSequence(music);
    }

    // Create a sequencer for the sequence
    musicSr = MidiSystem.getSequencer();
    musicSr.open();
    musicSr.setSequence(musicS);
    musicSr.setLoopCount(musicSr.LOOP_CONTINUOUSLY);
    musicSr.start();

    } catch (Exception ex) {
    ex.printStackTrace();
    }


    midiplay = false;
    Reply With Quote  
     

  7. #67  
    Registered Member

    Join Date
    Feb 2012
    Posts
    336
    Thanks given
    3
    Thanks received
    29
    Rep Power
    101
    You impress always me

    -You read that wrong?


    VOUCHES
    [SPOIL]
    Quote Originally Posted by SacredPK View Post
    Vouch for African
    Quote Originally Posted by Raw Envy View Post
    Vouch for African seems like a nice guy and trustworthy
    [/SPOIL]
    Reply With Quote  
     

  8. #68  
    Номер 1


    Leanbow's Avatar
    Join Date
    Feb 2008
    Posts
    5,895
    Thanks given
    1,564
    Thanks received
    2,624
    Rep Power
    5000
    Quote Originally Posted by Faris View Post
    What is "currentSound" for renamed?
    "soundVolume" also
    top spamming ill derep you again if you do
    Reply With Quote  
     

  9. #69  
    Retired. Stop PMing me.


    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    17
    Posts
    7,526
    Thanks given
    1,805
    Thanks received
    2,830
    Rep Power
    5000
    Quote Originally Posted by R2range View Post
    in Signlink under run()

    this is your code (doesnt work)




    My Code Does work any idea?
    Idk my playMidi is prob about the same code.
    Attached image
    Reply With Quote  
     

  10. #70  
    Registered Member
    natsu's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    3,435
    Thanks given
    1,084
    Thanks received
    676
    Rep Power
    1096
    Quote Originally Posted by Galkon View Post
    Idk my playMidi is prob about the same code.
    that are the only differences anyway could it be possible that it only work for some sound cards?
    Reply With Quote  
     

Page 7 of 19 FirstFirst ... 5678917 ... 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. Replies: 7
    Last Post: 03-14-2012, 02:54 PM
  2. Sounds and Music
    By Dennis in forum Help
    Replies: 2
    Last Post: 06-01-2010, 01:31 AM
  3. Music and Sounds
    By Viii in forum Tutorials
    Replies: 43
    Last Post: 07-05-2009, 01:12 PM
  4. Sounds, music and more.
    By Inside Sin in forum Requests
    Replies: 0
    Last Post: 10-05-2008, 06:40 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
  •