473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to save p5.js sound file with effects?

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!
Nov 5 '20 #1
3 3803
dev7060
636 Expert 512MB
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.
Nov 11 '20 #2
What library should I use?
Nov 11 '20 #3
dev7060
636 Expert 512MB
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.
Nov 12 '20 #4

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

Similar topics

6
by: Paul Moore | last post by:
Does anyone know of a Python library which handles sound file formats (MP3, Ogg, FLAC are the three I'm nost interested in). I'd like something that can manipulate "metadata" - stuff like artist,...
3
by: Franklin P Patchey | last post by:
I don't know anything about Javascript, but a little about standard HTML. I have created a website and have set the homepage to automatically play a sound file on opening. What I would like is...
1
by: Vanessa | last post by:
Anyone know how to embed sound file to vb.net project, then play the sound file? I have searched the web for example... and download the example and when run, it works perfectly. But when i...
2
by: Ehsan Sadeghi | last post by:
Hello can someone tell me how to save sound files and how to use them in a program.
1
by: Lam | last post by:
how can I play sound file in a .aspx page written in C#? I try to use the code like the following. But whenI call the play function play("sound.wav", this.SND_ASYNC) my computer give out "be"...
6
by: martin1 | last post by:
Hi, All, The app retrieve sound.wav file from my loacal C drive, is there anyway the sound file can be stored in the app? then when building, it goes with app rather than sending sound file...
2
by: hayz | last post by:
Flash sound file looping problems hello there I'm definitely a newb so please bare some patience. I have a flash sound file on the index page of a site i'm working on. First off i need the...
1
by: sumitkumarsingh | last post by:
hi, i am sumit kumar singh. I have some problem related to sound file.I want to store a sound file by C programm and C programm ,how canbe connect to the database. Give me...
1
by: Sheena777 | last post by:
I want to Play a specific sound file in my code when a certain event happens, but i don't know how. I can play the system sounds in my program and I know how to start the media player to play an mp3...
0
by: nicolecastel | last post by:
Hello I'm developping an application in Csharp,I want to play a sound file in an external sound card,is there a function which give me the possibility to play sound using the name of the audio...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.