audio

import error when using spafe library for feature extraction

女生的网名这么多〃 提交于 2020-04-16 04:02:44
问题 I ' am working on audio file and need to use spafe library for lfcc, lpc... and i install the library as mentionned in the site : https://spafe.readthedocs.io/en/latest/ But when i try to extract some features , like lfcc, mfcc, lpc, i have import error par example when i use this code : import scipy.io.wavfile import spafe.utils.vis as vis from spafe.features.mfcc import lfcc i have this error : ImportError: cannot import name 'lfcc' I don't undestand because i can import spafe, i have all

import error when using spafe library for feature extraction

血红的双手。 提交于 2020-04-16 04:02:08
问题 I ' am working on audio file and need to use spafe library for lfcc, lpc... and i install the library as mentionned in the site : https://spafe.readthedocs.io/en/latest/ But when i try to extract some features , like lfcc, mfcc, lpc, i have import error par example when i use this code : import scipy.io.wavfile import spafe.utils.vis as vis from spafe.features.mfcc import lfcc i have this error : ImportError: cannot import name 'lfcc' I don't undestand because i can import spafe, i have all

Converting audio file when uploaded to google cloud storage

自闭症网瘾萝莉.ら 提交于 2020-04-15 06:42:14
问题 I have an app, where users record audio and then "send" to each other. I'm writing "send", because actually the file is stored on server, and just provided to the recipient, when they want to listen. My issue is, that I need to reformat the recording (currently .caf) to .mp3, so they will be both smaller and so I can play them with the audioplayer I'm using. My question then is: Is it possible to have a cloud function trigger on user upload, that would take the .caf file, convert it and in

Converting audio file when uploaded to google cloud storage

坚强是说给别人听的谎言 提交于 2020-04-15 06:41:42
问题 I have an app, where users record audio and then "send" to each other. I'm writing "send", because actually the file is stored on server, and just provided to the recipient, when they want to listen. My issue is, that I need to reformat the recording (currently .caf) to .mp3, so they will be both smaller and so I can play them with the audioplayer I'm using. My question then is: Is it possible to have a cloud function trigger on user upload, that would take the .caf file, convert it and in

Converting audio file when uploaded to google cloud storage

牧云@^-^@ 提交于 2020-04-15 06:41:20
问题 I have an app, where users record audio and then "send" to each other. I'm writing "send", because actually the file is stored on server, and just provided to the recipient, when they want to listen. My issue is, that I need to reformat the recording (currently .caf) to .mp3, so they will be both smaller and so I can play them with the audioplayer I'm using. My question then is: Is it possible to have a cloud function trigger on user upload, that would take the .caf file, convert it and in

FFMPEG set volume in amix

我只是一个虾纸丫 提交于 2020-04-14 08:53:21
问题 I've been trying to mix an audio mp3 with a video mp4 while retaining the mp4 audio. This is working with . ffmpeg -y -i video.mp4 -i audio.mp3 -filter_complex "[0:a][1:a]amix=inputs=2:duration=longest[out]" -map 0:v -map [out] output.mp4 I'm now trying to adjust the volumes of the sound files (video 0.5, audio 1) as part of the mix. I've been trying things like ffmpeg -i 020c276b-face-4bb3-9169-e8969c1232ba.mp4 -i test.mp3 -filter_complex "[0:a]aformat=sample_fmts=fltp:sample_rates=44100

Unable to play audio in firebase storage sent from android app

孤街浪徒 提交于 2020-04-11 06:33:38
问题 I am using firebase storage to upload audio from my android app and then download and play in my app. The audio file gets uploaded but when I play it from firebase storage,it comes in a video format like image below and does not play the audio. I am also setting metadata as audio/mp3 for it. I tried to search about the same in firebase documentation and google but could not get my issue resolved. Uri file = Uri.fromFile(new File(fileName)); //filename is audio stored in my phone's local

Unable to play audio in firebase storage sent from android app

家住魔仙堡 提交于 2020-04-11 06:33:08
问题 I am using firebase storage to upload audio from my android app and then download and play in my app. The audio file gets uploaded but when I play it from firebase storage,it comes in a video format like image below and does not play the audio. I am also setting metadata as audio/mp3 for it. I tried to search about the same in firebase documentation and google but could not get my issue resolved. Uri file = Uri.fromFile(new File(fileName)); //filename is audio stored in my phone's local

Play audio with Node.JS

馋奶兔 提交于 2020-04-07 13:54:19
问题 I'm currently using child_process and command-line mplayer to play audio on the local machine, with my Node.JS application. This works, but it's not really an excellent solution. My biggest issue is that it takes 500ms from mplayer is started to audio starts playing. Are there better ways to play audio? Preferably compressed audio, but I'll take what I can get. 回答1: I think what you asking is there any good modules that work with audio in the nodejs ecosystem? Whenever you have this type of

Play audio with Node.JS

半腔热情 提交于 2020-04-07 13:53:25
问题 I'm currently using child_process and command-line mplayer to play audio on the local machine, with my Node.JS application. This works, but it's not really an excellent solution. My biggest issue is that it takes 500ms from mplayer is started to audio starts playing. Are there better ways to play audio? Preferably compressed audio, but I'll take what I can get. 回答1: I think what you asking is there any good modules that work with audio in the nodejs ecosystem? Whenever you have this type of