DanT: Little Pig

I am in the process of creating a new module for my plugin, you can try it out in my March preview build Beta 02 build Beta 04 build Beta 05

The new module is called Little Pig and it is an experimental feedback distortion module.

The controls are as follows (left to right, top to bottom):

  • Snuffle - Input signals are amplified, this acts like a compressor/limiter for the input
  • Grunt - This is the amount of distortion applied to the input signal
  • Snort - This is basically a gain/volume for the distorted signal part of the output
  • Snout - This is a mix/volume for the feedback, at minimum there won’t be much feedback, at maximum you will likely get a massive howl
  • Squeal - This is the target feedback frequency, the input is volt/octave, it really depends on the input signal as to what effect this has, sometimes it can enhance the frequency, sometimes it can act a bit like a filter
  • Pig Power! - This is just an active switch to turn the distortion & feedback on and off
  • yellow port - this is the signal input
  • Oink! magenta port - this is the distorted signal + feedback output
  • Neat Trotters switch & LED - This is basically a clip feature that will limit the output to 10volts peak to peak, the LED will be red when clipping is happening, note that when on this is still applied even when distortion and feedback are not active

The module is slightly CPU heavy, in my tests it hovers around the 1-2% range.

It is not polyphonic.

The pig logo is actually separate to the panel because I was planning to animate it based on the parameters and distortion amount, but while I was implementing that it seemed to take up alot of CPU just for some visual flair, so I removed it.

I’ll try to get a demo video up on my YouTube channel soon.

Probably a few bugs too, if you see anything, of course you can report it here, or over on the github, thank you

Hope you enjoy it, please leave me some feedback :pig: :boar: :pig: :pig2: :pig2: :pig2:

8 Likes

Doh, bug fix number 1 already going in, the Squeal CV input wasn’t working, please use beta 03

edit: argh, some kinda local git mess up, all the CV inputs were broken I just didn’t realise,

please use beta 04

Hey Dan, I’m a bit out-of-touch with the new plugin formats for VCV2. Noobie Q sorry.

Where should I drop a ***arm64.vcvplugin? I’m guessing just pop it in yada-yada-yada/Rack2/plugins-mac-arm64/ ?

Think I might be doing something wrong. Rack seems to see the beta plugin: image

But not much in the library:

(Using Rack Pro 2.4.1 on Mac Silicon)

Keen to play with the piggy! :pig_nose: :pig2: :pig_nose: :pig2: :pig_nose: :pig: :pig2: :musical_note: :smiley:

As far as I know you are doing the right thing, and I don’t know of any reasons why modules would not show up. So I guess this is the old library allowlist issue, there are numerous threads about this from various users that update a plugin and can’t see new modules, I believe the fix is to go to the library and remove all my modules, then resubscribe to the whole plugin, and then drop in the beta04 as before.

3 Likes

Damn
 This seems broken. Not your module, but the library. I’ve spent hours, maybe not tearing my hair out but possibly pulling patchy-beard hairs, trying to figure out why my own inchoate modules don’t show in the library for my own testing
 :grimacing:

I’ll try this in the new day.

If you have the BaconMusic collection you can load a module called “lintbuddy” and then set the test to “whitelist” and it will show you the set of collections where your subscription falls afoul of this particular design choice

1 Like

Sounds great playing some “electric guitar” chords through it!

lipsticktester1.vcv (4.0 KB)

2 Likes

How would this work with actual guitar? I might have to try it, seeing as I have a penchant for guitar effects patches in VCV! I made a feedback patch recently using the Surge filter in comb filter mode with a loop back via a mixer, and tuned the cutoff freq with a quantiser. You can’t exactly control which notes feed back, it’s basically picking a random note from a scale but it tends towards the right note because the guitar signal is feeding through as well. Having typed that I’m not even sure it makes sense but anyway, ultimately I decided it was more fun to play than it would be for anyone else to listen to, and I didn’t record it. This pig thing looks interesting though!

Hopefully when I post my demo YouTube vid you will get an idea, but here is a quick teaser for part of it:

I’ve not got it turned on in the above snapshot, but, I get my guitar DI from my Focusrite 18i20 from the Audio 16

I send this to the NSYTHI Gran Tunismo so I can make sure my guitar tuning matches pitches in the patch (my guitar is seriously detuned though, I like it chunky)

