rui’s new synths: synthv1 and samplv1

The last week has seen the announcement of two new LV2 synths, both from Qtractor and QJackCtl developer and all ’round good-guy Rui Nuno Capela: synthv1 and samplv1. Both are in the early stages of development, but they’re already looking very promising.

synthv1 is a classic analogue-style synth with a few twists

You can never have enough good analogue-style soft-synths, and synthv1 is a welcome addition to the list. The basic synth design is pretty straightforward — two oscillators (with saw, pulse, sine, and noise waves), a multi-mode filter with its own envelope, and an LFO with various routing options. However, each patch actually has two instances of this synth engine, which are mixed and then processed through an effects section.

This layered design is particularly handy for adding sub-octaves to create strong bass sounds, or adding some high-end sizzle to pads, especially when combined with the filter’s high-pass mode and the LFO’s panning control. It can also create very wide stereo sounds, by building subtly different sounds on each layer and then panning the layers in opposite directions.

There are some other unique touches, too. For instance, the saw wave is actually continually variable between saw and triangle modes, which gives you more basic oscillator timbres to work with; hopefully later versions will allow the LFO to be routed to this wave shape control, both for saw/triangle variation and for pulse width variation. Also, the LFO has its own envelope, which can be used to adding vibrato or filter cutoff variation to a sound after the initial attack, for instance.

samplv1 fills a major gap: a simple sampler plugin

samplv1 is the more interesting for me, though, because it fills what I feel is a major gap in Linux audio: a simple plugin sampler. LinuxSampler is great, and it’s available as a plugin, but sometimes you just want to take a single sample and do something creative with it, especially when making percussion parts, and LinuxSampler doesn’t make that easy. Specimen (for which I recorded a video tutorial) is a better option for this, but as a standalone JACK app, it’s cumbersome to use, especially if you’re using multiple instances to host multiple sounds.

In a lot of ways, samplv1 is like a plugin version of Specimen — it lets you load a sample and map it to your keyboard within seconds, and then optionally use other synth components to process that sound. samplv1 uses the same envelope-controlled multi-mode filter and LFO as synthv1, which gives you a lot of scope for creative sound design; Specimen has a bit more modulation flexibility, but it’s not as immediately accessible as samplv1 is. samplev1 also shares synthv1′s stereo effects section.

It’s still early days for both of these, so don’t be too surprised if you run in to problems (I’ve had a few crashes with Ardour 3, for instance, but I haven’t narrowed down their cause yet), but they’re definitely worth checking out!

rpm 2012 post-mortem, track 6: direct ascent

Direct ascent was a proposed method for a mission to the Moon. In the United States, direct ascent proposed using the enormous Nova rocket to launch a spacecraft directly to the Moon, where it would land tail-first and then launch off the Moon back to Earth.”

After a few downtempo tracks, I felt like the album needed perking up around the half-way mark, so I chose this upbeat chiptune as track 6. This was the second track I started on, back on day 2, though I ended up scrapping much of that sketch and using the chord progression from its intro instead. I also kept the bass rhythm and the drum part, though I later embellished both of these a bit.

I started expanding it on day 15 by writing the intro melody, and then used a variation on that as the starting point for the main melody. I also reused the intro bass line as a second melody line in the start of the second loop through verse. There are four lead sounds that move between different roles; one lead sound for each verse, a separate lead part that’s used for the chorus, and an arpeggio part that also acts as a lead in the section just before the first verse.

As with hohmann, the percussion sounds are from the Dirty Dose sample set and LinuxSampler, while the synth sounds are made by TAL NoiseMaker, with the exception of the arpeggio part, which is Calf Monosynth. I did bend the rules a bit, though — the bass is more of a typical electro bass, with a nice punchy envelope on the filter cutoff, and one of the leads uses two oscillators and a delay plugin (Calf Vintage Delay) to add some more variety.

This is one of my favourite tracks on the album. Breaking the rules didn’t diminish the chiptuney feel at all, and with a few different sounds to play with, I was able to jump between them to keep things interesting. About the only thing I wasn’t entirely happy with was the start of the chorus — the chorus lead part has always seemed a little startling. With more time, a better mix may have fixed that, but some musical rearrangement to give the chorus a better lead-in would probably work better.

rpm 2012 post-mortem, track 5: specific impulse

