Noatun-Interview with KDE Developer Charles Samuels

Klaus Stärk has
submitted an interview he recently conducted with
Charles Samuels about
Noatun. Noatun is KDE's powerful multimedia (video/audio)
player. Klaus tells us that Noatun will be the "Application of the
Month October 2001" on the German
KDE-webpage
, so the interview will be translated into German at that time.

Klaus (Q):
What does "Noatun" stand for? Is it an acronym for something?

Charles (A):
It's not an acronym at all. It's related to my nickname on IRC (Njaard -- a
misspelling of the Norse god Njord). Let's leave it at that.

Q:
How did you start the Noatun-Project and who else is involved in
developing it

A:
Noatun was started on August 26, 2000, well, that was the first commit. I'd
been thinking about it already in March of that year, I decided that there
needed to be a media player that could play everything, and one that didn't
have silly skins.

It evolved quite a bit, and later that year, the core was pluginified, the
user interface was implemented (now known as Milk Chocolate), and the
playlist (now the Split Playlist) was created.

It developed quite rapidly, especially since I made a deal with myself: I
will not play a single bit of music unless it's with Noatun, and I listen to a
lot of music, so, within that week, I was playing music. Not well, mind you,
the playlist hardly worked, and the UI didn't do much related to song length
and title.

Q:
What other oss-projects are you involved in?

A:
A couple of minor projects,
ITC, which, BTW, was
created to make it easy for me to write multithreaded codecs for
aRts (kdenonbeta/arts/modplug
has now become a threaded one, with ITC)

Q:
How was it decided to add Noatun to KDE?

A:
From the very start, I created it in the hopes that it would be part of KDE.
Kaiman was . . . inadequate, to say the least. In addition, I have a strong
dislike for skins (which is strange, since I wrote what may be Noatun's best
skin loader, KJofol), and Kaiman was, at the time, unmaintained, and lacking
many features.

Q:
You visited the LWE in SF this week where you had the joy of accepting the
"Best Open Source Project" award in the name of the KDE-Project. What did
you think of that?

A:
Well, it was nice! I can't say I was too shocked, but I certainly was
pleased, and the large amount of KDE developers present made it even better.

Q:
How do you see the future of multimedia apps for KDE, especially Noatun?
What can the KDE-user expect from these apps?

A:
It will get better. We're working on making Noatun itself much more powerful
and extensible via plugins. It's designed bottom-up to make a huge amount of
features in the form of plugins, and KDE 3.0 will make this hold even more
true. Multimedia-wise, support for more formats, more features, different
effects.

Q:
Which is your favourite feature in Noatun?

A:
Probably that the user-interface is a plugin. I still in fact use the
original user-interface (Milk Chocolate), however, nobody else is forced to.
Although, Young Hickory is real nice.

Q:
What do you do in your sparetime when you're not coding for the
KDE-project?

A:
I don't understand the question . . . ;-) Seriously, I'll be
starting at a university in a couple of months, so until then, I get to
code to my heart's content. Until I get a job *hint*. There's also a
lot of non-KDE stuff I've written (which you get to hear about if you
find me on irc.kde.org)

Q:
What's your opinion on the future of "Linux on the desktop"?

A:
I think that Linux is a desktop OS, and it will slowly kick lesser operating
systems off the market. And with Linux's popularity increasing, KDE's will,
along with FreeBSD's and the like.

Links:

Dot Categories: 

Comments

by KDE User (not verified)

Charles, what do you think about the Tabs versus Spaces for indentation situation in KDE? I am never sure which to use and I am not happy about the state of Spaces and Tabs in KDE CVS! We should do something about this.

Thanks for Noatun though. :)

by Simon Perreault (not verified)

Everybody knows that the OTIS (One True Indenting Style) uses 4 spaces for indentation.

pffffffft...

by Matt Spong (not verified)

"Everybody knows that the OTIS (One True Indenting Style) uses 4 spaces for indentation."

Bah! No! Use tabs. If you like your indentation to be 4 spaces, set your tabstop to 4.

by Christian (not verified)

What does 4 spaces mean ? 4 spaces.
What do you intend when putting them ? Indent.

Just as the newline character means a new line,
et the tab mean indentation (or tabulation).
That was it is for.

The first thing you learn while writing XML/SGML
documents is that contents is not presentation.
You waste your time if you take care of presentation
(ie : counting tabs, and why 4 tabs after all - it's
a presentation choice) while coding. Tabs acts as
a XML tag that says... indent !

Let your editor handle the look of your code, and
put only the core meaning in your files.

(of course, that's my opinion... and no, I do not
want to troll ;-)

by Evan "JabberWok... (not verified)

