Skip to content

Paltalk Music Bot Out :)

Viewing 15 posts - 31 through 45 (of 58 total)
  • Author
    Posts
  • #179698
    Admin
    Administrator

    Umm never though bout it, but it sounds cool i give it a try 🙂

    #179697
    method
    Member

    @philips wrote:

    The musicbot works great only it uses between 90- 100 % of my cpu at first it didnt do it by when i start it now it stays like that. What can i do to fix this?

    Kind Regards philips

    Turn off your visualization . Even the orginal media player with visualization consumes up to 70 percent of cpu!!

    #179696
    method
    Member

    loco is there any update for version 125 . i got version 122 only and send song name does not work!!

    loco could u show me how u move listbox highlight downward baced on current playlist song?Thanks

    #179695
    Admin
    Administrator

    Aigh I give it a quick update but you know it still eats lots of ucp I havent work on that, and the code to do that I got to check i send to ya 8)

    #179694
    method
    Member

    @Admin wrote:

    Aigh I give it a quick update but you know it still eats lots of ucp I havent work on that, and the code to do that I got to check i send to ya 8)

    looking forward for upadate and move highlight code.
    Even media player itself consumes lots of cpu power around 70 percent . Then why we should worry. Could u tell me why? How we can reduce cpu usage?

    #179693
    Admin
    Administrator

    well, if you have a good pc its not biggy and if the program is on a pc by itself no other programs, but if u doing other stuff and using the music bot is a drag things are mad slow.

    hey here the code to go to next you need to put in on a timer

    Private Sub Timer1_Timer()
    Dim lngIdx As Long

    lngIdx = List1.ListIndex
    lngIdx = lngIdx + 1

    If lngIdx >= List1.ListCount Then
    lngIdx = 0
    End If

    List1.ListIndex = lngIdx

    End Sub

    i gonna try to update the music bot later 🙂

    #179692
    method
    Member

    loco how it knows that the current song is finished and now time to move to next and move the highlight?

    #179691
    Admin
    Administrator

    Aigh using the wmp control as example in a timer put this

    Dim lngIdx As Long

    If wmp.Status = "Stopped" Then
    lngIdx = List1.ListIndex
    lngIdx = lngIdx + 1
    wmp.Controls.play
    End If

    If lngIdx >= List1.ListCount Then
    lngIdx = 0
    End If

    List1.ListIndex = lngIdx

    you see this part of the code

    If wmp.Status = "Stopped" Then 

    checks to see if the song has stop, if so then it will go to the next song which this part of the code does that

        lngIdx = List1.ListIndex
    lngIdx = lngIdx + 1

    then it will play that song with this code

    wmp.Controls.play

    the other stuff is there to check if that was the last song if so go to the first song I am talking bout this 🙂

    If lngIdx >= List1.ListCount Then
    lngIdx = 0
    End If

    List1.ListIndex = lngIdx

    I was goign to put the actual cot from the music bot but its crazy lol

    #179690
    method
    Member

    loco my listbox is already populated with song path and it plays all the songs one by one but the only problem is that the highlight does not moveing downward . could u show me that checking on play command button? Thanks

    #179689
    Admin
    Administrator

    umm, it does highlight its, let me check it ah i updated the music bot to work with all paltalk and i think I hope i finally solve the cpu usage problem 🙂

    if you want i can post the code so u check it.

    #179688
    method
    Member

    @Admin wrote:

    umm, it does highlight its, let me check it ah i updated the music bot to work with all paltalk and i think I hope i finally solve the cpu usage problem 🙂

    if you want i can post the code so u check it.

    Yes man post the code. How did u solve the cpu usage?Thanks

    #179687
    Admin
    Administrator

    well it was the timer1.interval was to low it was 1 ehhe i did it like that so will be faster but that ate the cpu like crazy now its 400 which does the same job since paltalk is not that fast fir the most part lol.

    ah too much stuff 🙂 anyways check the visual forums i will put it there 🙂

    #179686
    method
    Member

    thanks loco for the code. Loco could u just show me how to play a single file only automatically without a button . I am working in program that want to add to it events sounds just like paltalk and i do not know if i still need media player since i need the sounds to play fasts on diffrent events.I be happy if u show me how that can be done. i want the mp3/wma/wave to plae fast since it is for diffrent events.Thanks

    #179685
    Admin
    Administrator

    Umm you mean lets say you have the audio directory in a textbox, right? I still confuse, aigh but if its something like that wha you do is on button put

    wmp.URL = Text1.Text
    wmp.Controls.play

    where textbox1 is where the file is located at 🙂

    is this wha u mean ❓

    #179684
    method
    Member

    Thanks Man that work but do u think this will play the sound fast enough ?
    Is this right method for playing event sounds fast? I have seen application play sounds for diffrent events but they did not display any media player on them. 😆 😆 How they do that?

    I tried your code it works in button but when i put it inside if statment
    it takes long to play the sound

    If (Text1 = 1296889) Then

    WindowsMediaPlayer1.URL = Text6.Text
    WindowsMediaPlayer1.Controls.play

    ElseIf Text1 = 58519 Then
    Label2.Caption = "Sorry"
    Else

    I am looking for very fast way so it plays the sound immeditly without delay on diffrent events just like paltalk sound events.

    Furthermore,does it play wave and wma files using the method u suggested? i tested in mp3 it worked. Do i need any timer for this method?

Viewing 15 posts - 31 through 45 (of 58 total)
  • You must be logged in to reply to this topic.