The guitar signal goes to Bog Audio NSGT to clean it up, otherwise the extreme gain gets very noisy

Then I have a few different env followers etc to modulate the Little Pig

Offscreen there is a tiny full wet delay for doubling, and obviously a reverb

Post me some video or audio if you make something cool with it :pig:

maybe 30 years ago I was talking to a friend, and somehow asked him if he ever had the Roland Feedbacker pedal. He said he had two, but he had only used it once, to record this song. Is this the kind of thing your plugin does?

I guess in a way it is similar to that, although I think it would be quite the challenge to get it sounding that organic.

I am not familiar with the Roland pedal, I assume it is analogue? The same as the updated BOSS feedbacker? (I just looked it up)

Anyway, the code of Little Pig (currently at least, I might tweak it before it goes into the library) basically copies a (frequency) slice of the input set by the Squeal param, multiplies that by the feedback mix set by the Snout param, and then recursively adds that to the output.

This is why the Snout param only goes to 0.999 and not 1.0 because full recursion is just instant blow out.

The tricky part is getting the feedback mix stable, you might have it at a nice level where the feedback is just right, but then a slight change in playing dynamic can tip it over the edge, or drop it down so that the feedback stalls. And of course, if the target frequency is not very present in the input signal, it is much harder to get feedback, and conversely if the input signal matches the target frequency the feedback can overwhelm the input.

I don’t have the hardware to try this out, but, it might be nice to hook up two pedals (that can send midi into VCV) to control the feedback frequency and mix, then you could play something and alter the feedback real time as you go


ah, yes - I forgot that Boss is the name of the pedal line from Roland, so that’s the same pedal. I don’t know how it works. I assume it doesn’t have a CPU in it. Always figured it’s some kind of phase locked loop? And of course its going to sound good when a great guitar player like Robert Quine is playing it. (And the others on that recording are no slouches either!)

He also told me a funny story about the recording. They recorded it on just some of the tracks on a 24 track tape. Then to save tape the rewound it and used some of the left over tracks to record on. Totally out of sync, since they weren’t intending to use them together. But when it came time to mix they decided it sounded better to play both takes at once - so that’s that they did on that recording.

A great story involving feedback is Tony Visconti’s story about Robert Fripp recording the guitar part on Bowie’s “Heros”. It sounds to most ppl like he’s using an ebow to get infinite sustain, but actually it’s feedback with a loud amplifier in a room. Fripp put masking tape marks down on the floor where he had to stand to make each note feedback. Then for the take he jumped from mark to mark as he played!

4 Likes

Cheers Squinky, didn’t know that. I always assumed it was an ebow too.

Anyway, I tried this with guitar briefly. In a word, filth. Utter, utter FILTH. In a good way though! I mainly use clean sounds, but there is a ton of drive here. It’s also very noisy with electric guitar, it reminds me of patching guitar through a clock divider or comparator if you’ve ever tried that. I’m guessing what’s happening is the guitar signal is complex and irregular, so it can’t be processed like a regular waveform from a VCO, resulting in lots of random frequencies, and you get roughly a square wave with a ton of inharmonic noise (I think). Great fun, and it does sustain a lot more as well. Also patching an envelope follower to the squeal control makes an awesome filthy auto-filter. More like a lowpass or phaser than a wah (which is bandpasss) but really cool. Nice work!

2 Likes

haha - in the 70’s I played my guitar into comparator, followed by a clock divider, into a 100W power amp, and back into a speaker bolted on the back of my guitar. Used three strings on the guitar tuned to F-C-F. That thing would easily sustain forever, and make horrible noises. Decades later I tried to make a VST version of a stable MXR blue-box, but never got it stable enough.

1 Like

I would love to hear that! Do you have any recordings anywhere?

4 Likes

New beta 05 because I 've added a button to fix the module when the audio gets blown out. If you push the feedback too high it can sometimes leave the module in a state where it no longer processes the input signal. The new button can be pressed to clean out the buffers and should in most cases fix this type of issue.

I also tweaked the Snout CV input as it wasn’t working right.

image

1 Like

and this from the man himself:

2 Likes

Haha, unfortunately that band, we only played twice in clubs, and we forgot to record ourselves each time!