Specific impulse (usually abbreviated Isp) is a way to describe the efficiency of rocket and jet engines. It represents the derivative of the impulse with respect to amount of propellant used, i.e., the thrust divided by the amount of propellant used per unit time.”

This is definitely the most song-ish track on the album; it could easily work with lyrics, if I’d had time to write them. I started this on day 14, when I was starting to get in to a bit of a rut, but I sat down at the keyboard and started playing around with a Rhodes sound, and eventually got a nice chord progression going. I revisited it a few times after that, but I didn’t end up fleshing it out until days 27 and 28.

Originally I’d planned to make this more of an electronic track, so once I had the chords down (using LinuxSampler and the jRhodes3 soundfont) I added the bass, using a slowly-pulsating patch (more of a slow “whum… whum…” than a clichéd dubstep “wubwubwub”) made in TAL NoiseMaker. Then, the Salamander Drumkit was released, and I was so impressed when I played with it that it inspired me to go with a more acoustic feel.

I had some segments of melody sketched out alongside the chords, but it took some time to flesh it out across the track and then add the solo in the final section. Though I mixed things up a bit by using sustained chords in some sections and more rhythmic chords in others, it was still hard to add enough progression with just the Rhodes, bass, and drums, so I added an organ part, using AZR-3, to fill out the second half of the track.

There’s the start of a good track here, I think, but I wasn’t super-happy with what I was able to do with it within the 29 days. The main problem is with the melody line — I don’t think its arrangement fits well with the rest of the track, and the playing in the solo was a bit rough. The electronic bass doesn’t sit terribly well with the rest of the track, either.

I was surprisingly happy with the drums, though, given their simplicity — all those round-robin samples in the Salamander mean that you still get some natural variation, even when you’re just repeating the same note over and over. If I can come up with some lyrics, or just some better ideas for the instrumental arrangement, it might be worth revisiting this track.

rpm 2012 post-mortem, track 2: hohmann

“In orbital mechanics, the Hohmann transfer orbit is an elliptical orbit used to transfer between two circular orbits of different altitudes, in the same plane.”

This was one of the quickest recordings on the album — I recorded it all in one night, on day 21, when I was starting to worry that I wasn’t making enough progress to finish on time. The inspiration was actually a modern game — I’d been meaning to make a track based on a Mass Effect-style “spacey” arpeggio for a while — though the actual sound was inspired more by the Metroid title theme.

The arrangement came together very quickly. I started with the bass sound, then added the arpeggio, and then worked on the melody, all using TAL NoiseMaker. There are a few rules you need to follow to create genuinely chiptune-like tracks, and while I bent some of these rules on the album’s other chiptune track, direct ascent, I stuck with them all here:

  • Don’t play more than three notes at once
  • Use only very simple synth sounds: use only one oscillator, and leave the filter wide open
  • Don’t play more than one percussion sound at once
  • Don’t use effects, such as delays (can I really record a track without at least one delay?)

Those self-imposed limitations on synthesis features forced me to use other features to make each sound unique and interesting, so I played more with envelopes and vibrato. I also used a lot of slides in the lead, both using legato in the synth patch and using the pitch bender, to add expressiveness to something that might’ve sounded quite static otherwise.

The percussion sounds are from the Dirty Dose sound set, loaded using LinuxSampler. To create the echoing effect without using a delay plugin, I used an old tracker-style method of simply repeating the note at lower and lower volumes.

While I’m happy with the overall sound of this track, and how chiptuney it sounds in particular, I think it’s one of the weakest tracks on the album; it just drags on for too long, and the lead actually starts to get a bit annoying. In hindsight, cutting off those long held notes in the lead part, and replacing them with some faked echoes, might have worked better. It was a great learning experience, though, and I certainly plan to make more chiptune tracks in future.

the salamander drumkit is out!

This is just a quick post to mention that the Salamander Drumkit is now available! As you might expect from the author of the Salamander Grand Piano, the Salamander Drumkit is a sampled acoustic drumkit that’s distributed in SFZ format under a Creative Commons licence. There are a lot of individual samples in there, but instead of using a lot of velocity layers, it instead has many “round-robin” samples — samples of the same drum hit in the same fashion which are used for successive hits.

