By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,274 Members | 1,179 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,274 IT Pros & Developers. It's quick & easy.

How to save p5.js sound file with effects?

P: 2
I am making a simple audio recorder and editor with p5.js and p5.sound. I have searched the docs and Google for this answer and have not found it. So I am asking the professionals. I want to know how to save the p5.js sound file with the effects added. For example, I tried this:

Expand|Select|Wrap|Line Numbers
  1. soundFile.setVolume(3);
  2. save(soundFile, "mySound.wav");
It will play like that, but it will not save with the volume effect added. Is there any way to do this? If so, how? Thanks for all your help in advance!
2 Weeks Ago #1
Share this Question
Share on Google+
3 Replies

dev7060
Expert 100+
P: 333
It will play like that, but it will not save with the volume effect added.
Because it just sets the volume for playing and doesn't manipulate the properties of the original audio.

I have searched the docs and Google for this answer and have not found it.
You may need another library that is capable of making changes to the audio file especially the amplification and modulation part.
1 Week Ago #2

P: 2
What library should I use?
1 Week Ago #3

dev7060
Expert 100+
P: 333
What library should I use?
I have used p5 before but never worked on audio manipulation so I wouldn't know. Own research using a search engine would help.
1 Week Ago #4

Post your reply

Sign in to post your reply or Sign up for a free account.