Author Topic: Audacity, Zynaddsubfx, Seq24, Specimen And Porting  (Read 12864 times)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« on: December 28, 2005, 09:17:04 pm »
zynaddsubfx - http://zynaddsubfx.sourceforge.net/

Is an amazing multichannel, realtime 'analogue' synthesiser with fx using an FLTK gui. Does CXX00 range, overclocked, have enuff processing umph to run this? I need to find out!

seq24 - http://www.filter24.org/seq24/

fantastic, slimline GTK MIDI sequencer

specimen - http://gazuga.net/

virtual sampler, GTK based

audacity - http://audacity.sourceforge.net/

Great wave editor

So, the idea is we get these ported to pdaXrom for a neat litle portable music making machine! I presume I'd be able to even get a USB MIDI adapter working with my C3000 (when the pdaXrom port gets finished) for the icing on the cake? I'm pretty sure thought that seq24 and specimen need ALSA, is this a problem?

I'm new to the world of the Zaurus and cross-compilng, so I've got a few questions:

Can I run pdaXrom binaries under X/QT (under Cacko)?

How big of a performance hit is there when running stuff under X/QT as compared to pdaXrom?

Could I get a Debian ARM binaries for these and run them under X/QT or pdaXrom?

iWMMX - Is it only programs that were coded to use MMX that can make use of this or can any multimedia prog be compiled with iwmmx and see performance gains?

Thanks for your help!

dan
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« Reply #1 on: December 28, 2005, 11:18:44 pm »
mmx code needs to be rewritten to take advantage of iwmmx tech, however you normally only need to add 2 letters to the frount of most instructions to make them work

intels idea was that there would be more programmers out there whowould prefer mmx from the x86 than some wierd new vectorisation stuff

the X/Qt stuff should work for all programs that depend only on X however there might be some problems with file/folders between the 2 distros that cause problems (tried installing a sharpRom program the other day and it thorgh up some problems than gave up)
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« Reply #2 on: December 29, 2005, 12:14:31 am »
Quote
I'm new to the world of the Zaurus and cross-compilng, so I've got a few questions:

Can I run pdaXrom binaries under X/QT (under Cacko)?

How big of a performance hit is there when running stuff under X/QT as compared to pdaXrom?

Could I get a Debian ARM binaries for these and run them under X/QT or pdaXrom?

iWMMX - Is it only programs that were coded to use MMX that can make use of this or can any multimedia prog be compiled with iwmmx and see performance gains?

Thanks for your help!