Having so many round-robin samples adds a tonne of realism, especially for rolls, because you can trigger the same drum multiple times in quick succession without ever hearing the same sample twice. I think it also helps make this a really fun kit to play, too — even with just my MIDI keyboard to play it with, it feels lively and dynamic in a way that sampled kits often don’t.

Being in SFZ format means that you’ll need LinuxSampler from SVN to get it running. If you haven’t used LinuxSampler before, this guide should get you started.

new track: texel

After a few last-minute tweaks, I’m finally ready to release my new track. The plan is for this to be the first track of an EP that will be available for download from Bandcamp, but I’m sure that won’t happen for several months, so I wanted to post the track here early to give everyone a chance to hear it. It’s a downbeat, ambient techno-kinda thing I call “Texel”:


mp3 | ogg | flac | 3 minutes 16 seconds

I talked a little about the production in an earlier post, but I have included some further details after the jump.
Continue reading

new music update

A few months ago I posted that I was working on new music using Ardour 3, and I’m glad to say that my new track is now all but finished. Working with Ardour 3 was a bit nervewracking at times, as you’d expect when testing alpha software — there were several times, in fact, when I couldn’t even open the project’s session due to one bug or another. It all held together somehow, though, and after many bug reports and fixes, I definitely feel like it’s helped

The new track is a bit of a downbeat, ambient-ish thing, with some lo-fi sounds mixed in with some glitchy elements. I definitely put Ardour’s MIDI features to the test: there are MIDI tracks running out to my Blofeld and to Hydrogen, along with LV2 synths (Calf Monosynth and Linuxsampler), along with automation of CC parameters on the Blofeld and automation of plugin paramaters on Calf Monosynth. I’ve done quite a bit of effects automation as well, particularly with the bitcrushing Decimator plugin.

There’s even a VST plugin in there now; I had been beta-testing Loomer Cumulus, using it as a standalone synth, but with Ardour’s new VST support I now have it running within Ardour directly. Cumulus is somewhere between a synth and an effect: it lets you load a sample, and then trigger its playback using granular synthesis with varying paramaters, altering the starting point, pitch, and playback rate, among other things. You can define up to eight sets of those parameters, and then trigger those via MIDI keys. It can turn all sorts of sounds in to eerie textures, but it can just as easily take a drum loop and turn it in to a wonderfully glitchy mess, which is exactly what I used it for.

I’m pretty sure the track is done, but I don’t want to release it just yet. I plan to sit on it for a few days at least, while I read more of my copy of Mixing Secrets for the Small Studio, but I like the idea of putting together at least an EP with a couple of other tracks and releasing them all at once. That might not be practical if it takes me four months to finish each track, though, so I may post the individual tracks here when they’re ready, and then do an official Bandcamp release once they’re all done.

everything you always wanted to know about linuxsampler

LinuxSampler is an odd beast — it can be tricky to install, and confusing to configure, but it’s undoubtedly the best tool for working with large sampled instruments under Linux. With its next release adding support for the increasingly popular SFZ format, and the fact that it’s one of the few LV2 synth plugins ready for use with Ardour 3, I think it’s about to get a lot more important.

Let’s not get too far ahead of ourselves, though. What exactly is LinuxSampler, what’s it useful for, and perhaps most importantly, how do we use it?

LinuxSampler GUI

LinuxSampler handles large sampled instruments with ease

LinuxSampler basics

LinuxSampler is a sample-based synth that lets you use very large sampled instruments. Rather than loading the entire instrument in to RAM, LinuxSampler loads just the start of each sample, and then reads the rest from disk as it’s needed. Because of this, it can load instruments much larger than your system would be able to handle with other software, such as Hydrogen or Fluidsynth/Qsynth.

Realistic piano sounds are perhaps the classic use for LinuxSampler — a good piano, like the Salamander Grand Piano, can reach 2GB or more in size — but it works just as well for electric pianos, guitars, violins, trumpets, drum kits (a personal favourite), or any other instrument that calls for large samples, or a lot of samples, to provide a realistic result.

LinuxSampler can be run standalone — it supports ALSA and JACK for both MIDI input and audio output, and can handle an arbitrary number of inputs and outputs mapped to different instruments. It can also run as a plugin; the LV2 plugin runs well under both Ardour 3 and Qtractor.

File formats

