@b2renger that soundfont player is awesome! I'm sorry I've been away for the past week, glad that you and @polyrhythmatic are chatting.
It sounds like you figured out branching, in general it's good to give specific projects their own branch so that when you submit a pull request with one feature, it only has that feature.
the onsetDetect class is not in the library yet (it's not added to app.js) ...I was sorta thinking that the peakdetect serves both purposes. Curious what you think?
talking with @polyrhythmatic about the PeakDetect class. It currently has no documented methods or properties other than .update()
Should we add .currentValue - can be used to determine if it is over the threshold ?
At first I made two seperate classes because onset detection means a significant increase in the energy of a signal : onset was based on energy comparing previous energy to present energy, my peak class was just about checking if the signal amplitude was higher than a treshold (but that is covered by the p5.Amplitude class.
So yeah I think peakdetect is enough.
For .currentValue you mean a function to poll peakdetect and return true or false ? I could be useful for beginners but there's already a callback function, shouldn't we encourage people to use it ? What would be the use case of a .currentValue ?
+1 to soundfont for sure
@b2renger I guess it would just be useful to expose the .currentValue of the PeakDetect object, because the ability to access that value can make the process more clear to users.
this is a lot ! not sure what to do with it but it's nice to know it's around :)
@rev3rend great text too speech lib ! thanks for making this, it's really cool !
is there a room for p5js.org?
dumb question, but is ProcessingJS the same as p5.js ?
the result is close, but there is some small differencies beetween both. If you just want to push a graphic sketch to the web processingJS might a be a good call as you may not need to rewrite a lot of stuff. But if you want to start a web project (with access to the webcam, or if you want to program sound etc.)
p5.js translates the ideas behind processing to the web : you write in js, you have specific libraries written in js etc...
@b2renger@all if anyone is interested in some paid work, I can't afford much but I would like to make a processing sketch that illustrates the potentially infinite divisions the so-called identity goes through when confronted with change, internally as cognitive dissonance, externally as the behavioural masks we wear to be everything for everyone and nothing for no one. One idea is show a brain, cartoon style, propagating like cell division. I have a logotype (text) for whats gonna be my studio, Existential Design, but I don't have a graphic logo. Its hard to capture even a bit of that, but I'm over thinking. Send me a private message if interested.
Can I ask any doubts I have about processing here?
Hi, is there a known issue with GetMasterVolume() not updating after masterVolume() is called?
hey all! we're hosting a fun online hackathon around audio and sound this upcoming weekend (oct 20-21). free to join and create, cash prizes to win 👋 https://hackday.co/
hii everyone ! is this chat still active to ask question ?
@therewasaguy can we discuss here /
Hi, where can I talk about the web audio api?
@JomoPipi And i think this one is not active till now! 😶 However you can post the queries on discourse.processing.org good luck!
@therewasaguy is this thread still active?.
Hi @everyone, I'm new in p5sound, I have created an application and i was trying to load and play the next audio file. But browser is crashing. Have anyone faced the same issue? please let know the fixes
Austin Lee Slominski
Hi all! I have a quick question, a number of tests fail inconsistently and it seems to be tied to Chrome's autoplay policy. Is there anything that has been done about that so far that I'm missing? Otherwise, would it be worthwhile to run the tests only after a user input / AudioContext.resume()?
I would say it is worthwhile to test only after user input
Austin Lee Slominski
Has anyone had issues with mousePressed() in the examples? Receives an error ‘cannot read property ‘_setProperty’ of undefined’, but works fine when swapped with mouseClicked()