1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice

Release SunVox (ultimate multiplatform synth/sampler/tracker)

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

  1. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    274
    Location:
    Germany + Czech Republic
    http://www.warmplace.ru/soft/sunvox/

    Repacked Maemo version of SunVox. libosso library included in the PND.


    The latest linux version supports MIDI (ALSA), can somebody check if the MIDI is working on Pandora?


    Download


    http://repo.openpandora.org/?page=detail&app=SunVox
     
    Last edited by a moderator: Jun 20, 2011
    Tags:
    klapse likes this.
  2. peelie

    peelie Member

    Joined:
    Apr 6, 2007
    Messages:
    887
    oh my giddy aunt can't wait to try this - got it on ipodtouch but on pandora with keyboards! :)


    edit


    dang not starting :(



    Code:
    
    
    =======================================================================================
    
    [ START ]--- Mount the PND ----------
    
    Mounting : mount -t squashfs "/dev/loop4" "/mnt/utmp/SunVox"
    
    Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA1/pandora/appdata/SunVox=rw+nolwh":"/mnt/pnd/SunVox=rr" none "/mnt/utmp/SunVox"
    
    [SUCCESS]--- Mount the PND ----------
    
    [ START ]--- Set CPU speed ----------
    
    [SUCCESS]--- Set CPU speed ----------
    
    [ START ]--- Starting the application (./sunvox.sh ) ----------
    
    Copying config file.
    
    libosso doesnt exist.
    
    sudo: no tty present and no askpass program specified
    
    sudo: no tty present and no askpass program specified
    
    ./sunvox: error while loading shared libraries: libosso.so.1: cannot open shared object file: No such file or directory
    
    [ FAILED]--- Starting the application (./sunvox.sh ) ----------
    
    [ START ]--- uMount the PND ----------
    
    [ START ]--- Waiting the Union to be available ----------
    
    [SUCCESS]--- Waiting the Union to be available ----------
    
    rmdir: failed to remove `/mnt/utmp/SunVox': Device or resource busy
    
    [ START ]--- Waiting the PND mount dir to be free ----------
    
    [SUCCESS]--- Waiting the PND mount dir to be free ----------
    
    cleanup done
    
    [SUCCESS]--- uMount the PND ----------
    
    =======================================================================================
    
    Return code is : 4

    edit2


    can't seem to install any of the libosso packages from angstrom feed
     
    Last edited by a moderator: Jun 19, 2011
  3. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    274
    Location:
    Germany + Czech Republic

    Hmmm ... in the PND there is a shell script which should sudo-copy the library to /usr/lib ... and this is obviously not working on your system.





    Code:
    sudo: no tty present and no askpass program specified
    It looks like your system can't do sudo tasks from PND. Strangely it works on mine. (I have a unsure feeling that in the very beginning of using Pandora I specified somewhere my root password and allowed it to be used by apps :unsure: )



    You can copy it manually:



    Download the lib from this post and unpack it.





    Code:
    tar -xf libosso.so.1.3.0.tar


    Then copy ...





    Code:
    sudo cp libosso.so.1.3.0 /usr/lib/


    ... and then create symbolic link:





    Code:
    sudo ln -s /usr/lib/libosso.so.1.3.0 /usr/lib/libosso.so.1


    EDIT: Updated version in the repos, no need to copy libosso to NAND!
     

    Attached Files:

    Last edited by a moderator: Feb 6, 2016
  4. peelie

    peelie Member

    Joined:
    Apr 6, 2007
    Messages:
    887
    thanks working now, many thanks again for this port :)


    hopefully this is just the start of something better for music making on pandora :)
     
  5. mcobit

    mcobit Advanced Member

    Joined:
    Jul 28, 2008
    Messages:
    6,755
    Wouldn't it be better to set the LD_LIBRARY_PATH to the folder in the PND this is in?


    Modifying the nand is not nice!!!
     
  6. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    274
    Location:
    Germany + Czech Republic
    Yes, I agree. I'm little bit new to porting stuff for OP and this time I'll learn how to set LD_LIBRARY_PATH ;)


    I guess, that I should create folder lib within the PND, put the library in there, create the link there as well and then just:



    Code:
    
    lib=$(pwd)/lib
    
    export LD_LIBRARY_PATH=$lib
    
    

    Is that right?
     
  7. mcobit

    mcobit Advanced Member

    Joined:
    Jul 28, 2008
    Messages:
    6,755
    Yes, thats it.


    Or just do



    Code:
    
    export LD_LIBRARY_PATH=/mnt/utmp/yourapp/lib

    in the startupscript.


    Also you should set the HOME variable to /mnt/utmp/yourapp to prevent saves to nand ;)
     
  8. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    274
    Location:
    Germany + Czech Republic

    HOME is luckily right from the begining.





    Code:
    pwd=$(pwd)
    
    export HOME=$pwd
    
    

    Btw, thanks for pinpointing the lib export ;)


    Edit: I just learned the hard way that symbolic links can't be created on FAT32 formated drives. So I just renamed the library to libosso.so.1 in the lib folder. Not nice but working.


    Edit2: OK, updated version in repos. It shouldn't write to NAND at all.
     
    Last edited by a moderator: Jun 19, 2011
  9. mcobit

    mcobit Advanced Member

    Joined:
    Jul 28, 2008
    Messages:
    6,755
    No problem, let me know, if I can help more.
     
  10. RobFord

    RobFord Member

    Joined:
    Apr 4, 2008
    Messages:
    267
    Trying to install this via PNDstore, but it keeps on saying that the PND is corrupt the MD5 sums do not match.


    Any idea?
     
  11. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    274
    Location:
    Germany + Czech Republic
    Strange, it's working for me. Maybe try to update lists again. I was posting quickly bugfixed version and can imagine that your PND store had still the older information.
     
    Last edited by a moderator: Jun 20, 2011
  12. pmprog

    pmprog Advanced Member

    Joined:
    Apr 25, 2011
    Messages:
    3,208
    Great. Thanks, I'm going to have a play with this later :p
     
  13. ibisum

    ibisum Well-Known Member

    Joined:
    May 6, 2009
    Messages:
    1,135
    Excellent! :) I will test MIDI tonight.
     
    Last edited by a moderator: Jun 20, 2011
  14. RobFord

    RobFord Member

    Joined:
    Apr 4, 2008
    Messages:
    267
    That is strange, I have updated the lists in PDNstore, and still get the same error. However after a reboot Sunvox is installed and seems to be running fine.
     
  15. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    274
    Location:
    Germany + Czech Republic
    I'm looking forward to your experience with MIDI. I managed to configure midi keyboard in config file (something like midi_keyboard = /dev/midi1 and midi_keyboard_ch = 1 - I'dont have Panda with me right now to check it accurately) and it appeared in the app but with no effect.


    I also checked:



    Code:
    cat /dev/midi1
    and saw some input while I pressed keys on Korg NanoKey, although these were all some weird characters. Raw MIDI perhaps?


    Do you have any idea how the MIDI is routed in Pandora? SunVox expects it from ALSA interface as far as I read it on warmplace.ru.


    It can be that this Maemo version doesn't support midi officially yet. Windows version is indicating some MIDI input by red blinking dot in module canvas but I didn't make it to play anything.


    P.S.: Here are some other settings for config file:


    http://www.warmplace.ru/docs/sunvox/sunvox_config.ini


    P.P.S: And here is some suggestion on MIDI setting.


    http://www.warmplace.ru/forum/viewtopic.php?f=3&t=1547&start=0#p4026


    Have to try it myself asap :D
     
    Last edited by a moderator: Jun 20, 2011
  16. ibisum

    ibisum Well-Known Member

    Joined:
    May 6, 2009
    Messages:
    1,135
    The Pandora uses the ALSA Midi sequencer, and if you are seeing characters on /dev/midi1 like that, then its likely that its working just fine .. if at first you don't get any sound when you press a key, make double sure that your Nanokeys is sending the same channel that you've configured SunVox for, and also be aware that some apps use the MIDI Channel # slightly wrongly - i.e. "0" - channel 1, "1" = channel 2, etc. You have to watch for that and tweak before you give up ..


    Anyway I don't have my MIDI stuff here right now to test this, but I'll dig into it as soon as I get home tonight.. very exciting to see this on Pandora!
     
  17. (naw)mcx

    (naw)mcx Rotary Wombat

    Joined:
    Dec 3, 2005
    Messages:
    2,918
    Location:
    Aberdeenshire
    This is fantastic - the UI is REALLY smooth too! Can't wait to make some tunes :)
     
  18. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    274
    Location:
    Germany + Czech Republic
    Did anybody succeeded with MIDI so far? I'm really struggling with it.


    I'm experienced in MIDI on windows and perhaps Atari ST but linux MIDI is new to me. I did some research and it seems that I'm not able to route input from USB MIDI input to SunVox. I've installed aconnect from Angstrom repo but when I try "aconnect -l", I get this error message:



    Code:
    
    ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
    
    can't open sequencer
    
    

    Torpor, could you please guide me a bit more? In this thread, you are suggesting even the aconnectgui. Do I have to compile it? Any advice or hint is appreciated.


    EDIT: OK, I've helped myself :D


    Problem solved. I noticed in Seq24 thread something about included alsa sequencer initialization. So I desperately tried to start Seq24 first, then start SunVox ... and hurayyy, MIDI keyboard is appearing in MIDI settings of SunVox.


    So I didn't hesitated and ripped some stuff from Seq24 PND and packed it to SunVox. Also added SunVox manual, instruments and examples and will be posting it into repo soon.
     
    Last edited by a moderator: Jan 2, 2016
  19. Esn

    Esn (:";

    Joined:
    Mar 5, 2003
    Messages:
    3,236
    Location:
    Toronto, Canada
    This is a rather intuitive and efficiently-coded program (uses quite little of the Pandora's CPU, in contrast to LMMS for example).


    I do have a few questions and suggestions.


    First of all, how do I delete a note that I have entered in? In one Youtube video, I saw it recommended to use the DEL key to delete notes, because using backspace will not JUST delete the note, but also move all the other notes after it back a space (which you'll probably not want to do). But on the Pandora, using the DEL (shift+backspace) key doesn't seem to do anything at all.


    Secondly, f9, f11 and f12 are used as keyboard shortcuts to play and stop. This is very awkward on the Pandora's keyboard. Maybe those could be moved to something else, such as shift+1, shift+2, shift+3? (most keys are already being used, but those ones don't seem to be. Don't use shift+4, though, because the tilde symbol is used for placing an "end note" mark, along with CAPS LOCK).


    EDIT: Actually, unless I'm mistaken, SHIFT doesn't work at all in this build of SunVox. That would explain why the DEL key can't be pressed. If I'm right, that's definitely something to fix...


    Finally, does anyone know how to change the number of units in a pattern? (32 by default I think) This isn't Pandora-specific, I'm just kinda stuck.


    Also, how exactly can you record in realtime? (or by realtime do they mean that you can enter in notes while the song is playing in the background?)
     
    Last edited by a moderator: Jun 23, 2011
  20. cube48

    cube48 Member

    Joined:
    Oct 6, 2008
    Messages:
    274
    Location:
    Germany + Czech Republic
    AFAIK the non-functional del key is common for all Pandoras but there is some solution.

    I personaly don't see the difference between pushing F9 and Shift+1 on Pandora, they are both double key presses. And while using the full featured keyboard connected via USB hub it would make things even more uncomfortable. Perhaps someone will come with some solution where you could load customized keymaps.


    My impression is that keyboard shortcuts are hardcoded into SunVox binary.

    It seems that ARM version of SunVox has weird key mapping in general.


    As a workaround the onscreen edit functions can be used when in rec mode (top right corner).

    Do you mean the length of the pattern? This can be changed in pattern properties from menu.
     
    Last edited by a moderator: Jan 2, 2016

Share This Page

Loading...