Comments (5)
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.
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.
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.
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.
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)
- sound demos HOT 1
- source-map file missing when importing pts
- Canvas size issue when html attribute and css style width & height differs. HOT 4
- Fix parameter types HOT 1
- CanvasForm(ctx) methods error. HOT 3
- Implement oklab color
- will pts provide an api to render in existing canvas provided by the user? HOT 2
- pts.js, pts.min.js added to .npmignore and are not served by cdns any longer HOT 2
- Documentation is unclear on how to "unmount" a canvas. HOT 2
- Radial gradients can't use negative coordinates HOT 2
- Safari 15 // Group.moveTo not reflected HOT 5
- Crisp 1px lines on HiDPI devices. HOT 1
- Canvas mouse events coord is wrong on layout change HOT 1
- Add support for roundRect method. HOT 1
- randomPt overwrites input value
- error on form methods when using with an existing canvas HOT 2
- Drawing tools
- Drawing tools
- Add brush like this one https://p5-brush.cargo.site/? HOT 1
- Built-in SVG interactions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pts.