aiff

Is there a way to remove IDV Tags from an AIFF file?

对着背影说爱祢 提交于 2019-12-14 01:39:05
问题 I'm working on a backend task system for a rails application running on an Ubuntu Server. Before converting the uploaded AIFF files to FLAC, I need to strip all the possibly existing tags from it. How can I achieve that? TagLib-Ruby doesn't have that covered for AIFF at this time. Is there another gem, a command line app or something similar that my rails app could call or do I have to code that fully on my own? 回答1: kid3 is an application with both gui and command line interfaces that allows

Is it correct to assume that floating-point samples in a WAV or AIFF file will be normalized?

北慕城南 提交于 2019-12-12 07:44:23
问题 Say I have a program that reads a .WAV or .AIFF file, and the file's audio is encoded as floating-point sample-values. Is it correct for my program to assume that any well-formed (floating-point-based) .WAV or .AIFF file will contain sample values only in the range [-1.0f,+1.0f]? I couldn't find anything in the WAV or AIFF specifications that addresses this point. And if that is not a valid assumption, how can one know what the full dynamic range of the audio in the file was intended to be?

Importing audio track (wav or aiff) in Python

人盡茶涼 提交于 2019-12-11 12:56:34
问题 I have an audio track in AIFF format. I would like to open this audio file with Python, and import the amplitudes of the sound and perform some mathematical analysis such as Fourier Transform, etc. Is this possible in Python? Are there libraries or modules, which allow me to acquire an audio file? Throughout my search, I have found scipy.io.wavfile, which works for WAV audio files. Are there other libraries to import audio files in Python? Is there something similar for AIFF files? Obviously,

How to play an AIFF sound file using Erlang?

╄→尐↘猪︶ㄣ 提交于 2019-12-11 06:34:05
问题 I am trying to look for a way to play an AIFF file using Erlang. I have found this tutorial, but it seems to be only about reading the content of the file and not actually playing it. 回答1: I suggest using the linux command "play" with "os:cmd" or "ports". It is quite ad-hoc but it is not a very uncommon command and it may do the trick. 来源: https://stackoverflow.com/questions/15199075/how-to-play-an-aiff-sound-file-using-erlang

Compiling a C program for previous OS X Version

跟風遠走 提交于 2019-12-11 00:30:03
问题 I've written a piece of C code that uses libfftw3 and libaiff external libraries. The code compiles and executes perfectly on my machine which has the required libraries and is running OS X 10.9 Mavericks. I'm using Xcode 5.1 to compile my program and I believe I have linked the required libraries correctly and provided the necessary paths to header files etc. (Everything works as it should on my computer). In fact, the resulting executable also runs on another computer running OS X Mavericks

iOS: How to trim silence from start and end of .aif audio recording?

◇◆丶佛笑我妖孽 提交于 2019-12-09 12:59:49
问题 My app includes the ability for the user to record a brief message; I'd like to trim off any silence (or, to be more precise, any audio whose volume falls below a given threshold) from the beginning and end of the recording. I'm recording the audio with an AVAudioRecorder, and saving it to an .aif file. I've seen some mention elsewhere of methods by which I could have it wait to start recording until the audio level reaches a threshold; that'd get me halfway there, but won't help with

iOS: How to trim silence from start and end of .aif audio recording?

£可爱£侵袭症+ 提交于 2019-12-03 16:52:47
My app includes the ability for the user to record a brief message; I'd like to trim off any silence (or, to be more precise, any audio whose volume falls below a given threshold) from the beginning and end of the recording. I'm recording the audio with an AVAudioRecorder, and saving it to an .aif file. I've seen some mention elsewhere of methods by which I could have it wait to start recording until the audio level reaches a threshold; that'd get me halfway there, but won't help with trimming silence off the end. If there's a simple way to do this, I'll be eternally grateful! Thanks. This

Is it correct to assume that floating-point samples in a WAV or AIFF file will be normalized?

僤鯓⒐⒋嵵緔 提交于 2019-12-03 10:38:49
Say I have a program that reads a .WAV or .AIFF file, and the file's audio is encoded as floating-point sample-values. Is it correct for my program to assume that any well-formed (floating-point-based) .WAV or .AIFF file will contain sample values only in the range [-1.0f,+1.0f]? I couldn't find anything in the WAV or AIFF specifications that addresses this point. And if that is not a valid assumption, how can one know what the full dynamic range of the audio in the file was intended to be? (I could read the entire file and find out what the file's actual minimum and maximum sample values are,

LibAIFF CloseFile: Pointer being freed was not allocated occurs randomly

橙三吉。 提交于 2019-12-02 21:01:27
问题 I have written a piece of code that attempts to search a directory and its subfolders for two AIFF files and using the LibAIFF library to import and then perform some processing operations on them. Part 1: Searching the directory for the files For this part of the program, I need to look for the files (which can be thought of as identical AIFF files except for a difference in their filenames) with known names (for example SineSweepA.aiff and SineSweepB.aiff) and then construct the absolute

LibAIFF CloseFile: Pointer being freed was not allocated occurs randomly

寵の児 提交于 2019-12-02 11:59:00
I have written a piece of code that attempts to search a directory and its subfolders for two AIFF files and using the LibAIFF library to import and then perform some processing operations on them. Part 1: Searching the directory for the files For this part of the program, I need to look for the files (which can be thought of as identical AIFF files except for a difference in their filenames) with known names (for example SineSweepA.aiff and SineSweepB.aiff) and then construct the absolute path to it (the length of which I am unaware of (since my program needs to work on different computers