: The first thing you learn while writing XML/SGML
: documents is that contents is not presentation.

Damn it, I
took your
concept to heart
,
and now my python
programs won't
run!

--
Evan

by Christian (not verified)

You misunderstood me. In python, indentation is part
of the semantic. Presentation has nothing to do with
indentation, you can indent with tab (a language that
doesn't accept that is a broken one).

by Evan "JabberWok... (not verified)

:: You misunderstood me. In python, indentation is part
:: of the semantic. Presentation has nothing to do with

In python, indentation is part of the semantic
information used by the interpreter. In C++,
indentation is part of the semantic information used
by the coder.

Otherwise, why comment code? It does not carry any
semantic information that the compiler cares about...

--
Evan

by Neil Stevens (not verified)

While reloading http://www.kde.org/ waiting for the KDE 2.2.1 release, so that I can mention it on freekde in a timely manner, I happened to notice this article... and it's a good thing I did.

The definitive answer on code indentation is found at why-to-tabs.html, mirrored on freekde as Charles lost his DSL. A more complete style document is available at s-and-s.html

(I still wish you'd use slash so I can turn off comment display, Navindra)

by Navindra Umanee (not verified)

And this from the person who actually used but subsequently abandoned Slash for some other wanabee LAMP solution? ;)

-N.

by KDE User (not verified)

Definitive my ass. The fact that you prefer it hardly makes it definitive. Plus it was written by Charles. Not to downplay his significance in KDE, but he's hardly an authority on all of programming. K&R say style is choice of the coder (what a shock!), and the only thing they recommend is sticking with the same style throughout your code, which is excellent advice.

So stop this "definitive" crap.

by Guillaume Laurent (not verified)

> The definitive answer on code indentation is found at why-to-tabs.html

I think it comes as no surprise that the person who wrote this (Charles) is still in high school. None of his arguments hold ground. This one in particular is a gem :

"Any editor that doesn't cope with tabs isn't an editor, but a bug (emacs comes to mind)."

Be assured that once he graduates, after a couple of years working as a professional programmer part of a team, he'll have quite a different opinion. At least I hope for him :-).

by Carlos Rodrigues (not verified)

Yeah... really definitive, anyone who uses tabs for identation will eventually use a space (mainly when you break statements into multiple lines) and... voilá, your code now visually suck everywhere but your editor (good luck trying to avoid it). Anyway tabs or spaces are a matter of personal choice, there's nothing definitive about that. I use spaces... I want my code to look the same everywhere... maybe I'm evil, but that's my choice.

by kde user (not verified)

Notaun ( http://notaun.kde.org ) site seems to be down ...

by Carbon (not verified)

Yeah, that's because it's running on Njaard's (er, i mean Njord's) personal network, and he's been having some ISP problems...

by Navindra Umanee (not verified)

Why Charles, it seems even the dot is more stable than your server! :-P

by Charles Samuels (not verified)

Bleh! The server is still up!

$ ping altair
PING altair.littlenet (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=255 time=0.9 ms

--- altair.littlenet ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.9/0.9/0.9 ms

It's just that it's not actually connected to the internet :)

It may also help to spell noatun.kde.org *correctly* in the future. btw :)

by Catonga (not verified)

Hm, it would be great if it where possible to use the
quicktime .dll files as a plugin to play the Sorensen Codec movie files
via Noatun.

(I know there is a crossover plugin that can play sorenson codec videos, but
it is not free like free beer, and as long as i can dualboot and use quicktime under windows...)

by A Sad Person (not verified)

What about reaktivate?

by emmanuel (not verified)

i'd LOVE to see a xine plugin! (xine.sourceforge.net). using it you'd get mpeg (ok that's duplicate but last time i checked i found rendering noticeably better than with mpeglib), mpeg2, DVD (that's the selling thing, and no MPAA risks, you install the DVD-unscrambling thing as a plugin if you want, xine does NOT include it :o) ), AVI, etc etc.
and now xine is split out in a library and a UI module so it's possible... it's be great to have it integrated in noatun..

emmanuel

by sashmit (not verified)

I agree, and it doesn't have any evil dependencies either.

by Asif Ali Rizwaan (not verified)

hi charles,

I have some wishes for Noatun:

1. It should be a media player instead of just audio player including VCD, DVD, AVI and especially real media's *.rm and *.ram files and other too.

2. I wish Noatun should get a Real Player theme which looks very nice, and the URL you gave in the Help "http://www.angelfire.com/mo/nequiem/tutorial.html" is dead :(

3. I wish Xmms plugins (which are too many) could be used with Noatun :)

by AC (not verified)

