Questions tagged [aiff]

Audio Interchange File Format

An audio file format standard used for storing sound data.

The audio data in a standard AIFF file is uncompressed pulse-code modulation (PCM). AIFF is a leading format (along with SDII and WAV) used by professional-level audio and video applications, and unlike the better-known lossy MP3 format, it is non-compressed (which aids rapid streaming of multiple audio files from disk to the application), and lossless.

54 questions
20
votes
3 answers

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

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…
Jeremy Friesner
  • 70,199
  • 15
  • 131
  • 234
5
votes
2 answers

AIFF-C file cannot be read with aifc module in python

I am trying to read a compressed .aiff file stored on my local directory. I get this; >>>import aifc >>>s = aifc.open('/Users/machinename/Desktop/folder/AudioTrack.aiff','r') Traceback (most recent call last): File "", line 1, in
Bedi Egilmez
  • 1,494
  • 1
  • 18
  • 26
5
votes
2 answers

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

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…
DanM
  • 7,037
  • 11
  • 51
  • 86
4
votes
3 answers

Any libraries that can parse ID3 chunks from aiff files?

I am learning about the AIFF format and according to wiki these files can contain an ID3 chunk. But most of tools I have tried so far do not seem to support aiff files. Are there any libraries (preferably java or C#) capable of parsing/reading ID3…
Leigh
  • 28,765
  • 10
  • 55
  • 103
4
votes
5 answers

Create mp3 previews from wav and aiff files

I would like to create a program that makes mp3s of the first 30 seconds of an aiff or wav file. I would also like to be able to choose location and length, such as the audio between 2:12 and 2:42. Are there any tools that lets me do this? Shelling…
August Lilleaas
  • 54,010
  • 13
  • 102
  • 111
4
votes
2 answers

html5 audio player and .aif files on the web

I have been asked to use aif audio files on a website. I am using jplayer. Would there be a noticeable difference using .aif? Which browsers support .aif? Would you advise using .aif for the web? Would it mean I would need 3 versions of each track…
Brownrice
  • 481
  • 6
  • 21
3
votes
1 answer

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

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…
Rip-Off
  • 358
  • 1
  • 4
  • 14
2
votes
1 answer

Is it possible (and how) to determine the endianness of an AIFF audio file?

I work on an audio Importer in JAVA (used in a drum sequencer) and I have the following problem with importing AIFF files: I have 2 AIFF files of the same type (24bit, 44100kHz, mono), one is created on a Mac, the other is created with wavelab on a…
gal
  • 441
  • 1
  • 4
  • 13
2
votes
2 answers

Editing tag data for .aiff files with Mutagen with errors "TypeError: not a Frame instance" and "ID3NoHeaderError: doesn't start with an ID3 tag"

i'm trying to write tags to a tables .aif file using mutagen. so far not having much success... from the code in the mutagen documentation i try: from mutagen.aiff import AIFF audio = AIFF(“example.aif”) audio["title"] = u"An…
neff
  • 41
  • 2
2
votes
2 answers

signal processing for audio file in python

I am tying to do silence detection in uncompressed AIFF audio files. I prefer to do it in Python, but would consider other options if this is super inefficient. The uncompressed files I am dealing with are expected to be 20 MB (maximum size). I can…
chv
  • 23
  • 3
2
votes
0 answers

Compiling a C program for previous OS X Version

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…
Rahul
  • 95
  • 1
  • 2
  • 9
2
votes
1 answer

Playing audio files with libao

I'm trying to make a simple C program play an AIFF or WAV file. Based on what I see at http://www.xiph.org/ao/doc/, this should work, but instead it makes a buzzing sound no matter what file I feed it. What's wrong with this? /* compile with "gcc…
Frotz
  • 535
  • 4
  • 21
2
votes
0 answers

Library that Record from Audio Devices and Write to Disk

I am looking for a cross-platform C++ library (if not, one for Windows and one for Macintosh) that records from a selected audio devices and write to disk in one of a common formats/containers. Before I was doing recording with portaudio, but the…
swtdrgn
  • 1,154
  • 4
  • 17
  • 49
2
votes
1 answer

How to play an AIFF sound file using Erlang?

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.
N3sh
  • 881
  • 8
  • 37
2
votes
0 answers

iOS: aiff quiet on ipad 2 and 3

Three buttons triggering three AVAudioPlayers, identical code, identical sound files except for some pitch shifting. All three sounds loaded thus: NSString *pathDigitClick = [[NSBundle mainBundle] pathForResource:@"tickLoVol"…
HenryRootTwo
  • 2,572
  • 1
  • 27
  • 27
1
2 3 4