So, I guess I can post a situation update now.

As I've said, I've completely lost interest in Linux on the desktop.  
I've come to realize that it's pretty much hopeless, so I'm now a  
happy OS X user (since january).

That doesn't mean I've lost interest in Rosegarden, though. For a  
brief moment I considered porting it "as is" (i.e. though Qt4) to OS  
X. However, several things have made me change my mind :

- there's no chance we'd get any Mac dev interested if we're using  
Qt4. It's just too antique compared to Cocoa.

- Cocoa is a very impressive development framework

- it's pretty hard to motivate yourself to use inferior tools just to  
keep compatibility with a hostile platform.

So my plan is to try writing a very basic, prototype RG on OS X, re- 
using code whenever possible (the fact that Objective C can freely be  
mixed with C++ helps), and try to attract other OS X devs. If nobody  
is interested, I'll probably just drop the whole thing.

I've discussed this with Chris, and unfortunately we're in  
disagreement, since he still prefers Linux. I agree with him that  
asking our users to migrate to OS X is not the most reasonable thing  
to do. However I think a Linux-based music application is even less  
reasonable. From the start our single most Frequently Asked Question  
is : "how do I make sound ?". And the fact is that not only can't we  
give an absolute answer to it (because it's totally out of our  
control), there's hardly a chance it will ever change. That would  
require all distributions standardizing on an alsa/jackd/soft synth/ 
soundfont setup (and that setup to be reasonably bug-free). Images of  
a squadron of pigs flying over frozen hell come to mind.

Anyway, what I've just committed is an almost-working player. It loads  
a Rosegarden file, lists the events in a track/segments/events tree  
and plays it. The main problem for now are the note timings (playtime  
and duration) which are miscomputed, because I haven't found yet how  
to translate our timeT to CoreAudio's MusicTimeStamp and float  
duration. So while it makes sound, the notes timings are beyond  
recognition.

Once I've fixed this, I'll probably add soundfont loading and play to  
wav file, since those are trivial one-liners.

The code is in 
https://rosegarden.svn.sourceforge.net/svnroot/rosegarden/trunk/experiments/rgplayer

--
Guillaume
http://telegraph-road.org






-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to