Showing posts with label Residuals. Show all posts
Showing posts with label Residuals. Show all posts

Tuesday, 9 October 2018

Residuals Using Simple Separation - Seminar at Synthfest UK 2018

On Saturday the 6th of October, 2018, at 2:45, I presented a seminar about my method of using residual samples to do sound synthesis at the 2018 Synthfest UK event.


The title of the seminar was 'Sound Synthesis Using Residuals', and it described some research that I have been doing.



I promised to make the Nyquist filters for the Audacity audio editor available, and here is the link:

Filters for Audacity

The two filters look like this:


The 'Harmonic Extractor' filter outputs only the harmonics of the input, if the frequency of the narrow peaks matches the pitch of the input.

The 'Harmonic Rejector' outputs everything except the harmonics of the input (the 'inharmonics'), if the frequency of the deep notches matches the pitch of the input.

The shapes of these filters are not your ordinary synthesiser staples like low-pass filters. The shape of the harmonic extraction filter is sometimes called a 'teeth' or 'tooth' filter, whilst the harmonic rejection filter is often called a 'comb' filter.

Harmonics and frequencies are related in a not-quite-straightorward way. The pitch frequency is called the Fundamental, and is often represented by the symbol 'f' (for frequency). The first harmonic is at twice the frequency of the fundamental (2f), the second harmonic is at three times the fundamental (3f), and so on until your ears run out of range, or a digital representation of the audio gets close to half of the sampling rate and starts to be filtered out to avoid aliasing. Usually, all you need to know is that you add one to the harmonic to know what multiple of the fundamental frequency it is. So if the fundamental is 100Hz (f), then the 1st harmonic is at 200Hz (2f), the 2nd harmonic is at 300Hz (3f), and so on.  

What these filters do is to align the peaks or notches so that they match the harmonics of the input sound, and they then either extract or reject the harmonics in that sound. (This process is not perfect, of course...)

The RUSS synthesis technique uses these two filters to extract the harmonic part, and the inharmonic part, of the input sample. Once you have these two parts (called residuals), then you can use conventional S&S synthesis to create sounds using them as raw material. Separating the sample into two residuals lets you do all sorts of interesting edits...

More information on the RUSS synthesis technique can be found here.


Monday, 22 January 2018

AES@NAMM: Residuals Using Simple Separation

AES@NAMM 2018 Pro-Sound Symposium in Anaheim, California

My presentation: Thursday the 25th in Hilton Huntingdon A Level 4, 11am, 45 minutes, 

repeated Sunday the 28th in Hilton Huntingdon A Level 4, 11am, 45 minutes


Normally I just post personal research results in this blog (e.g. the MIDI Interfaces investigation), but when I’m presenting an academic paper at a real event, then this blog seems like a good place to gather all of the related information into one place...

For more years than I really want to think about, I have been looking into ways to use samples as the raw material for synthesis. Having spent my formative years during the rise of S&S (Sample and Synthesis (processing)), and with the E-mu Morpheus as one of my all-time favourite synths (or more correctly, sample replay devices with synthesiser-style post processing - and in the case of the Morpheus (and a few other favoured E-mu devices), that wonderful morphing Z-Plane filter!), then my aim has been to see just how far samples can be exploited in a synthesis context.

Research on 'Using samples for synthesis'...


The results of lots of thinking about how samples work, and how to make the most of them, particularly in a practical way. This is the topic of a paper that I’m presenting at the AES@NAMM 2018 Pro-Sound Symposium in Anaheim, California, on Thursday the 25th in Huntingdon A Level 4. I’m on at 11am for 45 minutes, and there’s a lot to try and pack into the time…

Supporting material (posted here as it becomes available…)


Demo video. First, here’s the 'teaser' ‘demonstration’ video that shows some of the results - using a single sample of an aluminium can (‘tin can’ is much shorter and easier to type, even though the metal is not tin!). This does not go into the theory or practice in much depth.

AES@NAMM. Here’s a link to the AES@NAMM web-site.

AES@NAMM Pro-Sound Symposium. This is a link to the event itself.

The AES@NAMM Schedule. Who is speaking when and where...

'Residuals Using Simple Separation'  The link to the presentation schedule - it’s an AES ‘Engineering Brief’. 


'Residuals Using Simple Separation' Powerpoint. Here’s a link to the slides from the presentation, where I talk about some of the background theory (there's more in the paper), and do some demonstrations. I’m going to post some more detailed audio demonstrations on SoundCloud and Youtube later too.

Now available... Here’s a link where you can download the Ableton Live Instrument Rack device that I used to do the demos in the video and the presentation. You will need to prepare two samples (or more) using the RUSS filters (below) and then drag^drop them into the two instances of Sampler inside the Rack. There’s lots of scope for a more intelligent front-end to doing this form of ‘synthesis using samples’. 

Now available... I have now partly tidied up the Nyqvist code for the sample processing routines that I used inside Audacity, the link is at the end of this paragraphl. They are released using a GPL licence. There are also a lot of possibilities to make the required sample processing smarter and more automated, and I hope to see some cool stuff released that makes the most of the creative possibilities. Filters etc are here...

I’m considering writing an M4L ‘assist ‘plug-in’, but I’m sure that a better coder than myself is going to beat me to it with something really cool and sophisticated.


I’m working on a ‘user manual’ for the techniques that are described in the paper and presentation, and I’m more than happy to talk to sample library creators about how they can use the concepts to enhance the flexibility and usability of their samples. 

Enjoy!




Buy me a coffeeBuy me a coffee