dan
[div align=\"right\"][a href=\"index.php?act=findpost&pid=108729\"][{POST_SNAPBACK}][/a][/div]

yes and no, older pdaXrom binaries can run on Sharp/Cacko ROM, but the newer ones can not because they are compiled for the newer pdaXrom kernel which is not compatible with the Sharp/Cacko kernel.

X/QT runs reasonably ok, but still uses Sharp/Cacko kernel which is not as fast as pdaXrom kernel, plus pdaXrom runs X natively vs X/Qt which runs it via Qtopia's framebuffer.

Debian arm binaries can run under X/Qt directly if they were compiled for glibc 2.2.2, however, many Debian apps now use 2.3.2 and won't run on Sharp/Cacko unless you chroot it or upgrade glibc to 2.3.2

There may be slight gains if compiled with iWMMX optimisation, but to really get more performance, the code needs to be changed to utilise the added instructions.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

gromituk

  • Full Member
  • ***
  • Posts: 207
    • View Profile
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« Reply #3 on: December 29, 2005, 07:20:54 am »
Doesn't Audacity use WxWidgets, i.e. not QT?

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« Reply #4 on: December 29, 2005, 12:34:57 pm »
Quote
Doesn't Audacity use WxWidgets, i.e. not QT?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=108791\"][{POST_SNAPBACK}][/a][/div]

Yes it does use Wx, I never said it used QT.

Anyone know if ALSA supports the Zaurus sound chipset? What is it? Its a shame the Z uses the same jack for mic and headphones, would've been great if it could do full duplex recording.
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ThC

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
    • http://
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« Reply #5 on: December 29, 2005, 01:24:09 pm »
There is a performance hit in running X/QT as compared to pdaXrom because X/QT involves launching an X server while running Qtopia so you're allready using more cpu power an memory than pdaXrom which launches only the X server. Beside, X/QT uses a vnc server and a vnc client to connect you to the X server ... so you won't be able to use an application which need realtime input
SL-C3000 - pdaXrom 1.1.0Beta1
SL-C860 - pdaXrom 1.1.0 RC8 (charging circuitry dead :( )
CF RamStar 512 Mb / Hitachi 4Gb microdrive (thanks to creative's muvo² :p)
SD Sandisk 1Gb / Viking 256 Mb
Linksys WCF13 CF wifi card

Anyone willing to donate for my work, please consider donate to pdaXrom and/or OE/OZ projects instead, I wouldn't have been able to do anything without them ...

gromituk

  • Full Member
  • ***
  • Posts: 207
    • View Profile
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« Reply #6 on: December 29, 2005, 03:00:18 pm »
Quote
Yes it does use Wx, I never said it used QT.
No, but as the rest of your posting concentrated on QT, I thought you might not have realised this.
Quote
Its a shame the Z uses the same jack for mic and headphones, would've been great if it could do full duplex recording.
It can record and play back at the same time - but only in mono.

phunkhy

  • Newbie
  • *
  • Posts: 25
    • View Profile
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« Reply #7 on: January 02, 2006, 06:01:23 pm »
I had a look at these apps but seq24's ui has non-resizable dialogues exceeding 640 by 480. That means you will never see the whole of it. This is a killer IMHO.... pity.

There is a port of beast in the unstable section of pdaXrom but it's damned slow.

/phunkhy
« Last Edit: January 17, 2006, 07:52:27 am by phunkhy »
Hardware: SL-C860, 1GB SD card, Anycom Bluetooth, Netgear WiFi, SonyEricsson K610i, Tatonka neoprene soft case (10 € !!!),  Otterbox hard case for outdoors (up to 500 kg pressure, waterproof <= 30 m), misc stuff from shirtpocket.co.uk.
Software: pdaXrom 1.1.0 beta 1, xfce, opie-reader, moin moin, txt2tags, soundtracker, SCiTE, python hacking, GPE apps
Usage: Moving in and around Berlin, Germany. It's used mainly for reading articles and ebooks, mobile internet, writing documents (wiki, word, txt2tags), calendar, time tracking, mp3, movies for my daughter during long trips and a little programming (python, ruby)

km2783

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
    • http://
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« Reply #8 on: January 16, 2006, 09:59:15 pm »
I haven't seen this mentioned here...

http://lmms.sourceforge.net/

Any hope?  It requires Qt 3.x, don't we mostly use Qt/Embedded 2.x on a lot of the ROMs?  Not sure on any sound requirements, either.

Just something else to toss out there...
SL-C3100 - pdaXii3 5.4.9

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« Reply #9 on: January 17, 2006, 02:40:07 am »
i tired to compile this it need some other libraries like libogg and etc.
i hade a problem then coz i forgot qmake

phunkhy

  • Newbie
  • *
  • Posts: 25
    • View Profile
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« Reply #10 on: January 18, 2006, 04:16:26 am »
Wow lmms looks promising.. But after the experience with beast I still doubt that the Z has got enough computing power... but let's try it.

I tried to compile it with the cross devkit. But I seems that there are problems with QT stuff:

Code: [Select]
In file included from audio_file_processor.cpp:64:
../../src/lib/embed.cpp: In function `QPixmap
   audiofileprocessor::getIconPixmap(const char*, int, int)':
../../src/lib/embed.cpp:68: error: `findEmbeddedData' undeclared (first use
   this function)
../../src/lib/embed.cpp:68: error: (Each undeclared identifier is reported only
   once for each function it appears in.)

But I'll keep on trying.
Hardware: SL-C860, 1GB SD card, Anycom Bluetooth, Netgear WiFi, SonyEricsson K610i, Tatonka neoprene soft case (10 € !!!),  Otterbox hard case for outdoors (up to 500 kg pressure, waterproof <= 30 m), misc stuff from shirtpocket.co.uk.
Software: pdaXrom 1.1.0 beta 1, xfce, opie-reader, moin moin, txt2tags, soundtracker, SCiTE, python hacking, GPE apps
Usage: Moving in and around Berlin, Germany. It's used mainly for reading articles and ebooks, mobile internet, writing documents (wiki, word, txt2tags), calendar, time tracking, mp3, movies for my daughter during long trips and a little programming (python, ruby)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Audacity, Zynaddsubfx, Seq24, Specimen And Porting
« Reply #11 on: April 21, 2010, 03:02:05 pm »
UPDATE

Cor- I can't believe its almost 5 years since I asked this question!

I now have zubuntu installed on my Z and milkytracker, which is in the ubuntu repos, works great as does USB MIDI via ALSA and I've even got specimen to run on top of JACK. I had to build specimen from source as the package in the armel jaunty repos didn't work at all for me but the specimen interface is very usable @ 640x480 without modification and I've got our KORG nanopad bus-powered USB MIDI drum pad/controller working great with it

BUT

I've so far been unable to get a clean sound out of specimen, despite much messing with alsamixer settings and jackd (-n , -p, -r) switches. If I play my wavs on the zaurus via moc, mpg123, vlc etc. they sound fine, but I always get a bit of crackle when they get played back via specimen/JACK. The kernel I'm using at the mo doesn't support CPU scaling so maybe if I was running at 600+ Mhz it may become usable?

Once we get JACK/specimen working OK, seq24 should be within reach. These apps combined with sweep and the Z becomes and nice pocket studio!
« Last Edit: April 21, 2010, 03:45:58 pm by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install