Making Music With Linux : Notation And Alphabet Soup 49
In the computer world's neverending list of confusing acronyms, OSS is used in a lot of different ways. I had the opportunity to speak with Dev Mazumdar, president of 4Front Technologies, the people behind OSS (hang on, you'll find out which one!) and xmms to clear up the confusion.
"OSS is Open Sound System and in this case, the word 'Open' implies 'Open Systems' which are typically UNIX (aka Solaris, AIX, BSD, UnixWare, etc.) based."
"We coined the term OSS before there was any concept of Open Source Software pitched by ESR. However, there is an 'Open Source' version of OSS known as OSS/Free which is distributed with the Linux kernel sources. OSS/Free (aka Voxware) is also distributed in the FreeBSD kernel. OSS is actually an API with both commercial and free software implementations -- much like X Windows, where there are XFree and commercial implementations from companies like XiG, MetroLink, etc. We are just the copyright holders for the OSS API (which is distributed under a BSD-like license)."
So, what's new in the world of the Open Sound System? Dev continues:
"The biggest news, of course, is support for more and more soundcards and the fact that companies like Creative and Aureal are doing their own drivers based on the OSS API. Additionally, there are more and more commercial companies developing apps on top of the OSS API, which means that these apps work perfectly on either OSS/Free, or our commercial OSS drivers -- and this translates to FreeBSD, Solaris, and UnixWare users being able to use Linux binaries on their operating systems via Linux emulation."
"In terms of other stuff that we do, XMMS just won the Slashdot Beanie award ... that's huge."
Dev's company, 4Front Technologies, has gotten a lot of flak on Slashdot and other places for thriving on proprietary software. Dev said he hopes that Linux and Open Source advocates can see the forest for the trees, and he explained what 4Front is doing with OSS.
"If you are talking about OSS as in Open Source Software, then basically, we've given up the control of OSS/Free to Alan Cox so that he can shepherd the continuous development and as a matter of fact, there's tons of good work going on in the Linux 2.4 side -- people have been fixing configuration and driver bugs so that Linux 2.4 is going to have some really good sound support."
"However, we do have an Open Source Software program -- X MultiMedia System (XMMS) that's GPL'ed, and that as you know has been winning rave reviews. 4Front's employees, Peter, Olle and Thomas are being paid to work on XMMS. While XMMS doesn't earn us any revenue, we do sell the QSound plugin for XMMS which gives us a little more revenue from XMMS."
"XMMS is proof that 4Front is not all about closed-source software ... we do closed-source software (aka our sound drivers) to make money, in order to do other open-source stuff and of course to make a living. The fact that XMMS won Slashdot's Beanie award says volumes about 4Front's 'products' and our engineering ability."
You really couldn't ask for a better flagship sound product than XMMS, but working with OSS still has it's challenges.
"Currently [the biggest challenge is] getting the SBLive, Maestro and Vortex drivers working with all the bells and whistles. While Creative's and Aureal's own OSS compatible drivers work much better than ours, they are only Linux oriented. We have SBLive and Vortex running on other operating systems like Solaris, FreeBSD etc."
"Some of the other challenges are getting OSS supported on BeOS or other operating systems. It's more the case of lack of manpower than the engineering skills to do it."
Dev feels that the key to getting great audio authoring tools working on Linux is to pull in the celebrity angle on the production end.
"Right now, there are some really good programs like Snd, Slab, Jazzware, Rosegarden, Broadcast2K and MP3 stuff. But what is needed is one good example of a popular musician to come out and say 'I made this multiplatinum album using Linux!' The 'Titanic made on Linux' was a tremendous boost for Linux, we just need a similar boost -- even if Linux plays a small part in the production who cares as long as someone like Madonna, or any of the teen idols say they used Linux. This will be a wakeup call to the applications industry to start paying attention to Linux."
"The future of music on Linux lies in application support it receives. Currently, we do have all the major apps like RealAudio, MP3, Flash, ViaVoice [and] Loki Games working, but some of the 'pro' audio stuff like ProTools, SoundForge, or Cakewalk are sorely missed on Linux. But we think that these apps will never see the light of day on Linux because the userbase is most happy with the Macintosh or Windows environment. I have many friends in Hollywood who are either scoring music for movies and music videos or are sound engineers, and all of them are wedded to their Macs -- you couldn't pry their cold dead hands off their Macs! We really need support for the pro audio hardware -- stuff that sound engineers use on their Macs. We'll probably get there some day, but until then, we in the Linux community have to bite the reality pill and accept that Linux is not there yet."
"There is another side to music production and that's the realaudio or icecast/shoutcast MP3 stuff. This is where you'll see more Linux/Unix machines. We're working with a couple of radio stations to implement Real Audio live streaming servers using Linux."
When it comes to breaking into the semi-professional and professional audio production space, the ALSA team is making some strides. I spoke with Jaroslav Kysela, SuSE developer and head of the ALSA project. First, I asked Jaroslav about what ALSA was, and how it differed from the OSS efforts.
"The ALSA abbreviation means the Advanced Linux Sound Architecture. We offer a modern sound driver and basic audio library for this driver. Along these main goals, we are working on configuration tools for end users to simplify the installation and usage."
"We want to give the real audio power to the Linux users, because interfaces, used in Open Sound System, seem to be very limited to us. But compatibility is a major key for us, too. We provide the complete OSS emulation implemented in add-on layers."
"We definitely entered into world of semi-professional and professional audio. Actually, the ALSA driver package contains code for RME Hammerfall, RME Digi 96 and Envy24 (MidiMan Delta series) soundcards."
"Other hot news is that the ALSA driver can forward the AC3 stream through the S/PDIF output. Linux DVD players may use this feature."
"Also, we have positive signals that the ALSA driver is going to be merged into Linux 2.5 development kernels. That is a preliminary fact, but we hope that our dealing with Alan Cox will be successful."
SuSE is well-known for a solid Linux distribution as well as video card support out the wazoo. What's SuSE doing with ALSA?
"I have to do some advertisement here ;-) SuSE is very helpful, because the ALSA professional team works full-time on the ALSA project. The team has two members and we will grow to three members soon."
"More information about the ALSA professional team may be found at http://www.alsa-project.org/announce.html."
"The primary goal is the integration into the Linux 2.5 development kernel. Also, the development continues. Some things are still waiting for the implementation. I may notice support for four and six speakers to create a interface for 3D audio layers and software DVD audio decoders. We want to finish the documentation for application developers and the work on the driver configuration utility is in progress."
What about music production on Linux, Jaroslav?
"This is a bit difficult question, because I am not a musician and I spend most of my time only with the driver development. I personally think that the current progress in this area is very promising. For example, Jazz++ sequencer is covered with GPL now. The support for professional cards in ALSA provoked next reactions like Ardour (a multitrack recording application). I feel, the actual situation with Linux music and audio applications will be better and better."
Well, the worlds (and acronyms) of OSS and ALSA are no longer a mystery. Moving steadily from technology to the artist, we turn to the universe of notation. While it may have been good enough for the Beatles not to be able to read sheet music, the rest of us may need a staff and notes to know how to play 'Please Please Me.'
Well-known Linux music packages Brahms and Rosegarden handle notation, as do lesser-known programs like Lilypond, which can convert your source file to a TeX file, or Mup, which will convert your music to a postscript file that can be printed as standard sheet music.
For a super-techy way of handling notation under Linux, check out Haskore. From the Haskore web documentation: "Haskore is a collection of Haskell modules designed for expressing musical structures in the high-level, declarative style of functional programming. In Haskore, musical objects consist of primitive notions such as notes and rests, operations to transform musical objects such as transpose and tempo-scaling, and operations to combine musical objects to form more complex ones, such as concurrent and sequential composition. From these simple roots, much richer musical ideas can easily be developed." An example of Haskore expressions, check out http://haskell.org/haskore/onlinetutorial/childsong6.html.
I hope you've enjoyed reading this series as much as I have writing it. From professional music production to hobbyists, from track editors to free content licenses, from acronyms to notation, we've run the gamut. If you have any cool Linux sound news you'd like to share, or know about a really cool open source sound project, share it in the comments below!
Re:Very Interesting (Score:1)
It's a good moderate newbie bit. We have a lot of them around here these days; Guys and gals that wouldm't know mpg123 from a hole in the ground or even their own behind. Not for lack of trying, they just haven't had any one to feed their brain.
Timothy is feeding them, and making them into us. Information is always a good thing.
Triviality and Jecklin Discs ... (Score:1)
Yes, I know what needs to be done; I'm just wondering if there is software running under Linux which does this. (Does slab?)
thanks for further opening the "what does OSS mean" can of worms
timothy
AC-3 -> S/PDIF (Score:2)
I have had great success with playing full Dolby Digital 5.1 sound from within Linux using an external decoder (Matrix baby!). This is one less hurdle in getting good DVD support in Linux (excuse the blatant shameless plug
Check out ac3play and alsaplayer [alsa-project.org]
-adnans
Re:Fuck off (Score:1)
Re:30 out of 90 (Score:1)
Re:Noone cares (Score:1)
Since programs like Cubase VST, Cakewalk, Sadie and ProTools sell very well under Windows there is no incentive to port to Linux. It is a catch 22 without these programs hardware support is pointless and vice-versa.
I have used Slab under Linux and it has a long way to go before it gets anywhere near Cubase VST.
-dp
www.opencodecs.com (I want Mpeg-4) (Score:1)
Wav editors are getting better, but still a ways off. I'm not giving up Soundforge yet. (Is there a linux version equivalent?)
Mpeg, Midi and Mods are supported very well. Not sure about sound font support.
I'm currently using mpeg-4 (divx) or mpeg1 (vcd). For Audio its mp3, works great.
Mostly I think we need better codec support. I have almost 35 audio/video codecs loaded in windows.
Soon as Linux has more programs and native codecs, people will convert.
-IronWolve-
BTW, that www.opencodecs.com isnt taken. (;
Re:OSS... (Score:1)
getting it to work (Score:1)
Many times XMMS won't work on my system since I am using Window Maker. It works fine under GNOME, but I don't want to use such a bloated and slow WM. I use a 150 MHz pertium, so its barely good enough to play MP3s. (Listening to MP3s while using Netscape seems to rapidly cause me great amounts of frustation.)
Many times the MP3 sound comes out at half speed or twice the speed. Between kernel re-compiles I'm lucky if it works again at all. I did get it working under 2.3.99-pre3, but that was more flakely then 2.2.14.
Why? Is it the player, the cards or the drivers? Is it going to get better in the future?
I know there are answers to all of these problems, but overall sound seems to be on ongoing issue.
ProcessTree Network TM [processtree.com]
Don't forget jMax! (Score:2)
jMax, however, is something entirely new and different...and free. Just as many people have realized the cool potential of Max in the Macintosh world, let's not forget that we have something all our own (jMax is currently available on Linux and SGI)
http://www.ircam.fr/equipes/temps-reel/jmax/
Re:OSS... (Score:1)
I think this is great for the Linux community in general, cause it shows that we can make some phat tunes using only acronyms.
ALSA vs OSS (Score:1)
Re:I care (Score:1)
CY
vvvvvvv../|__/|
...I../O,O....|
...I./
..J|/^.^.^ \..|.._//|
...|^.^.^.^.|W|./oo.|
Re:getting it to work (Score:1)
I was able to play MP3s on a 120 mhz cyrix (P150+) under kde and xmms almost seemlessly by setting the buffer to something like 9000.
ALSA Player rules! (Score:1)
check out ALSA Player. It is the only CD and MP3
that I know of that can play music backwards and
at different speeds. Because of this I removed
the cable between my CD and sound card (this
reduced the line noise considerably!) XMMS is a
better program all together, but ALSA Player
is must have for the variable speed play.
Re:Triviality and Jecklin Discs ... (Score:1)
I haven't played with any Linux sound editing apps yet. I use Cool Edit Pro on Windoze because Linux doesn't yet support any digital-only IO devices (please, someone correct me if I'm wrong). Anyway, in CEP there is an amplify preset that does just that: turns an MS pair into a stereo mix. My gut tells me that any decent DAW app should be able to do that. It's as simple as doing a sum of the M and S, then reversing the phase of S and doing a second sum.
HTH,
ps
LilyPond. (Score:1)
for a fewl like me, who just bangs out notes for fun, it's kinda cool to grab a midi file from the net, covert it to sheet music, and bang away.
LilyPond [cs.uu.nl]
M-S encoders==Joint-stereo (Score:1)
Re:CSound (Score:1)
Re:Very Interesting (Score:1)
Think of it this way:
Many of you complain about the lack of games for linux, and how you only keep windows for gaming.
Well the same is true for me and audio apps! Just because some people have different interests, don't dismiss their voice.
c.
http://www.mp3.com/salemgunclub
I care (Score:1)
Anyone else have this problem? It wouldn't bother me as much but I have crummy eyesight and the type looks TINY at that resolution.
Truly, there are people who care about advancing the state of the art in audio composition and multitracking tools. I'm one of them...if only so I can take advantage of those tools for my own work. =P
Re:If only my soundcard worked.... (Score:1)
Re:Noone cares (Score:1)
Re:Noone cares (Score:1)
what sort of things do you consider geekworthy btw ?
Re:Are there M-S encoders for any Free OSes? (Score:1)
1) Beowulf is for
2) A Jecklin disk is for increasing the accuracy of stereo recording
I fail to see the connection
-dp
Tracking, an alternative to sheet notation (Score:2)
Basically, the idea is that you have patterns of rows, in which you can input data, such as note trigging, effect parameters, etc. Then you make a sequence out of these patterns and the program plays them.
OCTAL is going to have virtual sound machines, meaning modules that can produce or transform sound. You then program each of these machines to play music or produce effects.
An app similar to OCTAL is already out for Windoze, called Buzz and it has proven that such a concept works great and has the ability to produce unique sounds. (I should know, I wrote a whole lot of songs using Buzz). Unfortunately, Buzz is not open-source (albeit it's free) and it's not available for Linux or anything like that. So, I'm definitely looking forward to OCTAL coming out, as it's going to kick loads of ass.
I don't like using CSound because it's too cumbersome and nonrealtime for me. With OCTAL (and Buzz), things are much easier (although you don't have as much power), yet you still get very nice results. Finally, compared to old-style trackers that only played samples at different speeds (that's where tracking began), OCTAL soft-synthesizes sound right on the spot, giving you the best sound possible. The main disadvantage of this all is that it's quite CPU intensive.
So, check it out: http://www.gnu.org/software/octal/ [gnu.org] I can't wait till it comes out and I'm drooling over it. Serious. Very exciting stuff (at least for me).
Electronic Musician Article, Mark III (Score:2)
I'm posting it again, along with a link to Electronic Musician magazine [emusician.com] itself, because they're a great magazine, and had the forethought to commission an article on Linux music support over a year ago. Check them out, and check out the article.
--
OSS and ALSA (Score:2)
Only thing is, I have an Ensoniq SoundScape, which is only supported by the OSS drivers in the stock kernel.
Has the ALSA folks been eyeing the OSS drivers, to "absorb" them into ALSA? Would retooling the older drivers be too nontrivial? Are they focusing their efforts on newer hardware? What's the situation?
What sucks about the OSS driver is its lack of MIDI support (okay, you *can* do MIDI, but you can't adjust the volume and it plays EXTREMELY LOUD) and the annoying "pop" it makes whenever it starts playing digital audio. ALSA fixes both these problems, and goes way beyond.
Re:Oh, yes, I forgot. (Score:1)
signature smigmature
Interesting (Score:1)
Despite what trolls (who tend to exist outside of the "real world") would have you believe, there are many people out there who want an alternative for x86 music creation. Advancements in this area for Linux could be really useful. There are even casual music-makers who still have to reboot to Windows in order to make music-- there are simply no Linux alternatives.
Unlike gaming and other fields Linux is exploding into, music may be an area where they could really carve out a niche and I anxiously await future articles on Linux as a music development platform.
Re:What is the best affordable card? (Score:3)
Re:OSS and ALSA (Score:1)
Depends what program you're using...
Does it? In my experience, CLUNK ALSA is even worse about the latter than OSS is CLUNK...
ALSA rules! (Score:1)
only problems i'm having are from not being able to compile c++ executables (i've tried everything..) and i can't set up an alsamixer to make my rear speakers louder. Also, the xmms alsa plugin doesn't work for me (xmms segfaults), and without it, there's a bit of static at the beginning of each song. But it still sounds way better..
Go alsa/SuSE!
Mike Roberto (roberto@soul.apk.net [mailto]) - AOL IM: MicroBerto
Re:OSS and ALSA (Score:2)
Depends what program you're using...
No, it's an actual limitation of the driver. I e-mailed the OSS guy (Hannu something) a while ago about this, and he said that the driver doesn't do it. That the commercial OSS one did
I didn't know ALSA had similar bugs . . . but those are almost certainly getting looked at. The OSS drivers, I'm pretty sure no one is hacking on anymore.
Re:Noone cares (Score:1)
Wigs .sig press 3.
--To see my
ABC is one of the best open notation standards. (Score:1)
While originally created to notate traditional (i.e. Irish, Scottish, Bretton, etc) music using simple ASCII text, the standard now supports some pretty complex notation. In fact there is a version of Beethoven's Symphony No.7, Movement 2 [ucolick.org] by Steve Allen.
Most of the ABC interpreters out there are GPL'd (including abc2ps, the ABC to Postscript Converter) and there are apps ou there for just about every platform (including a java based interpreter for embedding in you web pages). There are also a couple converters to or from MIDI, and a few apps that get a little fancier (add harmonies, etc). See the ABC Homepage [gre.ac.uk] for a complete list of software and music available.
Anyway I'm done ranting....just wanted to see my favorite notation system get some air time.
Re:What is the best affordable card? (Score:2)
A good 256 stream through one sounds almost as good as the CD, whereas the Awe32 sounds like a dying Black and Decker jigsaw and a SB16 sounds like Norm just started every powertool in the New Yankee Workshop.
Hint: set "ogain" to zero before using awe64 (and probably awe32) card. Of course, comparing anything with SB16 is plain stupid -- in its "normal" form the card has really noisy amplifier and only FM MIDI that indeed produces extremely awful sounds.
However SB PCI 128 (that is not even originally from Creative -- it's Ensoniq AudioPCI) is a very unremarkable card except for the fact that it has two identical devices, one of which is used by all-software MIDI.
Re:Very Interesting (Score:1)
Cakewalk (Score:1)
With a bias like that, we'll be waiting for a long time...
Flaws in Cakewalk, Cubase (Score:1)
Haskore does not support notation (Score:1)
Haskore would best be described as a `music representation formalism', and not a music notation program. If you want to produce music notation, you should consider lilypond [cs.uu.nl] which, incidentally, has an input grammar that closely resembles the grammar of Haskore.
Re:getting it to work (Score:1)
2) XMMS works fine with WindowMaker. You may need to switch off save unders in ~/GNUstep/Library/WindowMaker/Defaults/WindowMake
3) XMMS runs fine here with 2.3.99pre2
4) If you can play MP3s, pretty much any other digital audio format should also work.
5) Those errors sound more like driver issues rather than anything else. What sort of card do you have?
If only my soundcard worked.... (Score:1)
Are there M-S encoders for any Free OSes? (Score:2)
Does anyone know of a software / hardware combination under Linux or other free OS which allows for this?
Ideally, I would like to make multiple 2-track recordings simultaneously of the same subjects, in order to go back and compare the differences in approach, mic placement, mic type, etc, and M-S is one thing I've heard about but don't have the equipment to do right now.
Anyone doing this?
timothy
Re:If only my soundcard worked.... (Score:1)
Re:Are there M-S encoders for any Free OSes? (Score:2)
OTOH, I've been using a Jecklin Disc [josephson.com] for recording orchestras and chamber ensembles for a couple of years. I like the sound, and it was easy to make. Mono compatibility is superb, and there are no weird comb-filtering artifacts like you get with XY and ORTF pairs of cardioids.
ps
Re:Very Interesting (Score:1)
What bothers me most is the let down. I, like many others, compulsively and obsessively reload Slashdot. For that brief, fleeting moment, when I notice that a new article has been posted, I find myself elevated to a state of euphoria one would be hard pressed to compare. But as I realize it's another stupid Professional music on Linux article, my heart sinks. I crash hard. It's probably physiologically comparable to a heroin addict quitting cold turkey. So please Emmett, think twice before you post another music on Linux feature. Think of the horror you put me through. And think of the people around me.
Thank you.
signature smigmature
OSS... (Score:1)
Seriously, though, that was a good article. I'll just be happy if I can get a sound card that does full duplex under Linux, I want to try out those Internet phone programs... (multiple DSP's would be cool too!)
I haven't checked out the ALSA project, but I've been having problems with some poorly written applications that end up locking up my sound card. However, if it gets stuck into the kernel anyhow, or if I get a new sound card, hopefully my problems will go away.
---
1) Open Sound System
2) Open Source Software
3) Optimum Stereo Signal
---
pb Reply or e-mail; don't vaguely moderate [152.7.41.11].
CSound (Score:2)
It's free, the source is available, and it can synthesize some amazing sounds. What more could the