Release SunVox (ultimate multiplatform synth/sampler/tracker)

Discussion in 'Software Releases' started by cube48, Jun 19, 2011.

  1. gruso

    gruso thunderbox

    Joined:
    Feb 28, 2008
    Messages:
    7,461
    Location:
    Sydney, Australia
    Good news.
    No, you can't alt-tab. Personally that doesn't bother me. Perhaps you could include true fullscreen as an option, with a first run dialogue so the user can choose? But if you're not into that idea, I'm happy knowing I can do it my own way manually.
     
    Last edited by a moderator: Apr 20, 2012
  2. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    283
    Location:
    Germany + Czech Republic
    Alt+Tab was not working for me either. Also the mouse cursor is hidden although I set "pencontrol 1" in SV config. It would be totally fine to let the user to decide about fullscreen. Maybe a Zenity dialog window at app launch? If you have something like this already, I'll be glad to incorporate it into PND.


    Edit: Btw, do you perhaps know how to make the app icon appearing at the taskbar?
     
    Last edited by a moderator: Apr 21, 2012
  3. gruso

    gruso thunderbox

    Joined:
    Feb 28, 2008
    Messages:
    7,461
    Location:
    Sydney, Australia
    This is how I'd handle it. Create two copies of the existing sunvox.sh, renamed windowed.sh and fullscreen.sh. On first run a display option is chosen, and the relevant script is copied to appdata as sunvoxrun.sh


    This would be the new sunvox.sh:



    Code:
    #!/bin/bash
    
    
    # First run prompt for selection of windowed or fullscreen mode
    
    
    if [ ! -f sunvoxrun.sh ] ; then
    
    
    notify-send 'Note: alt-tab is not available in fullscreen mode. You can undo this selection later by deleting "sunvoxrun.sh" from appdata.'
    
    
    action=`zenity --list --title="Choose display mode" \
    
    --text="Choose action:" \
    
    --column="Action" \
    
    "Windowed" \
    
    "Fullscreen"`
    
    
    # echo Resultat: $action
    
    
    if [ "$action" == "Windowed" ]; then
    
    cp windowed.sh sunvoxrun.sh
    
    fi
    
    
    if [ "$action" == "Fullscreen" ]; then
    
    cp fullscreen.sh sunvoxrun.sh
    
    fi
    
    
    fi
    
    
    ./sunvoxrun.sh

    Gave it a quick test and it seems good. I haven't tested it in a PND though. You should be able to drop the attached scripts straight in.

    sunvox-scripts.zip
     

    Attached Files:

    Last edited by a moderator: Apr 22, 2012
    FBnil likes this.
  4. gruso

    gruso thunderbox

    Joined:
    Feb 28, 2008
    Messages:
    7,461
    Location:
    Sydney, Australia
    And to put a PND icon on your taskbar, right click the taskbar, choose "New Launcher" and use a command like this:



    Code:
    pnd_run /media/mmcblk0p1/pandora/menu/sunvox.pnd
     
  5. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    283
    Location:
    Germany + Czech Republic
    Thanks for the script. I'll give it a try.


    By PND icon I ment the icon which is displayed on taskbar when the app is launched. Somehow it's not displayed for SunVox. I should maybe try different size, 48x48px perhaps ...? Currently it is 256x256px which is maybe too much.
     
  6. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    283
    Location:
    Germany + Czech Republic
    The latest updated version is in the repo. Gruso's windowed/fullscreen initial switch is included, thanks for that!


    Author brought us again some interesting features like MetaModule (you can load the whole song as a module and pull out the controllers of your choice!), WaveShaper, realtime recording quantization and a lot of other stuff.
     
  7. peelie

    peelie Member

    Joined:
    Apr 6, 2007
    Messages:
    887
    many thx cube for update, that metamodule does sound good!
     
  8. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    283
    Location:
    Germany + Czech Republic
    The new version is available at the usual place. See the list of new features on official page.

    Windowed mode is broken for me, I run fullscreen no matter what I set at initial dialog. Can somebody test this out please? You should delete your /media/<yourcard>/pandora/appdata/SunVox/sunvoxrun.sh file to get the initial window/fullscreen dialog. Thanks.

    Alex (the author of SunVox) has added internal preferences option to control the fullscreen mode and it might somehow collide with Gruso's fullscreen setting in the launch script. I'm too tired to investigate in it now, might get on it in a few days.
     
  9. Loonie

    Loonie Active Member

    Joined:
    Apr 1, 2003
    Messages:
    753
    I wish I had the "mad coding skillz" to create a piano roll interface for this program. This is an amazing piece of software, but I just cannot get along with trackers.
     
  10. mcobit

    mcobit Advanced Member

    Joined:
    Jul 28, 2008
    Messages:
    6,755
    If there is


    SDL_VIDEODRIVER=omapdss


    Then it is using notaz sdlhavk for scaling and touchscreentranslation.


    Windowed mode is not supported with this driver.
     
  11. mongrol

    mongrol Still Fresh

    Joined:
    Mar 6, 2014
    Messages:
    59
    Necrobumping[tm]

    I'd really get to like Sunvox but the current build has a big touchscreen offset issue. I've set "fingers" as the interface type in the preferences and everything is ok for a couple of minutes. After that it just goes wrong and end up with some random offset of around an inch or more. Anyone seen this? It's rendering it unusable? This is on a CC with latest firmware.

    (Tried deleting appdata etc)
     
  12. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    283
    Location:
    Germany + Czech Republic
    Sad news for Maemo > Pandora Sunvox users. Maemo version support has been dropped from v 1.9 onwards so no updates anymore :(

    Luckily we should be able to use Raspberry Pi version on Pyra (Armhf).

    If you use Sunvox on other platforms, check the latest 1.9 beta. It's got some really neat features like MIDI learn for any module controllers, new Feedback module, new Filter Pro module and many, many more.

    http://www.warmplace.ru/forum/viewtopic.php?f=16&t=3694
     
    Last edited by a moderator: Jun 27, 2015
  13. Hồng Thất Công

    Hồng Thất Công Đả Cẩu Bổng Pháp

    Joined:
    Dec 19, 2012
    Messages:
    4,378
    Location:
    Cái Bang
    Well, we have Pandian Mark3 which is armhf debian jessie.
     
  14. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    283
    Location:
    Germany + Czech Republic
    Good news, I've misread the change log. It was Meego support that was dropped, not Maemo.

    Updated version is in the repo.

    Check out the change log. It's rather significant update again (MIDI learn for controllers, feedback module and other goodies).

    I had the touchscreen offset issues with 1.8 too but it seems better with 1.9. More testing is needed.
     
    Last edited by a moderator: Jul 23, 2015
  15. foxblock

    foxblock Asleep

    Joined:
    Jun 17, 2009
    Messages:
    1,365
    Location:
    Germany
    Yeah I am having the same problem with the latest version. Sadly this renders this program totally unusable for me :(


    Does anybody got an idea on what might be causing this?
     
  16. foxblock

    foxblock Asleep

    Joined:
    Jun 17, 2009
    Messages:
    1,365
    Location:
    Germany
    Just took a look at the runscript, copied it to my appdata folder, enabled notaz' SDL again - and it seems to do the trick. Got no mouse offset issue now.


    So maybe try the following:

    1. Start SunVox
    2. Press and hold the Pandora button for a few seconds, then release. A dialog should pop up for closing misbehaving PNDs.
    3. Just ignore that dialog (SunVox should still be running windowed in the background). Start the file manager and navigate to /mnt/pnd/SunVox/
    4. Copy sunvoxrun.sh from that folder to ./pandora/appdata/SunVox/ on the SD card the SunVox PND is on (i.e. this folder should already exist)
    5. Right click the file, select Open with...->Mousepad to open it in an editor (double clicking will attempt to run it, don't do that)
    6. Remove the # symbols at the beginning on lines 4 and 5 (below "#Fullscreen"), those should say "export SDL_VIDEODRIVER=omapdss" and export "export SDL_OMAP_LAYER_SIZE=fullscreen" respectively afterwards
    7. Save the file, close it, close SunVox and restart it as you would normally. It should now use your changed runscript to start and use notaz' SDL, which does not allow windowed mode, but does not seem to have the mouse issue.
     
    Last edited by a moderator: Dec 4, 2015
    FBnil and Eight Bit like this.
  17. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    283
    Location:
    Germany + Czech Republic
    Thank you foxblock for pin-pointing this! Updated version is in the repo. It's the official minor bugfix version from this summer. And the SDL fullscreen options in the launch script are enabled now. I disabled them some versions ago because the Maemo binary was forcing the fullscreen anyway so I thought they are not needed anymore but never realized they can cause the touchscreen offset issues.
     
    Last edited by a moderator: Dec 7, 2015
  18. hilake

    hilake Still Fresh

    Joined:
    Aug 23, 2013
    Messages:
    27
    @cube48 Hi! The new version of SunVox can't open after first launch.
     
  19. mish

    mish Still Fresh

    Joined:
    Sep 25, 2015
    Messages:
    4
    I also have been having an issue where the new version doesnt open after being opened for the first time. I have tried deleting the "lock" file, that doesnt fix it, the only thing I have found that works is to remove the sunvox folder in appdata completely, making it open as if it was the first time configuration. I havnt tried the older versions yet, bit of an anoyance having to delete files everytime i want to use this app, its currently my favorate thing to do on my pandora atm, really fun piece of software!
     
  20. FBnil

    FBnil Ready to Champion the Pyra to the World...

    Joined:
    Dec 14, 2012
    Messages:
    2,695
    Location:
    Yurp
    @mish: I did not had that problem back then...
     

Share This Page

Loading...