The inspiration for LinuxSampler was a Windows app called Gigasampler, which was the first sampler to incorporate on-demand streaming of sample data. It’s a standard feature in professional samplers today, and Gigasampler itself has been defunct for some time, but its legacy lives on in the “.gig” file format, which is also LinuxSampler’s primary file format.

You can still find some great commercial sample libraries in .gig format, but it’s definitely falling out of favour today. To address that, the development branch of LinuxSampler has added support for a new format called SFZ. It’s a young format, but it’s growing in popularity thanks to the availability of free SFZ plugins across all platforms. Also, because of its design (the SFZ file itself is a simple text file, separate from the actual sample data), you can download third-party SFZ mappings for some commercial instruments.

Even though .gig is fading away commercially, it’s still useful for bundling your own sounds. The LinuxSampler project includes a .gig editor called “gigedit”, which you can use to create your own instruments.

Hopefully you now have an idea of what LinuxSampler is and what it can do for you. Now all that remains is to learn how to install and configure it!

lv2 synths for ardour 3: a list

With Ardour 3 alphas coming thick and fast, and the beta looming on the horizon, I thought it was high time to examine the soft-synths that are available for use with it. While support for other synth plugin formats, like DSSI and native VST, may come in future releases, Ardour 3.0 looks set support only LV2 synths (though it of course supports LADSPA for effects, too). That obviously limits the selection somewhat, but there are still some nice synth plugins on offer.

Of course, Ardour 3 works just as well with external JACK synths, and with hardware synths, so you can still use old favourites like Hydrogen or Yoshimi, but using plugins certainly makes things easier when saving and loading projects.

NOTE: Some of these synths rely on a library called lv2-c++-tools. Versions of this library before 1.0.4 include a bug that prevents Ardour from loading any synth plugins built against it, so if some of the synths listed here fail to load for you, make sure you check your lv2-c++-tools version.

Calf plugins: Monosynth, Organ, and Fluidsynth

The Calf plugins are some of my favourites — the Flanger, Phaser, MultiChorus, and Vintage Delay are all great — and it comes with a couple of synths, too. Calf Monosynth is a classic analogue-style monophonic synth; it handles legato just like an old monosynth, which is something that a lot of soft-synths mess up, so it’s great for both electro basses and proggy leads. The git version adds LFOs and a modulation matrix.

Calf Monosynth

Calf Monosynth handles classic lead and bass sounds

Calf Organ is based on a drawbar organ; rather than emulating a specific organ it takes the basic idea and expands on it. You can adjust the harmonic and the waveform of each drawbar, and independently pan and detune them, too. It also has a pair of resonant filters, and three envelopes for modulation, which make it capable of all sorts of synth sounds beyond what you’d expect from an organ.

Calf Organ

Calf Organ is half-organ, half-synth

Calf Fluidsynth does what you’d expect it to do — it lets you load SF2 soundfont files, using the Fluidsynth engine. It’s only available in the git version of Calf, and it’s marked as experimental, so you have to enable it explicitly when configuring the build. Despite all that it does seem to work, though I haven’t had a good chance to really put it through its paces yet.

Calf Fluidsynth

The experimental Calf Fluidsynth plugin loads SF2 soundfont files

foo-yc20 organ

If you do want a classic organ, foo-yc20 may fit the bill — it emulates a Yamaha YC-20 combo organ, down to the tacky red background in the UI. It does a great job of emulating those cheesy 70s organ sounds, and it works really nicely through a chorus or rotary speaker plugin.

foo-yc20

foo-yc20 emulates a deliciously-cheesy combo organ

MDA EPiano

The MDA plugin set, which contains a variety of synth and effects plugins, has long been popular on Windows, and since going open-source a couple of Linux LV2 ports have appeared. Dave Robillard has ported the effects plugins, but he hasn’t yet started on the synths. The lv2-mdaEPiano project has ported one of the synths, though — the electric piano. It’s a very nice little synth, with a great sound and low resource usage.

lv2-mdaEPiano has its own GUI, but it’s a bit plain — I actually prefer Ardour’s standard plugin GUI controls. Thankfully, you can bring up a standard Ardour GUI for it (or any other plugin, for that matter) by right-clicking on it in the plugin list and selecting “Edit”. lv2-mdaEPiano uses lv2-c++-tools, so make sure you’ve upgraded that to 1.0.4 or later before installing it.

lv2-mdaEPiano

lv2-mdaEPiano is a port of the MDA EPiano VST plugin

