GithubHelp home page GithubHelp logo

Comments (7)

yaxu avatar yaxu commented on September 27, 2024 1

This solves it on the tidal side:

import qualified Data.Map.Strict as Map

let djf :: Pattern Double -> ControlPattern
    djf pat = sew ((== 0.5) <$> pat) (pure Map.empty) (pF "djf" pat)

from superdirt.

telephon avatar telephon commented on September 27, 2024 1

I wonder if tweaking the ranges on the SC side would be a better fix, e.g.:

Yes, I think that would be the best.

from superdirt.

yaxu avatar yaxu commented on September 27, 2024

Agreed, 0.5 should be 100% dry signal.
Hwoever when mapping a midi controller to this parameter (which is very handy to do), you might want a bigger central range that turns the effect off, as finding 0.5 in the range can be difficult. But this would be better on the tidal side?
(This control would be a bit easier in a -1 to 1 (bipolar) range, where 0 is no effect.. But somehow in tidal we've long standardised in 0-1.)

from superdirt.

jarmitage avatar jarmitage commented on September 27, 2024

Great, I had tried it on Tidal side, but ran into issues where Pattern Doubles can't use ==, but you've got it there, so probably better than a SuperDirt fix! Thanks

from superdirt.

yaxu avatar yaxu commented on September 27, 2024

I wonder if tweaking the ranges on the SC side would be a better fix, e.g.:

 	SynthDef("dj-filter" ++ ~dirt.numChannels, { |out, djf| 
 		var signal; 
 		var lpfCutoffFreq = djf.linexp(0, 0.499, 20, 10000); 
 		var hpfCutoffFreq = djf.linexp(0.501, 1, 20, 10000); 
  
 		signal = In.ar(out, ~dirt.numChannels); 
  
 		signal = RHPF.ar( 
 			RLPF.ar( 
 				signal, 
 				lpfCutoffFreq 
 			), 

(probably only one of these ranges needs to be tweaked)

from superdirt.

yaxu avatar yaxu commented on September 27, 2024

If so we could have an 'djfisland' parameter that is added/subtracted from the ranges to make a bigger 'clean' area

from superdirt.

jarmitage avatar jarmitage commented on September 27, 2024

Are there other use cases for this pattern? E.g. isn't it the same when setting reverb to 0 that it's still audible? Maybe this is a general feature for SD fx?

from superdirt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.