Code Monkey home page Code Monkey logo

Comments (5)

williamngan avatar williamngan commented on May 10, 2024 1

Sounds like a good plan, @danigb . I'll try to get started on it soon, and would love your feedbacks on it. Let's keep this thread open for discussions.

Totally understood that you might be busy (same here actually, Pts is my midnight project 😅).

from pts.

williamngan avatar williamngan commented on May 10, 2024

Yes! Combining visuals + sounds using the same approach of Point/Space/Form would be amazing.

At the very least we should support mapping amplitude and frequency. Potentially also offer algorithms based on music theory.

Any other suggestions or use cases you have in mind?

from pts.

danigb avatar danigb commented on May 10, 2024

Yes, amplitude and frequency are mandatory. I'm the creator of tonal music theory library, and some kind of connection between both projects would be really nice. I'll think about it.

Meanwhile, do you have a plan to develop an audio module for "pts" or you're delegating that to the community?

from pts.

williamngan avatar williamngan commented on May 10, 2024

Hi @danigb , you tonal library is amazing. What would it take for it to work with Pts? Would be great to explore some options together.

My initial thought is that Pts can provide an "Op" class (say, Signal), that's generic enough to process audio signals and hopefully tie them to Pt and Group class. Probably the goal is not to do everything in Pts, but to make it easy to work seamlessly with other cool sound libraries like tonal. (This way we can also keep the Pts file size smaller)

Do you have suggestions or ideas in mind?

from pts.

danigb avatar danigb commented on May 10, 2024

Hi @williamngan,

I would love to work with you on this, but I am afraid (as the delay in my answers reveals) that I am too busy to put time and energy into this development (the situation may change in a couple of months).

Anyway, a Signal class that provides some kind of continuous data that can be mapped to things like amplitude or frequency would be wonderful (frequency can be used not only to control pitch, but also other kind of sound modulations).

I think this continuous signal can be converted to discrete values (like note pitch) using external libraries like tonal to produce more "musical" or "melodic" effects. But I think is ok to have this kind of transformations outside pts itself.

With this in mind, I think that if you build this kind of Signal class I would be able to produce (with help) some examples of usage with Web Audio or some libraries like Tone.js and/or Gibberish

Thanks for your work!

from pts.

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.