Category "audio"

Change an audio file frequency into ultra-sonic sound frequency

I'm trying to change my audio file frequency in Javascript and after a lot of struggle I came to one solution, files are given below but I face one limitation h

How can I get an array of all valid system AudioFormat objects in Java

I am creating an object that can play synthesised audio in Java but I need to be able to set it to the AudioFormat with the Operating system's highest possible

How to merge/layer two audio files using Python AudioSegment without it breaking the wav header

I am more or less following the code below to merge two audio files. It mostly works, where audio segment can export both the original files and the combined fi

How to change current time in audio playback?

I am trying to play an audio file with an offset of 10 seconds into the recording: const audio = new Audio('audio.mp3'); audio.currentTime = 10 console.log('cur

Flutter and audioplayer: cannot stop playing audio between 2 classes

**Hello, I am new to Flutter, I hope you will be able to understand my problem. I am using “AudioPlayers” and would like to play audio from a define

How to pre-download items from a JSON list array in React JS?

Here the Codesandbox example. I have a list array of songs: const tracks = [ { name: "Sunny", src: "https://www.bensound.com/bensound-music/

How do I record musical notes as they are played with the Web Audio and Media Recorder api's?

I'm trying to create a little app that records sounds from audio nodes as they are played using the Web Audio API, but have run into a few problems. I have two

Mix_PlayChannel function in SDL_mixer

As described in documentation, Mix_PlayChannel function have a 3 parameters: channel: Channel to play on, or -1 for the first free unreserved channel. chunk: Sa

ExponentAV: Player is accessed on the wrong thread

I am noticing some issues with Expo-AV after updating to SDK 45. I am using react-native with an expo managed project. I am receiving this error when trying to

How to use the draw and keyTyped() function at the same time?

I want to create a code where when I click a key on the keyboard it will play music and draw a rectangle. I have managed to add music using the keyTyped() funct

(flutter): audio cache not playing a specific sound (.mp3) in android version > 9

I am using audioplayers 0.20.1 for playing sound on button press in my flutter app. For a specific sound, it is giving me some error only on android version >

How can I install pyaudio on a mac with M1 chip? (Have tried homebrew and portaudio already)

I am trying to install pyaudio on my Mac, but I keep getting an error. I have tried using homebrew, then installing portaudio, but still, get the same error. I

How to save audio as File in flutter and send it to a flask server?

I'm trying to send an audio file (.m4a) to a flask server in my flutter app. the audio file is recorded using FlutterSoundRecorder package and saved to path "au

Ideas for extracting a portion of a wav file and saving as new wav file in MATLAB

This may be easy but I'm no expert in MatLab. I have a bacth of wav files and I need to extract a 30s sample from each. Example: 1.wav - need 1:34-2:04 2.wav -

Any way to play audio file for windows desktop application in flutter?

I'm new to flutter and making a desktop application with flutter. Now I need to load and play audio files but found that the audio player packages don't support

Flutter - How to save recorded audio file?

I am using flutter_sound to record voice(audio). I can't see any file save on the emulator after the recording stops. Recorder class: import 'package:flutter/ma

Android AudioFocus with AudioTrack hardly works

I use AudioTrack to play some audio like GPS navigation does. Of course, I need to ask for an audio focus, but my ugly code doesn't make the trick as I expected

What function in R extracts the dB values from a .wav file

I have some sound data in .wav format and I would like to extract Sound Pressure Level data from this file in dB for different timepoints of the recording so I

Libav API: How to modify the start time of an audio stream?

Currently, I am working on a new feature for my software using the Libav API. I was able to merge a video file with and audio file, the output is an MP4 file an

How to merge several audio files using Libav API?

Currently, I am implementing a new feature of my software using the Libav API. This is the requirement: to merge a list of audio files (MP3 and WAV) and create