Git Product home page Git Product logo

Comments (7)

DJLevel3 avatar DJLevel3 commented on June 19, 2024 1

from osci-render.

DJLevel3 avatar DJLevel3 commented on June 19, 2024

Might be possible with a Lua script, I'll have to look into it

from osci-render.

jameshball avatar jameshball commented on June 19, 2024

This is a great idea! Thanks for the suggestion and code snippets. I don't think this would be very hard to do and would just need storing of the line data of each frame - something that's easy to do.

Could you explain why you can't just record the audio live from Blender as it plays back the animation rather than changing each frame manually? Is the performance not good enough when you do this?

I'm thinking of a way of cycling through frames and then being able to configure different settings for each frame, like the frequency.

from osci-render.

DJLevel3 avatar DJLevel3 commented on June 19, 2024

Sorry I'm late! I need one frame per 4800-sample cycle exactly because WavShaper constructs a shape out of the first 4800 samples of an audio file (0.1s @ 48000 sample rate). I want to add multiple frames by reading multiples of 4800 samples, so I need frames to be 4800 samples long, 4800 samples apart, with absolutely no variance. If there's any lag, things break.

This means I need total control over when each frame starts and ends to the sample, and there is some lag when loading frames live from Blender. I've had it tank down to 5 frames rendered per second on particularly bad models which were intended to run at 25fps. These models were absurdly complex, the one I had the worst lag on was the front grille on a car, which had hundreds of square holes.

Also, if storing the data per frame ends up being too memory expensive (it probably won't) you can do two full rendering passes, one where you calculate the normalization and one where you apply it. This would be twice as time expensive, though.

from osci-render.

DJLevel3 avatar DJLevel3 commented on June 19, 2024

Anyway I had family matters today so I didn't have time to actually do any more code today (22:50, Sep. 9 my time). I hopefully will tomorrow.

from osci-render.

jameshball avatar jameshball commented on June 19, 2024

That makes sense thanks for the clarification! Are you working on this with the Java version on another branch or do you want me to work on this?

from osci-render.

jameshball avatar jameshball commented on June 19, 2024

#235 closes this

from osci-render.

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.