Example: CustomMP3-Engine

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • RizlaUK
    Indigo Rose Customer
    • May 2006
    • 5552

    Example: CustomMP3-Engine

    ok guys, i had a moan in another post about boreing functionless mediaplayers so heres an example of how to add a 10 band eq + spectrum, preamp, echo, surround and more to a AMS mp3 player useing RSPMP3 ocx from RSP Software

    this example was made with v2.8.0 but the ocx has been updated to 3.2.0 so check out the new version for even more functions

    luaCOM and SliderEX plugins required for example
    Last edited by RizlaUK; 08-04-2008, 10:49 AM.
    Embrace change in your life, you never know, it could all work out for the best
  • Esfahan
    Forum Member
    • Oct 2007
    • 233

    #2
    :yesBest Job of Rizla:yes

    Comment

    • DavidVR
      Forum Member
      • Jan 2008
      • 35

      #3
      Thanks RizlaUK, you are a master.
      :yes:yes:yes:yes:yes:yes:yes:yes

      Comment

      • RizlaUK
        Indigo Rose Customer
        • May 2006
        • 5552

        #4
        ok, when i downloaded this ocx 6+ months ago it was public domain and i even downloaded the source code, there was a notice saying "all our ocx's are now public domain" at the website that was at this address
        http://rspsoftware.bighost.com.br/ but the site no longer exists (has been removed)

        i downloaded the 3.2.0 update and it seems that its been removed from the public domain and is back to shareware, this site http://rspsoftware.com.br/ now host the site and theres a notice saying "The source code of our software is available by request"

        so untill i get a answer from the author(s) over the actual status of the ocx then i have removed the above example.

        for this example you will need to download the shareware version from http://rspsoftware.com.br/

        sorry, but i dont want to get sued!!
        Last edited by RizlaUK; 02-01-2009, 11:34 AM.
        Embrace change in your life, you never know, it could all work out for the best

        Comment

        • RizlaUK
          Indigo Rose Customer
          • May 2006
          • 5552

          #5
          iv often seen bassmod but never used it

          thanks for the example, i will have a play with dll and see what it can do
          Embrace change in your life, you never know, it could all work out for the best

          Comment

          • Teqskater
            Forum Member
            • Apr 2007
            • 175

            #6
            can we do more with bassmod?
            i dont know how to work with dll's.
            Would be nice to see an example with all possibilitys of bassmod.
            I realy love it.

            Comment

            • Esfahan
              Forum Member
              • Oct 2007
              • 233

              #7
              what is "SnD - sND TeaM .nfo viewer 0.1.xm" format?mp3?
              what is other functions?

              Comment

              • Teqskater
                Forum Member
                • Apr 2007
                • 175

                #8
                Rizla:
                i will have a play with dll and see what it can do
                What do you mean with that. Im curious .
                Are you creating another example? More advanced?
                :lol:lol:lol

                Comment

                • Esfahan
                  Forum Member
                  • Oct 2007
                  • 233

                  #9
                  Originally posted by credo
                  It's tracker module format (mod, it, s3m, umx) - are small and funny. You can download they anywhere, like: http://**********.com/users/6W5PY5

                  Also bass archive include additional dll for free mp3 using!
                  Bass dll with modules support many much music formats.:yes
                  See help file for other functions and features.
                  Thanks for the reply:yes

                  Comment

                  • RizlaUK
                    Indigo Rose Customer
                    • May 2006
                    • 5552

                    #10
                    hold on, i just noticed something here


                    this code
                    Code:
                    -- loading and initializing
                    hDLL = DLL.CallFunction("kernel32.dll", "LoadLibraryA", "\""..cPathDLL.."\"", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL); 
                    if (hDLL ~= 0) then 
                    	fDll = DLL.CallFunction(cPathDLL, "BASS_Init", "-1,44100,0,0,0", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL); 
                    	if (fDLL ~= 0) then
                    		sDLL = DLL.CallFunction(cPathDLL, "BASS_Start", "", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL); 
                    		if (sDLL ~= 0) then
                    			-- playing parameters must be calculated, for example: 4+2=6 / you also can use this newest correct method
                    			iDLL = DLL.CallFunction(cPathDLL, "BASS_StreamCreateFile", "0,\""..cPathMuz.."\", 0, 0,"..BASS_MUSIC_MONO+BASS_MUSIC_LOOP, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);
                    			if (iDLL ~= 0) then
                    				-- 1 = true, 0 = false
                    				DLL.CallFunction(cPathDLL, "BASS_ChannelPlay", iDLL..",1", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL); 
                    			end 
                    		end 
                    	end 
                    end

                    what exactly is the call to "LoadLibraryA" for, is this doing what i think its doing ??
                    Embrace change in your life, you never know, it could all work out for the best

                    Comment

                    • siray
                      Forum Member
                      • Oct 2006
                      • 120

                      #11
                      Great job Mr Dean

                      Comment

                      • Teqskater
                        Forum Member
                        • Apr 2007
                        • 175

                        #12
                        Can somebody create an example that has functions to play stop pause set/get volume set loop an xm module with bassmod?

                        Comment

                        • JDog37
                          No longer a forum member
                          • Feb 2008
                          • 566

                          #13
                          Prev - Next???

                          I am brand new to coding and can only do it in a time frame, (Kids) lol, Anyway i can't figure out the code for the preview button or the Next button on this one??!!

                          Can anyone give me pointers?:o

                          Thank You.

                          Comment

                          • RizlaUK
                            Indigo Rose Customer
                            • May 2006
                            • 5552

                            #14
                            I am brand new to coding and can only do it in a time frame, (Kids)
                            yeah, i know the feeling, since we had our 2nd time has become very valuable.


                            im about to ***** open this example and add the seek functions, i had a few requests for this so im doing it now
                            Embrace change in your life, you never know, it could all work out for the best

                            Comment

                            • JDog37
                              No longer a forum member
                              • Feb 2008
                              • 566

                              #15
                              See..

                              I said you were the man!! Lol! I got 5 rug rats running around and time is not around to really try and focus.

                              Thanks again!

                              Comment

                              Working...
                              X