If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Elusive function
8 posts
• Page 1 of 1
Elusive function
The opposite of a Flowstone dream, this is one of those Flowstone keeping-me-awakes (yawn) ...
I'm trying to figure out how to turn a regular straight-line control -1 to +1 input (blue line) into symmetrical shapes such as this (red curve) :
The intention is to convert linear stream control values so that they cluster around +or- V. (e.g. as illustrated around +-0.4?)
If it can be done I'd ideally like an adjustable 'cluster shelf' 'V', and an adjustable intensity 'q' (for want of a better term).
As usual my maths lets me down . Anyone ever done anything like this?
I'm trying to figure out how to turn a regular straight-line control -1 to +1 input (blue line) into symmetrical shapes such as this (red curve) :
The intention is to convert linear stream control values so that they cluster around +or- V. (e.g. as illustrated around +-0.4?)
If it can be done I'd ideally like an adjustable 'cluster shelf' 'V', and an adjustable intensity 'q' (for want of a better term).
As usual my maths lets me down . Anyone ever done anything like this?
-
HughBanton - Posts: 265
- Joined: Sat Apr 12, 2008 3:10 pm
- Location: Evesham, Worcestershire
Re: Elusive function
A very interesting challenge!
I suspect Martin could do the maths and DSP but I would take, as usual, a more pragmatic approach to getting the shape.
Just to clarify, you’d want the top right and bottom left graphs to be mirrored? If that’s the case it might be possible to make a transfer function for the positive-going section then invert the -1 to 0 and pass it through the same function then invert the output. Or something.
I’ve no idea what your purpose is but I can see that a generic module like this would be great for making a variable distortion curve, which is something I’ve given a little thought to already. Let’s see what offers you get…
I suspect Martin could do the maths and DSP but I would take, as usual, a more pragmatic approach to getting the shape.
Just to clarify, you’d want the top right and bottom left graphs to be mirrored? If that’s the case it might be possible to make a transfer function for the positive-going section then invert the -1 to 0 and pass it through the same function then invert the output. Or something.
I’ve no idea what your purpose is but I can see that a generic module like this would be great for making a variable distortion curve, which is something I’ve given a little thought to already. Let’s see what offers you get…
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Elusive function
Yes, positive-negative mirror image, so probably simplifies (??) one element of the task. Might even take care of itself in practice.
I've had this in my head for a while, and very glad I finally drew the diagram yesterday, a quick scribble often brings an idea into focus. Seems clear to me now - also adopting the pragmatic viewpoint - that below the 'v' point (which is where the blue input line and red output line intersect) the output is possibly 1/nth root of the input, and above the 'v' point it's the nth power. Possibly? 'n' would then be equal to what I described as the 'q'. Hah.
I might yet manage something like that. Er ...
My word, a fuzz-box that modified yer smooth guitar signal into this shape would be something to (not) behold! Incoming aliasing alert
However I actually want it for something entirely different, which I'll definitely expand on at length here if it works out. But I'll hang fire for the moment in case it doesn't .. so many of my cunning schemes proceed to the "hang on, I hadn't realised it would do that" stage, and promptly get shoved into my massive reject box .
H
I've had this in my head for a while, and very glad I finally drew the diagram yesterday, a quick scribble often brings an idea into focus. Seems clear to me now - also adopting the pragmatic viewpoint - that below the 'v' point (which is where the blue input line and red output line intersect) the output is possibly 1/nth root of the input, and above the 'v' point it's the nth power. Possibly? 'n' would then be equal to what I described as the 'q'. Hah.
I might yet manage something like that. Er ...
My word, a fuzz-box that modified yer smooth guitar signal into this shape would be something to (not) behold! Incoming aliasing alert
However I actually want it for something entirely different, which I'll definitely expand on at length here if it works out. But I'll hang fire for the moment in case it doesn't .. so many of my cunning schemes proceed to the "hang on, I hadn't realised it would do that" stage, and promptly get shoved into my massive reject box .
H
-
HughBanton - Posts: 265
- Joined: Sat Apr 12, 2008 3:10 pm
- Location: Evesham, Worcestershire
Re: Elusive function
Hehe, that's indeed a very specific requirement. Here is my proposal (although, like Spogg, I have no clue what it possibly could be good for ).
- Attachments
-
- Hugh's elusive function.fsm
- (14.45 KiB) Downloaded 809 times
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: Elusive function
OMG!! That is perfection Martin
I did make a start myself this morning with some DSP (honest!), got a quarter of it looking something like, but I guarantee I could spend a month on it and never get it this good (bitmasks and all) nor as streamlined. Thank you .. yet again.
Well, I'd better do something really impressive with it next, hadn't I ... .. .
H
I did make a start myself this morning with some DSP (honest!), got a quarter of it looking something like, but I guarantee I could spend a month on it and never get it this good (bitmasks and all) nor as streamlined. Thank you .. yet again.
Well, I'd better do something really impressive with it next, hadn't I ... .. .
H
-
HughBanton - Posts: 265
- Joined: Sat Apr 12, 2008 3:10 pm
- Location: Evesham, Worcestershire
Re: Elusive function
Meanwhile Spogg, this kind of non-linearity actually does look like what you might get with a badly-biassed pair of push-pull tetrodes (sorry kids), so I wouldn't be surprised if there were some nice distortion applications for it.
You first
H
You first
H
-
HughBanton - Posts: 265
- Joined: Sat Apr 12, 2008 3:10 pm
- Location: Evesham, Worcestershire
Re: Elusive function
HughBanton wrote:Meanwhile Spogg, this kind of non-linearity actually does look like what you might get with a badly-biassed pair of push-pull tetrodes (sorry kids), so I wouldn't be surprised if there were some nice distortion applications for it.
You first
H
Yes it looks like the sort of soft crossover distortion you might get from valves, as opposed to transistors which would be much harsher.
Isn’t Martin just totally remarkable?
Apart from a perfect solution just look at the speed he came up with it!
I know, let’s keep posting weird functions to keep him busier.
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Elusive function
I've spent more time adjusting thresholds for RGB/HSV in GIMP and other graphics programs than messing about in audio DSP, so that's immediately where my mind went when seeing the pic. Amazing turnaround as always, Martin (not exactly shabby with the time between the snare-wire suggestion and finished plugin either, Spogg)!
We have to train ourselves so that we can improvise on anything... a bird, a sock, a fuming beaker! This, too, can be music. Anything can be music. -Biff Debris
-
Duckett - Posts: 132
- Joined: Mon Dec 14, 2015 12:39 am
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 9 guests