Coder Social home page Coder Social logo

Comments (7)

elanhickler avatar elanhickler commented on June 24, 2024

ill keep testing, not sure if it's happening after I reset the Spiral Generator.

from rs-met.

RobinSchmidt avatar RobinSchmidt commented on June 24, 2024

whoa! that's weird! what are the filter coefficients (a- and b- arrays)? what is the cutoff freq (i.e. subdivision)? how can i reproduce this?

from rs-met.

elanhickler avatar elanhickler commented on June 24, 2024

you'll need my specific RS-MET code......... maybe tomorrow I will make a separate spiral generator repository and put my RS-MET code in there.

from rs-met.

elanhickler avatar elanhickler commented on June 24, 2024

from rs-met.

RobinSchmidt avatar RobinSchmidt commented on June 24, 2024

that actually shouldn't make a difference (unless you edited the filter class). hmm - so it looks like the y2 value is already nan. i need to look at this tomorrow. maybe i forgot an initialization. i again notice that i should really switch to use std::vector instead of raw c-style arrays. then, we could look at the whole array in the debugger. ...these are things one only learns through experience. i don't want to use raw - c-arrays anymore. or juce::Array, for that matter. i say that, so don't have to make my mistakes again :-)

from rs-met.

elanhickler avatar elanhickler commented on June 24, 2024

I know where the nan is coming from. It's coming from asin() where anything above 1 or below -1 results in NaN... from the Spiral Generator code... but... how do I solve this without do a limiter....

from rs-met.

elanhickler avatar elanhickler commented on June 24, 2024

got it. I debugging by doing a conditional break if tmp != tmp (which catches -nand)

Then I "went up stream" until I found the first occurance of a bad value (-inf and nand), and it lead me to a value in spiral generator.

from rs-met.

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.