Well, a direct port of xmms to qt and kde is in the works. It is almost done, and hopefully will be released in several weeks :)

The only downside is that gtk+ plugins have much trickery involved to work properly.

Besides, that, the interface itself is natively drawn using qpainter instead of gdk.

by nequiem (not verified)

The new link for my tutorial is here:

http://www.angelfire.com/mo/nequiem/kjofol/tutorial.html

-nequiem

by Dan Tenters (not verified)

This is a question. Could you give me som info on the NOATUN media player? I need to know How it works, where the files are saved and how they are saved. Also if you could, what files it plays and what it does not, and any additional info you think is helpful. I appreciate it. Thanx, Dan Tenters

by Julien Olivier (not verified)

Hi

In fact noatun is just a GUI for ARTS. ARTS is KDE's multimedia server. So, if ARTS can play a file, noatun can and vice-versa. IIRC, ARTS uses a plugin system to read different file formats. On my machine, ARTS can play WAV, OGG, MP3 as well as MPG, ASF, AVI, DIVX etc... If you want to read the latest video formats (DIVX, ASF etc...), you have to install the "xine-arts" plugin which enables ARTS to play every file that Xine (the video player) can read. So, if ARTS can play them, then Noatun (and kaboodle and any ARTS-enabled application) can read it.

I hope that was clear enough.

by Some Poor Slob (not verified)

...is where the hell is KDE 2.2.1? It was supposed to be released yesterday (9/17/2001)!

Bee-autch

by eze (not verified)

I've been using it since sometime last week. It's GREAT!!!

by Evan "JabberWok... (not verified)

:: ..is where the hell is KDE 2.2.1?

No, the real question is "Were the tarballs released?", your question would (probably) be "Where are my OS/distro's binaries?"

Incidently, someone on #kde just told me that the tarballs *have* shipped "days ago", and that means that it's in the hands of the packagers.

--
Evan

by brambi (not verified)

if you can find it you can propably get the sources via cvs.

Bram.

by mdkuser? (not verified)

It seems at Mandrake everyone is too busy to make RPMS... maybe it's time to switch to SuSe.

by xmdkuser (not verified)

Yeap,if you like kde upgrades ASAP:)

by Frogger (not verified)

Mandrake was too busy getting its release candidate for version 8.1 out the door. Said release candidate does include KDE 2.2.1. Switch to SuSE if you wish but there is no need to utter calumny against Mandrake's deservedly good name.

by Richard (not verified)

The Idea behind Noatun is quite nice. The problem is it just doesn't seem to work. Upto now I never had a version that didn't crash right away after starting to play a simple .wav or .mp3 file. I regurlarily build CVS versions and right now I'm running 2.2.0. Well, maybe I have to wait a while. Until it's ready I'll use xmms...

Cheers,

Richard

by Evandro (not verified)

You should expect problems when running the CVS version, specially because of changes in arts.

The best thing you can do right now is try KDE 2.2.1 and if that doesn't fix your problem, report a bug.

by brambi (not verified)

My first impressions of noatun where also not good. It was ugly and complex. But now in kde 2.2 with a nice skin I like it.

I also use mostly xmms. The reason is simple: xmms doesn't use the soundserver and blocks the /dev/dsp device so I don't hear the embarrassing kde window manager sounds when listening music :-)))
--Bram.

by Stuart Herring (not verified)

You know...you could just turn off the windomanager sounds....

I use xmms too...mainly because I'm used to it......but I use the arts output plugin.....

by SubPar (not verified)

I had the same problem until 2.2.0. I didn't use it much when I ran 2.2.0, but I've been stressing it quite a bit since I pulled 2.2.1 from CVS early last week and it's been solid.

by Luser (not verified)

Please have a look at the CVS-version of MPlayer! (http://mplayer.dev.hu)
It plays just about anything (including WMV8). They also have QuickTime and RealMovie support in the TODO-list... (or at least talk about it on the mailinglist). It is also the fastest DVD-player on Linux.
A nice improved Windoze Media Player 6.4-alike KDE-GUI to this beast would make it the best Movie-player there is on any platform!
Also take the DVD-menus support from Ogle (http://www.dtek.chalmers.se/groups/dvd/) !

by MegaBite (not verified)

Why not just use aviplay. It is equivalent to mplayer (same libs), and has a nice qt gui instead of mplayer's ugly gui.

by Stof (not verified)

Because aviplay's underlying code is inferior. MPlayer is *much* faster and is more configureable.
I'd rather use a descent and full-featured player than some near-empty but good looking one.

by RAVEN (not verified)

I WOULD LIKE TO JOIN

by RAVEN (not verified)

I LOVE MPLAYER