Code Monkey home page Code Monkey logo

Comments (6)

teotigraphix avatar teotigraphix commented on August 30, 2024

I'm curious, is this just a feature you wrote and never finished?

If the framework doesn't concatenate the slices, what use are they?

Is there a direction to send me for this one? I might be able to do this if I know exactly where it should be done.

Bear with me, I will have this whole framework memorized soon. :)

from mwengine.

igorski avatar igorski commented on August 30, 2024

The reason for this "solution" is that recording can be stopped at any time, thus making the total recording length only known when recording has stopped. The problem is that the length of the recording needs to be present in the header of the resulting .WAV file. For existing applications, the WAVs would be merged outside of the engine once recording has stopped. This is of course a little silly as you'd expect this goodness out of the box.

Once recording is stopped (via SequencerController) and the final buffer is written onto file storage, there should be a final operation (through WavWriter) where the written buffers are written one by one into a single .WAV file (and deleted as soon as they have been written).

from mwengine.

teotigraphix avatar teotigraphix commented on August 30, 2024

This is of course a little silly as you'd expect this goodness out of the box

Not really, I was intuitively thinking the Java layer for this, so I can get it. :)

from mwengine.

igorski avatar igorski commented on August 30, 2024

Well you could perform the logic inside the MWEngine class and merge the WAVs from there. I do think the benefit from doing in the engine is that it would also work for users who are working solely in C(++). Then again, for recordings with a large duration this could stall the rendering of audio, so ideally it would be performed in a separate thread anyways...

from mwengine.

teotigraphix avatar teotigraphix commented on August 30, 2024

Ok, well I am still getting "correct" with proper C++ implementation so I cannot say that some of this stuff I would try might not cut the mustard quite yet.

I can figure it out native, I guess I misunderstood something your wrote above.

from mwengine.

igorski avatar igorski commented on August 30, 2024

Adressed in #92

from mwengine.

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.