Page 1 of 5 12345 LastLast
Results 1 to 10 of 46

Thread: High performance RR like frontend - Alpha testversion

  1. #1
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145

    Wink High performance RR like frontend - Alpha testversion

    Hi!

    Today i provide you my quick hack of a new frontend. It is based partialy on the rr concept and it only exists, cause changing rr for my needs would take the same time, i think. There is another frontend "velocity", which i wanted 2 use, but unfortunately there is no source available.

    This frontend is 6 times faster then rr and probably one of the fastest possible frontend in a "high" programming language (C#). This means: cpu load with rr: 60% -> now 10%. Why fastest possible? In the whole program there is no loop and no timer - everything is event based, also in the flash skin. So the framerate of the skin does not affect performance, as it does with rr.

    In this version you can test the music playback - main skin and audio browser are included.

    If you have a small hardware (like me) or want 2 use heavier flash skins or you want a cooler cpu, then try it out.

    How 2 run it?
    You need:

    Winamp 5.x
    ActiveWinamp http://sourceforge.net/projects/activewinamp/
    .Net 2.xx
    Flash Player 9.x

    Please note: In the file audiobrowser.skin you must change the line
    O,FB1,Carmen.FileBrowser,t:\sound,10,1
    and replace t:\sound with the path 2 your music files...

    Have fun
    Reflex


    Edit:
    I've attached an update - this includes a new build with internal gps support and external application support (tested with destinator)...
    Just extract the files from CarmenAlpha02.rar over the old ones from the first release.
    Please check .skin files 4 com port, path and so on.

    Edit2:
    minor update - some bugfixes, main menu changed 2 slow it down *g*
    Edit3:
    major update - audio skin, winamp media library skin, bugfixes, transparent skin - etc
    please note to configure now also "carmen.ini"
    Edit4:
    Possible crash @ start and gps reading fixed - log file added.
    Edit5:
    major update - video browser (based on media player 9), big cover art (in audio skin press "Cover"),
    OSK integration (you need autoit installed 2 use the osk...)
    Edit6:
    Beta version released

  2. #2
    Variable Bitrate
    Join Date
    May 2004
    Posts
    335
    This looks interesting and has potential for Epia-M 500 users like me.

  3. #3
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145
    if there is some interest, i could post a new version with:

    - internal gps support (automatic volume adaption)
    - external application support (destinator 6 for example)

    if you want 2 do your own skin (or you can adapt an rr flash skin - its very easy), i can give you a short how-to...

  4. #4
    Newbie
    Join Date
    Jan 2005
    Location
    Sweden
    Posts
    26
    Please do !

    If this turns out well, maybe my SP13000 can live a while longer

  5. #5
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145
    @HaPe: did you already tested, if it runs on your machine?
    Please post some test results (CPU load, Hibernation ok, etc)...

    I have a Celeron 500 MHz and i have 10% load - Hibernation (also during playback) runs perfect -> continues to play and normal screen update...

  6. #6
    FLAC sama's Avatar
    Join Date
    Feb 2006
    Location
    London, UK
    Posts
    1,375
    Hey Reflex

    I'm guessing the event based model is a very similar one to the one in Velocity. Which is not a problem, since I put my thoughts and designs for others to benefit from.

    As I said in our conversations on MSN, I'm happy to share the source code with co-developers. But the project isn't open source project. It's free for everyone to use, and free for developers to develop for. The only time I wanted to charge someone, is if they used the framework to make some money themselves, by selling a plug-in for example.

    I guess this didn't appeal to you and therefore you started this new project. Please don't get me wrong, I have nothing against you starting your own project, and it can be an exact replica of Velocity without bothering me at all. I would wish you all the best with it genuinely.

    It's just that with two minds, and two sets of complementing skills (Java/C#), a lot more can be achieved. I've already solved many of the design-problems you have/will face, and no doubt you have done/will do the same.


    You have my msn if you want to talk about that, but that aside, I'm interested to know the mechanism you're using to talk to/from Flash to .net?

    Sama

  7. #7
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145
    Hi sama,

    i think it was a missunderstanding, cause i thought you wont share the source. I still can help you with some code (maybe the destinator wrapper). But thats not the only reason i've started a new project...

    - in C# its easier to access controls and dlls
    - in C# its easier to embedd and host external applications
    - i dont need any other plattform then windows
    - my main focus is on music playback, not video
    - i wanted 2 use activewinamp, cause of media library support

    The mechanism of the flash communication:
    C# -> Flash:
    Code:
    moForm.axShockwaveFlash.CallFunction("<invoke name=\"" + sName + "\" returntype=\"xml\"><arguments><string>" + sValue + "</string></arguments></invoke>");
    in Flash you have to register callbacks like:
    Code:
    ExternalInterface.addCallback("VOLUME", this, Volume);
    Flash -> C#:
    in Flash you call fscommand(command, parameter)
    and in C# i have a command dispatcher based on a hashtable of available commands, who calls the registered callback(s). Every component can register itself by the dispatcher - for example the audioplayer registers the command "PLAY" to his callback "PlayMusic"...

    Thanks 4 your inspiration with velocity and i wish you also the best with it. It has a great potential! I hope you find the time to finish it!

    Best regards
    Reflex

    PS: I will call you later on msn...

  8. #8
    FLAC sama's Avatar
    Join Date
    Feb 2006
    Location
    London, UK
    Posts
    1,375
    Thanks for the help with the destinator plugin, I may well take you up on that offer!

    Interesting comms approach. I wonder how it would handle a large volume of data from C#->Flash, such as a huge list of files? (if the user searches for * for instance).

  9. #9
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145
    Quote Originally Posted by sama View Post
    Interesting comms approach. I wonder how it would handle a large volume of data from C#->Flash, such as a huge list of files? (if the user searches for * for instance).
    *ggggg* nice try...

    There is no huge list of files, cause the backend only transfers what the user can see. If you take a look @ the ini files you can see some numbers behind the filebrowser and audioplaylist objects - they indicate how many items the object sends to the frontend. Just make a test...

  10. #10
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,513
    for file lists or playlists.. in rr you just pass a single variable to flash, which is made up of every track seperated by chr(13). Then the flash takes care of the splitting and arranging. If you then want to load / play anything in that list, you just send two commands ie.. goto;13 (goes to number 13 in the array).. then play.

    Just passing a single variable is lots easier than trying to pass some sort of array list. Its very easy to code for in flash as well.

Page 1 of 5 12345 LastLast

Similar Threads

  1. RR Newb... need help/suggestions.
    By Nola111 in forum Road Runner
    Replies: 19
    Last Post: 03-12-2007, 08:10 PM
  2. Frontend with decent performance?
    By Mears in forum Software & Software Development
    Replies: 8
    Last Post: 12-23-2006, 12:07 PM
  3. Replies: 4
    Last Post: 10-19-2006, 09:45 PM
  4. RR performance and video card
    By jac1502 in forum Road Runner
    Replies: 9
    Last Post: 05-05-2006, 08:08 PM
  5. status update....
    By 0l33l in forum PowerVoice
    Replies: 17
    Last Post: 05-05-2005, 01:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •