Giter VIP home page Giter VIP logo

Comments (9)

AlbertSmit avatar AlbertSmit commented on May 14, 2024

Man, it sounds so cool already. Awesome!

from otto.

nebularnoise avatar nebularnoise commented on May 14, 2024

Thanks, glad you like it :)

from otto.

topisani avatar topisani commented on May 14, 2024

This would be cool to have in v0.0.1, whats the status on it, and do you have any UI ideas @D-I-S-K-U-S?

from otto.

AlbertSmit avatar AlbertSmit commented on May 14, 2024

So, I'm messing around for the UI.
I was thinking that, even though we talked about using another name, the 'shallow water' name is quite accurate for what the effect 'sounds like'.

I'm trying to make an abstract representation of a reflection in the water.
We could have the 'circle/sun' go 'down' into the sea, making the circle (upper half) smaller, and also reducing the size of the reflection (obviously). Next to that, we could make the 'sea' increase the 'waves' so the reflection goes all floaty and wavey. Any ideas on this regard? I just used two colours, we could include more if we wanted. I do however like the simplicity.

schermafbeelding 2018-07-26 om 16 34 29

What I'd like to know from @nebularnoise , how do the following parameters affect the effect, in the most simple explanation?

  • LPG
  • Rate
  • Depth
  • Damp

Let me know, and let me know what you think!

ps; have also tried other shapes, but a circle has the most dynamics in the reflection, i think.
schermafbeelding 2018-07-26 om 16 41 23

from otto.

nebularnoise avatar nebularnoise commented on May 14, 2024

Nice design, I like it πŸ‘

Quick explanation:

  • LPG: Cutoff frequency of an enveloppe-follower modulated low pass filter. (low settings will make the effect darker and more expressive, high settings make the filtering more transparent and subtle)
  • Rate: Speed of pitch modulation (from imperceptibly modulated to audio-rate pitch modulation)
  • Depth: Depth of pitch modulation (high settings for very crazy, low settings for chorusey, tape wobbley effect)
  • Damp: Smoothes the pitch modulation (makes it less steppy and more wavey)

My comments:
I'd love to see the LPG being the sun height. However, the ultimate thing would be to have a more transparent sun follow the volume, just like the real filter cutoff.
modulated shallow
It needs refining, obviously, but I think a dynamic UI would be dope.

Depth should make the waves more wavey, with damp making them either sharp or smooth. Rate should increase either the amount of waves, or their vertical spacing, imo.

Here with low rate and high damp:
modulated shallow legend

Here with high rate and low damp:
modulated shallow high mod

PS: Please Pardon my poor photoshop skills

from otto.

topisani avatar topisani commented on May 14, 2024

I'm loving itβ„’

I'll put this on track for v0.0.1, unless anyone thinks they need more time

from otto.

nebularnoise avatar nebularnoise commented on May 14, 2024

I've heard I ought to make it stereo, so here y'all go: a very naive stereoisation of the effect. No fancy intermodulation of sides or anything.

import("stdfaust.lib");

// CONSTANTS
nyquist = ma.SR / 2;

lp_min_freq = 10;               //(Hz)
lp_max_freq = 10000;            //(Hz)
lp_default_freq = lp_max_freq;  //(Hz)
lp_env_attack = 0.02;           //(s)
lp_env_release = 0.05;          //(s)
lp_res = 0.4;
noise_filter_order = 2;         //(number of poles)
window_length = 2048;           //(samples)
xfade_duration = 1024;          //(samples)
max_repitch = 3;                //(semitones)
min_rate = 0.02;                //(Hz)
default_rate = min_rate;
max_rate = 20;                  //(Hz)
step_rate = 0.02;               //(Hz)
env_lp_normalizer = 5000;       //(Hz)

//Controls
lpg   = hslider("lpg",lp_max_freq,lp_min_freq,lp_max_freq,0.001) : si.smoo;
rate  = hslider("rate",default_rate,min_rate,max_rate,step_rate) : si.smoo;
depth = hslider("depth",0,0,1,0.001) : si.smoo;
damp  = hslider("damp",0,0,0.999,0.001) : si.smoo;

noise = no.lfnoise(rate) : si.smooth(damp);
repitch = _ : ef.transpose(window_length, xfade_duration, max_repitch * noise * depth) : _;
cutoff(in) = lpg + an.amp_follower_ud(lp_env_attack, lp_env_release,in) * env_lp_normalizer;

process(left, right) = left, right : repitch, repitch : ve.moog_vcf_2b(lp_res, min(nyquist,cutoff(left))), ve.moog_vcf_2b(lp_res, min(nyquist,cutoff(right))) : _, _;

from otto.

AlbertSmit avatar AlbertSmit commented on May 14, 2024

That's awesome.

I moved the UI chatter for this effect to a new issue for the Alpha.

from otto.

topisani avatar topisani commented on May 14, 2024

This would need to be reimplemented in gamma

from otto.

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.