So-synth plugins: SO-404, SO-666, and SO-KL5

These three plugins started as stand-alone JACK synths, but they were ported to LV2 by Jeremy Salwen:

  • SO-404: a single-oscillator monosynth; it’s similar to a 303, and while it’s not a strict emulation it certainly capable of the same kinds of sounds.
  • SO-KL5: a “piano” synth — it uses Karplus-Strong string synthesis, and while it doesn’t sound a lot like an actual piano, it sounds really nice in its own way, but a bit of an electric piano-ish vibe to it.
  • SO-666: a feedback drone synth, capable of some crazy, dissonant drones; the original website has the best description of how to use it
so-synths-lv2

The So-synth LV2 synths, with standard Ardour GUIs

LinuxSampler

I wasn’t sure about using LinuxSampler as a plugin initially, but it actually seems to work quite well! When you add the LV2 plugin within Ardour, you don’t get a GUI — it just launches an instance of LinuxSampler in the background and defines a MIDI input and audio output. Then, you can fire up LinuxSampler’s Fantasia GUI to load the instrument you wish to use. It’s a little clunky, but the settings are all saved as part of the session and restored when you reload it, just as you’d expect with a plugin.

linuxsampler-lv2

LinuxSampler's LV2 plugin uses an external GUI to load sounds

The Newtonator

I’m not sure how to describe this one, though words like “bizarre”, and perhaps “insane” certainly come to mind. The Newtonator uses some unique forms of synthesis, which are extensively, and entertainingly, in its manual. Its sound starts off as a simple sine wave, but after a few quick adjustments of some of its modulation parameters you find yourself knee-deep in some rich, distorted sonic mayhem.

The Newtonator

The Newtonator creates sounds that are harsh, distorted, crazy, and very cool

Qin

Like SO-KL5, Qin is a little string-based synth; it simulates plucked strings using a pair of oscillators and a pair of filters. Being monophonic limits its usefulness, but it can make some nice sounds.

qin

Qin is a monophonic plucked string synth

ll-plugins: Rudolf-556 and Sineshaper

The ll-plugins plugin set contains two quite unique synths: Sineshaper, a monophonic synth based (unsurprisingly) on sine waveshapers, and Rudolf 556, an analogue drum machine emulation that creates bass, snare, and hat sounds. Even with the updated version of lv2-c++-tools, Sineshaper doesn’t work in Ardour for me, but Rudolf 556 does.

Rudolf 556

Rudolf 556 creates drum sounds similar to those on analogue drum machines

Composite Sampler

Composite Sampler is the plugin component of the Composite project, which aims to create a realtime sampler and sequencer based upon Hydrogen. The sequencer itself isn’t usable yet, but this plugin, which plays Hydrogen drum kits, works just fine (as of version 0.006.1). With no GUI to speak of it’s a bit fiddly to use, but the release announcement includes basic instructions.

Others

There are some others that I either haven’t tried or couldn’t get working, or which simply aren’t finished yet. If anyone else can elaborate on these, let me know in the comments so that I can improve this article in the future:

  • Minicomputer-LV2: this is a work-in-progress LV2 port of Minicomputer. i don’t think it’s in a usable state yet, but it’ll be awesome when it gets there.
  • Calf has another “experimental” synth, called Wavetable, which I assume will be modulatable wavetable synth, like those from Waldorf. It doesn’t actually work yet, though, so we’ll just have to wait and see how it develops.
  • lv2_guitar: another string synth; thanks to Jeremy’s comments below I was able to build it, but it won’t load in to Ardour.
  • Zyn: this project aims to port the various synth engines from the almighty ZynAddSubFX to LV2. I haven’t had any luck getting Ardour 3 to load it, though, and I’m not sure if it’s actively maintained.

Have you had better luck with some of these? Have you found any that I haven’t listed? If so, let me know in the comments!

new track: move along

This track has been a long time coming, but it’s finally done! It’s my first original track with lyrics; it’s about leaving my job after so many years there, though I wouldn’t read too much in to the words. It’s certainly a departure from my usual electronic stuff — this has just piano, bass, drums, and vocals — so I’m keen to hear what people think of it.

You can download or stream it below, or at Bandcamp. Some production notes are under the cut.


mp3 | ogg | flac | 3 minutes 47 seconds

Continue reading