Some Linux Audio Updates And Expansions
In this week's article I'll bring you up-to-date on what's happening with some of the many exciting developments in the world of Linux audio software, with recent news regarding the JOST plugin host, the Audacity soundfile editor, and the new LV2 native Linux plugin standard.
Developer Lucio Asnaghi (a.k.a. kunitoki on #jacklab) has released version 0.4.2 of his JOST plugin host. JOST accepts audio synthesis and processing plugins in LADSPA, DSSI, and native Linux VST formats, and provides a very flexible audio and MIDI I/O system. This latest release adds JACK master control capability to the system. This development is very cool for those of us who enjoy working with MIDI in a modern plugin-based sound synthesis and processing environment.
Kunitoki also encourages and monitors the development of native Linux VSTs from open source code provided by the original authors. Though written originally for Windows, this code is often released under the GPL, and some remarkable collections are available. The programmers at mda-vst kindly donated a package of more than thirty synthesizer and effect plugins, many of which have excellent sound quality. Other notable contributions include various effects from the DestroyFX crew, some interesting synths from the soi-disant Rock Hardbuns, and a potentially very useful set of MIDI event processors from the developer known only as The Piz.
JACK control capability adds a nice touch to the system. JOST already supports any number of internal MIDI sequencers while providing at least two ways to send and receive MIDI data from the outside world. Figure 1 demonstrates one such arrangement with seq24 and JOST running under JACK control. The sequencers do not yet operate with the level of independence found in the ancient Dr. T's KCS (Keyboard Controlled Sequencer), but the ability to fold sequences within sequences is very cool.
Rock Hardbun's Vex synthesizer provides the possibility for further complexity (Figure 2). Vex includes an integrated sequencer/arpeggiator with each of its three oscillators, thus creating a scenario in which Vex is controlled by an external sequencer, one or more JOST sequencers, and its own internal sequencer. Of course, JOST supports multiple instances of its hosted plugins, so you can complicate your composition and processing I/O to your complete satisfaction.
The JOST source package includes a Todo list in the top-level readme.txt file that indicates what Kunitoki has in store for his project, including support for synchronization with MTC (MIDI Time Code) and other interesting MIDI enhancements. Wishing personally, I'd like to see more edit functions for the MIDI sequencer and more complete JACK support. The system typically shows no xruns during performance, though some plugins can send it into deep space when fiddling with realtime parameter control. After all, JOST is still in development, but I recommend it even in its current early stages and I encourage users to help out by testing the program and reporting your experiences to Kunitoki. He is dedicated to improving JOST, and it's always a wonderful thing to watch (and help) a good program get better.
Audacity is certainly one of the most popular soundfile editors available today. As of November 2007 Audacity ranked at position #11 in SourceForge's Top Downloads list, with nearly thirty million downloads to date. If only a fraction of those downloads are in use that's still a hefty number of users, and given Audacity's power and utility it's quite likely that most of those packages are indeed gainfully employed and hard at work even as you read this article.
By the way, in July of 2007 Audacity won the coveted SourceForge Community Choice Award for the Multimedia category. For the sake of perspective, you might like to know that there are nearly 19,000 projects listed in SourceForge's Multimedia projects. Maximum congratulations to all Audacity developers and users !
The Audacity developers maintain stable and development branches for the project. The stable version is all well and good, but I prefer using the development version. It's the more advanced package, and it's typically quite stable, though all usual caveats apply. The development version recently reached release number 1.3.4, a significant release despite advancing only a minor number. You can peruse the New Features page for the shiny details, among which you'll find many fixes for old problems and some interesting new functions. The new stuff includes a neat Mix/Render To New Track command, support for the excellent VAMP audio analysis plugins, and a helpful metadata editor for OGG, FLAC, and WAV/AIFF exports.
If this update isn't present yet in your distribution's package repository you can build it if you want to check out its newest features as soon as possible. Fortunately Audacity is compiled with freely available tools and support packages, and I had no troubles building it for both my JAD and 64 Studio systems. When the source code's dependencies are satisfied the program can be built and installed with this familiar compile-time litany :
./configure --with-your-options-here make make install (as root user)
Audacity can be built with a variety of useful options, so be sure to run ./configure --help first to see what choices you have for extending and enhancing Audacity's audio toolkit.
This article intends only to inform readers about these updates, so I won't detail Audacity's laundry list of features. Suffice to say that it does what you'd expect from any polished editor. All sorts of cut/copy/paste operations are available, almost four hundred plugins are at hand for effects and dynamics processing (with the LADSPA sets), your work can be imported and exported in a broad variety of soundfile formats (including compressed formats such as OGG and MP3), the program functions well as an easy-to-use multitrack/multichannel recorder, and so on and so forth.
Audacity has become especially popular for editing podcasts and other network broadcasts, for transferring and repairing recordings from vinyl and cassette tape, and for use in teaching music. Each user will find his or her own special uses for the program, as you can see in this list of typical uses for Audacity here at Studio Dave :
- Trim excess silence from recordings
- Cut large files into smaller pieces
- Normalization (raise and balance amplitudes)
- Add effects such as reverb, chorus and flanging
- Slow playback speed without changing pitch (very useful for teaching)
- Remove cracks and pops from recordings
- Convert sample rate
- Convert file format (from WAV to OGG and/or MP3)
- Equalize or filter sound to make it brighter or give it more bass
- Use the editor as a music and sound composition tool
As much as I like and use Audacity it does have some minor and not-so-minor problems for me. The Linux version supports the JACK audio server as implemented in PortAudio, a cross-platform library of audio services that includes JACK support. Unfortunately this implementation is somewhat non-intuitive: Audacity does not show up in the QJackCtl audio connections panel until the user presses the Play button, which means that it's difficult to make arbitrary connections with other JACK clients. You can work around this limitation by creating a sufficiently long dead space at the start of your track, making your connections in QJackCtl while Audacity plays through the empty space, but this is a bothersome dodge. You also need to use the Pause control to stop playback, the Stop button severs Audacity's JACK connections. It would certainly be a performance improvement if Audacity simply appeared in QJackCtl as soon as it opened.
Windows users may be unhappy with Audacity's default lack of support for VST plugins and the ASIO low-latency driver. As fully GPL'd software Audacity cannot directly include the code necessary to add those amenities to itself, but the services can be compiled into the program. Users who wish to build Audacity for Windows will need to read the detailed instructions in the win/ directory in the Audacity source tree. Like the Linux build, the process is not terribly difficult, though any previous experience compiling software from source code will surely simplify that process.
Some readers may wonder why I even mention the Windows version in this article. As many of you know, I like to run the Reaper sequencer under Wine, and Reaper can invoke an external editor for editing segments and regions of audio within the sequencer. Alas, without ASIO support I can invoke Audacity as my editor of choice, but it won't play if Reaper is configured for the wineasio driver (which is how I use it on my JAD box). I can use it without problems on my 64 Studio iron, but since I can't use the wineasio driver there I must accept high latency values for both Reaper and Audacity. Even then, Reaper performs nicely as a host for VSTs, and I get to use Audacity as its embedded editor.
The LADSPA plugin standard has been a great success for the developers and users of Linux audio software. Every major sound application for Linux supports LADSPA plugins, and the collection of those plugins has grown in bulk and quality. Some LADSPA plugins are staple items in nearly every session I record here at Studio Dave. I routinely employ the CAPS Plate Reverb with my vocals and the DJ EQ for quick and easy equalization for my guitars. A glance at many of the descriptions on the Linux Audio Music site reveals that many users have their favorite LADSPA plugins, a testament to their utility and sound quality.
Wonderful as it is, LADSPA was designed primarily for effects and dynamics processors, i.e., it was not originally intended for virtual instruments. In the Win/Mac music and sound software worlds we see the VST standard for fx and other processors and the VSTi standard for virtual instruments such as synthesizers and drum machines. In the Linux world, LADSPA corresponds to the VST standard, while the DSSI API is similar to the VSTi standard. However, Linux audio developers have been working quietly and patiently on an "enhanced LADSPA" known as LV2, and judging from recent traffic on the LAD mail list LV2's development is not so quiet these days.
At this time there are only a few LV2 plugins and fewer LV2 hosts, as you might expect from the project at this stage. However, at least two notable projects show early support. The excellent Traverso DAW accepts LV2 plugins and the zyn project plans to create a series of LV2 synthesis plugins extracted from the famous ZynAddSubFX softsynth. If you're interested in learning more about the standard you should check out its Web home page and join the Linux Audio Developers mail list. The crew can always use more help, and not just from programmers. The Linux audio community stands to benefit greatly from a comprehensive native plugin standard, so check it out, get on board, make it happen.
Similis sum folio de quo ludunt venti.
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- Google's SwiftShader Released
- Interview with Patrick Volkerding
- Tech Tip: Really Simple HTTP Server with Python
- My +1 Sword of Productivity
- SUSE LLC's SUSE Manager
- Managing Linux Using Puppet
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Non-Linux FOSS: Caffeine!
- SuperTuxKart 0.9.2 Released
- Returning Values from Bash Functions
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide