All Projects → magnetophon → Voiceoffaust

magnetophon / Voiceoffaust

Licence: other
Turn your voice into a synthesizer!

Projects that are alternatives of or similar to Voiceoffaust

lessampler
lessampler is a Singing Voice Synthesizer
Stars: ✭ 59 (+7.27%)
Mutual labels:  dsp, voice
Synstack
Modular soft synth & Forth based VM for audio DSL experiments
Stars: ✭ 79 (+43.64%)
Mutual labels:  dsp, synth
spafe
🔉 spafe: Simplified Python Audio Features Extraction
Stars: ✭ 310 (+463.64%)
Mutual labels:  dsp, voice
Main-Supercollider-Files
my supercollider codes, version history is at the branches
Stars: ✭ 21 (-61.82%)
Mutual labels:  dsp, synth
sound-garden
A personal journey into the audio synth domain
Stars: ✭ 21 (-61.82%)
Mutual labels:  dsp, synth
Dx7 Supercollider
My accurate Yamaha DX-7 clone. Programmed in Supercollider.
Stars: ✭ 395 (+618.18%)
Mutual labels:  dsp, synth
ws-ldn-12
ARM / STM32F7 DIY synth workshop
Stars: ✭ 62 (+12.73%)
Mutual labels:  dsp, synth
Q
C++ Library for Audio Digital Signal Processing
Stars: ✭ 481 (+774.55%)
Mutual labels:  dsp, synth
Francium Voice
Record user voice and encode it as MP3 or WAV
Stars: ✭ 35 (-36.36%)
Mutual labels:  voice
8d Audio
Some dsp to make songs "8D"
Stars: ✭ 43 (-21.82%)
Mutual labels:  dsp
Sigmadsp
A versatile Arduino library for interfacing with the ADAU1701 audio DSP
Stars: ✭ 30 (-45.45%)
Mutual labels:  dsp
Nexmo Node Code Snippets
NodeJS code examples for using Nexmo
Stars: ✭ 36 (-34.55%)
Mutual labels:  voice
Starrysky
🔥A Powerful and Streamline MusicLibrary(一个丰富的音乐播放封装库,支持多种音频格式,完美解决你的问题。)
Stars: ✭ 1,022 (+1758.18%)
Mutual labels:  voice
Guitard
Node based multi effects audio processor
Stars: ✭ 31 (-43.64%)
Mutual labels:  dsp
Fundsp
Audio DSP library featuring an inline graph notation for audio processing
Stars: ✭ 45 (-18.18%)
Mutual labels:  dsp
Africastalking Java
Official Java SDK
Stars: ✭ 27 (-50.91%)
Mutual labels:  voice
Aaya
Personal Voice Assistant
Stars: ✭ 20 (-63.64%)
Mutual labels:  voice
Synthdefs
Synthdef Pool
Stars: ✭ 54 (-1.82%)
Mutual labels:  synth
Regrader
VST delay plugin where the repeats degrade in resolution
Stars: ✭ 44 (-20%)
Mutual labels:  dsp
Vst2
Bindings for vst2 sdk
Stars: ✭ 39 (-29.09%)
Mutual labels:  dsp

VoiceOfFaust

Turns any monophonic sound into a synthesizer, preserving the pitch and spectral dynamics of the input. The name was chosen because I use it mostly to turn my voice into a singing robot, and it's made in Faust.

These are some silly demo songs. And an even sillier video.

Overview

VoiceOfFaust consists of:

  • An external pitch tracker: helmholtz~ by Katja Vetter
  • compressor/expander, also by Katja, ported to Faust.
  • 7 synthesizer and two effect algorithms:
  • All oscillators are synchronized to a single saw-wave, so they stay in phase, unless you don't want them to!
  • powerful parameter mapping system Lets you set different parameter values for each band, without having to set them all separately
  • All synths are spatialized at their core: sounds are generated in stereo, multichannel or ambisonics format, not made in mono and afterwards given some stereo width with effects.
  • formant compression/expansion: Make the output spectrum more flat or more resonant, at the twist of a knob.
  • flexible in and output routing, totally changing the character of your synth.
  • all parameters, including routing, are step-less, meaning any 'preset' can morph into any other, with the only exception of the octave setting (though for some of the synths even that one is continuously variable)
  • multi-band deEsser and reEsser
  • Optionally use as a master-slave pair
    • This is a workaround for the need for an external pitchtracker, making it possible to use the synths and effects as plugins. It has the nice side effect that your sounds become fully deterministic: because a pitchtracker will always output slightly different data, or at least at slightly different moments relative to the audio, the output audio can sometimes change quite a bit from run to run.
  • configuration file Through this file, lot's of options can be set at compile time, allowing you to adapt the synth to the amount of CPU power and screen real-estate available. Some of the highlights:
    • number of bands of the vocoders
    • number of output channels
    • whether we want ambisonics output
    • whether a vocoder has nrBands or nrBands * nrOutChan oscillators. more info
  • Lots more, described in Features.

Table of Contents

Building and running

There are two versions of Faust, developed in parallel: Faust 1 and Faust 2. You need version v0-9-85 or later for Faust 1, or version v2-0-a49 or later for Faust 2.

http://faust.grame.fr/download/

Once you've installed the faust compiler, go to the folder where you've downloaded VoiceOfFaust, and run ./install.sh to compile it. (It doesn't actually install anything.)

For the pitchtracker you need to install pd-extended: https://puredata.info/downloads/pd-extended

Finally you need jack: http://jackaudio.org/downloads/

To run VoiceOfFaust, it's easiest to use the ..._PT scripts in the launchers directory.

Features

Vocoders

features of all vocoders

parameter mapping system

The parameters for the vocoders use a very flexible control system: Each parameter has a bottom and a top knob, where the bottom changes the value at the lowest formant band, and the top the value at the highest formant band. The rest of the formant bands get values that ere evenly spaced in between. For some of them that means linear spacing, for others logarithmic spacing.

For even more flexibility there is a parametric mid: You set it's value and band number and the parameter values are now:

  • 'bottom' at the lowest band, going to:
  • 'mid value' at band nr 'mid band', going to:
  • 'top value' at the highest band. Kind of like a parametric mid in equalizers. If that's all a bit too much, just set para to 0 in the configuration file, and you'll have just the top and bottom settings.
formant compression/expansion

Scale the volume of each band relative to the others:

  • 0 = all bands at average volume
  • 1 = normal
  • 2 = expansion expansion here means:
  • the loudest band stays the same
  • soft bands get softer

Because low frequencies contain more energy than high ones, a lot of expansion will make your sound duller. To counteract that, you can apply a weighting filter, settable from

  • 0 = no weighting
  • 1 = A-weighting
  • 2 = ITU-R 468 weighting
deEsser

To tame harsh esses, especially when using some [formant compression/expansion](#formant compression/expansion), there is a deEsser: It has all the usual controlls, but since we already are working on a signals that are split up in bands, with known volumes, it was implemented rather differently:

  • multiband, yet much cheaper,
  • without additional filters, even for the sidechain,
  • and with a db per octave knob for the sidechain, from 0dB/oct (bypass), to 60dB/oct (fully ignore the lows). It also has a (badly named) noise strenght parameter: it uses the fidelity parameter from the external pitchtracker to judge if a sound is an S. When you turn it up, the deEsser gets disabled when the pitchtracker claims a sound is pitched. See the site of the pitchtracker for more info.
reEsser

Disabled by default, but can be enabled in the configuration file. It replaces or augments the reduced highs caused by the deEsser.

doubleOscs

This is a compile option, with two settings:

  • 0 = have one oscillators for each formant frequency
  • 1 = creates a separate set of oscillators for each output channel, with their phase modulations reversed.
in and output routing

The vocoders can mix their bands together in various ways: We can send all the low bands left and the high ones right, we can alternate the bands between left and right, we can do various mid-side variations we can even do a full Hadamard matrix. All of these, and more, can be clicklessly cross-faded between.

In the classicVocoder, a similar routing matrix sits between the oscillators and the filters.

phase parameters

Since all() formants are made by separate oscillators that are synced to a single master oscillator, you can set their phases relative to each other. () except for the classicVocoder This allows them to sound like one oscillator when they have static phase relationships, and to sound like many detuned oscillators when their phases are moving.

Together with the output routing, it can also create interesting cancellation effects. For example, with the default settings for the FMvocoder, the formants are one octave up from where you'd expect them to be. When you change the phase or the output routing, they drop down.

These settings are available:

  • static phases
  • amount of modulation by low pass filtered noise
  • the cutoff frequency of the noise filters

features of individual vocoders

classicVocoder

Block diagram

The gui of the classicVocoder has two sections:

  • oscillators Containing the parameters for the carrier oscillators. These are regular virtual analog oscillators, with the following parameters:
    • cross-fade between oscillators and noise
    • cross-fade between sawtooth and pulse wave
    • width of the pulse wave
    • mix between a single oscilators and multiple detuned ones
    • detuning amount
  • filters Containing the parameters for the synthesis filters:
    • bottom, mid and top set the resonant frequencies
    • Q for bandwidth
    • a feedback matrix. each filter gets fed back a variable amount of:
      • itself
      • it's higher neighbor
      • it's lower neighbor
      • all other filters
    • distortion amount
    • DC offset
CZvocoder

Block diagram

This is the simplest of the vocoders made out of formant oscilators. You can adjust:

PAFvocoder

Block diagram

Also has frequencies and phases, but adds index for brightness.

FMvocoder

Block diagram

Same parameters, different sound.

FOFvocoder

Block diagram

Original idea by Xavier Rodet. Also has frequencies and phases, but adds:

  • skirt and decay: Two settings that influence the brightness of each band
  • Octavation index Normally zero. If greater than zero, lowers the effective frequency by attenuating odd-numbered sinebursts. Whole numbers are full octaves, fractions transitional. Inspired by Csound.

other synthesizers

FMsinger

Block diagram

A sine wave that modulates its frequency with the input signal. There are five of these, one per octave, and each one has:

  • volume
  • modulation index
  • modulation dynamics This fades between 3 settings:
    • no dynamics: the amount of modulation stays constant with varying input signal
    • normal dynamics: more input volume equals more modulation
    • inverted dynamics: more input equals less modulation.

CZringmod

Block diagram

Ringmodulates the input audio with emulations of Casio CZ oscillators. Again five octaves, with each octave containing three different oscillators:

  • square and pulse, each having volume and index (brightness) controls
  • reso, having a volume and a resonance multiplier: This is a formant oscillator, and it's resonant frequency is multiplied by the formant setting top right. It is intended to be used with an external formant tracker.
  • There is a global width parameter that controls a delay on the oscillators for one output. The delay time is relative to the frequency. Because this delay is applied to just the oscillators, and before the ringmodulation, the sound of both output channels arrives simultaneously. This creates a mono-compatible widening of the stereo image.

KarplusStrongSinger

Block diagram

This takes the idea of a Karplus Strong algorithm, but instead of noise, it uses the input signal. The feedback is ran trough an allpass filter, modulated with an LFO; adapted from the nonLinearModulator in instrument.lib. To keep the level from going out of control, there is a limiter in the feedback path. Parallel to the delay is a separate nonLinearModulator. Globally you can set:

  • octave
  • output volume
  • threshold of the limiter For the allpass filters you can set:
  • amount of phase shift
  • difference in phase shift between left and right (yeah, I lied, there are two of everything)
  • amount of modulation by the LFO
  • frequency of the LFO, relative to the main pitch
  • phase offset between the left and right LFO's. To round things off there is a volume for the dry path and a feedback amount for the delayed one.

KarplusStrongSingerMaxi

Block diagram

To have more voice control of the spectrum, this one has a kind of vocoder in the feedback path. Since we don't want the average volume of the feedback path changing much, only the volumes relative to the other bands, the vocoder is made out of equalizers, not bandpass filters. You can adjust it's

  • strength: from bypass to 'fully equalized'
  • cut/boost; steplessly vary between
    • -1 = all bands have negative gain, except the strongest, which is at 0
    • 0 = the average gain of the bands is 0.
    • +1 = the all bands have positive gain, except the weakest, which is at 0
  • top and bottom frequencies
  • Q factor

It loses the octave slider, and instead has a separate delay and modulation for each octave.

master-slave

Block diagram

  • This is a workaround for the need for an external pitchtracker, making it possible to use the synths and effects as plugins. It has the nice side effect that your sounds become fully deterministic: because a pitchtracker will always output slightly different data, or at least at slightly different moments relative to the audio, the output audio can sometimes change quite a bit from run to run.
  • The master is a small program that receives the audio and the OSC messages from the external pitch tracker, and outputs:
    • a copy of the input audio
    • a saw wave defining the pitch and phase
    • the value of fidelity, from the pitch tracker, as audio.
  • The slaves are synths and effects that input the above three signals.
  • The outputs of the master can be recorded into a looper or DAW, and be used as song building blocks, without needing the pitch tracker. Now you are 100% free to switch synths, automate parameters, etc.

VoiceOfFaust started life as a port of VocSynth. Here is some in depth documentation for that project.

Enjoy! And don’t forget to tell me what you think of it and send me music you’ve made with it!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].