Misplaced Pages

Resource Interchange File Format

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

Resource Interchange File Format ( RIFF ) is a generic file container format for storing data in tagged chunks . It is primarily used for audio and video, though it can be used for arbitrary data.

#135864

40-625: The Microsoft implementation is mostly known through container formats like AVI , ANI and WAV , which use RIFF as their basis. RIFF was introduced in 1991 by Microsoft and IBM and used as the default format for Windows 3.1 multimedia files. It is based on Interchange File Format introduced by Electronic Arts in 1985 on the Amiga . IFF uses the big-endian convention of the Amiga's Motorola 68000 CPU, but in RIFF multi- byte integers are stored in

80-451: A Lisp dialect, in which users can script their own plugins and support for external python scripting. Audacity is somewhat customizable and supports arbitrary arrangements of its toolbars, custom themes and enabling and disabling of several features. In January 2024, Intel introduced some AI-powered capabilities for Audacity as part of its OpenVINO plugin suite. Audacity has several features to allow for spectrum analysis using

120-415: A new variant on the existing MIDI file format used for storing song information to be played on electronic musical instruments. Microsoft's MIDI file format consisted of a standard MIDI file enclosed in a RIFF wrapper, and had the file extension .RMI . Since the existing MIDI file format already supported embedded "tagging" information, this caused the disadvantage of having to deal with two file formats for

160-574: A number of predefined categories, such as copyright ("ICOP"), comments ("ICMT"), artist ("IART"), in a standardised way. These details can be read from a RIFF file even if the rest of the file format is unrecognized. The standard also allows the use of user-defined fields. Programmers intending to use non-standard fields should bear in mind that the same non-standard subchunk ID may be used by different applications in different (and potentially incompatible) ways. In line with their policy of using .RIFF for all Windows 3.1 "multimedia" files, Microsoft introduced

200-429: Is a potentially disk-intensive process. One workaround is to "pad out" the leading INFO chunk using dummy data (using a "dummy chunk" or "pad chunk") when the file is created. Later editing can then expand or contract the "dummy" field to keep the total size of the file header constant: an intelligently written piece of software can then overwrite just the file header when tagging data is changed, without modifying or moving

240-530: Is a proprietary multimedia container format and Windows standard introduced by Microsoft in November 1992 as part of its Video for Windows software. AVI files can contain both audio and video data in a file container that allows synchronous audio-with-video playback. Like the DVD video format , AVI files support multiple streaming audio and video, although these features are seldom used. Many AVI files use

280-558: Is a time-consuming process. Many FireWire controllers only captured to one or the other type. However, almost all relevant software supports both Type 1 and Type 2 editing and rendering, including Adobe Premiere. Thus, many users are unaware of the fact that there are two types of DV AVI files. Audacity (audio editor) Audacity is a free and open-source digital audio editor and recording application software , available for Windows , macOS , Linux , and other Unix-like operating systems. As of December 6, 2022, Audacity

320-556: Is available in Afrikaans , Arabic , Basque , Bulgarian , Catalan , Chinese (simplified) , Chinese (traditional) , Corsican , Czech , Danish , Dutch , Finnish , French , Galician , German , Greek , Hungarian , Irish , Italian , Japanese , Lithuanian , Macedonian , Marathi , Norwegian ( Bokmål ), Polish , Portuguese ( Brazilian ), Romanian , Russian , Slovak , Slovenian , Spanish , Swedish , Turkish , Ukrainian , Vietnamese and Welsh . The documentation,

360-433: Is freely available to both create and correctly replay AVI files which use the techniques described here. DV AVI is a type of AVI file where the video has been compressed to conform with DV standards. There are two types of DV-AVI files: Type 1 is actually the newer of the two types. Microsoft made the "type" designations, and decided to name their older VfW-compatible version "Type 2", which only furthered confusion about

400-482: Is identified by the "movi" tag, containing the actual audio and visual data that make up the AVI video. The third optional chunk is identified by the "idx1" tag, which indexes the offsets of the data chunks within the file. By way of the RIFF format, the audio and visual data contained in the "movi" chunk can be encoded or decoded by software called a codec , which is an abbreviation for (en)coder/decoder. Upon creation of

440-420: Is not bundled with Audacity but has to be downloaded separately. In conjunction with batch processing features, Audacity can be used to convert files from one format to another, or to digitize records, tapes or MiniDiscs. Audacity supports LADSPA , LV2 , VST , VST3, Audio Units , Vamp and Nyquist plugins, which allows it to load most audio effect plugins. It additionally features a console for Nyquist ,

SECTION 10

#1732779503136

480-500: Is often omitted from the detailed specifications of individual file formats, leading to some confusion over the correct position for this chunk within a file. When dealing with large media files, the expansion or contraction of the INFO chunk during tag-editing can result in the following "data" section of the file having to be read and rewritten back to disk to accommodate the new header size. Since media files can be gigabytes in size, this

520-466: Is that it has a superbly transparent and natural user interface, one that erects as few barriers between the user and the sound file as possible." Some reviewers and users have criticized Audacity for its inconvenient UX design, unsightly GUI and comparative lack of features compared with Adobe Audition. Matthew McLean wrote: "Audacity looks a bit more dated and basic, but this will be appealing to many folks who're just starting out". In May 2021, after

560-399: Is the most popular download at FossHub, with over 114.2 million downloads since March 2015. It was previously served by Google Code and SourceForge , where it was downloaded over 200 million times. It is now part of Muse Group . It is licensed under GPL-2.0 or later . Executables with VST3 support are licensed GPL-3-only to maintain license compatibility. The project was started in

600-540: The Fourier transform algorithm and spectrograms . As with effects, additional analysis plugins can be added, such as ones that check audiobooks for ACX compatibility. While Audacity has some features found in digital audio workstations , it should not be considered as such yet. In its current form, it is an audio editor and recorder. In particular, MIDI editing, piano rolls, virtual instruments, parameter automation and channel routings are not yet implemented. Due to

640-512: The Resource Interchange File Format (RIFF), which divides a file's data into blocks, or "chunks". Each chunk is identified by a FourCC tag. An AVI file takes the form of a RIFF header, which is then divided into two mandatory chunks and one optional chunk. The first chunk is identified by the "hdrl" tag, which stores the information required by the codec to decompress the AVI file for viewing. The second sub-chunk

680-525: The little-endian order of the x86 processors used in IBM PC compatibles . A RIFX format, which is big-endian, was also introduced. In 2010 Google introduced the WebP picture format, which uses RIFF as a container. RIFF files consist entirely of " chunks ". The overall format is identical to IFF , except for the endianness as previously stated, and the different meaning of the chunk names. All chunks have

720-664: The Audacity Manual, is available only in English. The Audacity Forum offers technical support in English. The diagram illustrates Audacity's layers and modules. Note the three important classes within wxWidgets, each of which has a reflection in Audacity. Higher-level abstractions result from related lower-level ones. For example, the BlockFile system is a reflection of and is built on wxWidgets' wxFiles. Lower down in

760-608: The INFO chunk at the end, so that any embedded preview bitmap would not be displayed under Windows' file manager by default. A "patch" utility supplied with the program fixes this problem. RIFF information tags are found in WAV audio and AVI video files. The field consists of two values (v[0] and v[1]) separated with a space (0x20). Sample code: Audio Video Interleave Audio Video Interleave (also Audio Video Interleaved and known by its initials and filename extension AVI , usually pronounced / ˌ eɪ . v iː ˈ aɪ / )

800-568: The RIFF format can be found in the Interchange File Format article. RF64 is a multichannel file format based on RIFF specification, developed by the European Broadcasting Union . It is BWF -compatible and allows file sizes to exceed 4 gigabytes . It does so by providing a "ds64" chunk with a 64-bit (8-byte) size. The optional INFO chunk allows RIFF files to be "tagged" with information falling into

840-896: The SourceForge 2007 and 2009 Community Choice Award for Best Project for Multimedia. Jamie Lendino of PC Magazine recently rated it 4/5 stars Excellent and said: "If you're looking to get started in podcasting or recording music, it's tough to go wrong with Audacity. A powerful, free, open-source audio editor that's been available for years, Audacity is still the go-to choice for quick-and-dirty audio work." CNET rated Audacity 5/5 stars, calling it "feature-rich and flexible". Preston Gralla of PC World said: "If you're interested in creating, editing, and mixing you'll want Audacity." Jack Wallen of Tech Republic praised its features and ease-of-use. In The Art of Unix Programming (2003), open-source software advocate Eric S. Raymond wrote of Audacity: "The central virtue of this program

SECTION 20

#1732779503136

880-612: The application, which remains free and open source. In addition to recording audio from multiple sources, Audacity can be used for post-processing of all types of audio, including effects such as normalization, trimming, and fading in and out. It has been used to record and mix entire albums, such as by Tune-Yards . It is currently used in the Sound Creation unit of the UK OCR National Level 2 ICT course. Audacity can record multiple tracks at once, provided

920-527: The chunk. As such, it is theoretically possible to expand any RIFF file format, including AVI, to support almost any conceivable metadata. Some of the limitations of AVI in modern use relate to a lack of standardization in this metadata (see Limitations below). Since its introduction in the early 90s, new computer video techniques have been introduced which the original AVI specification did not anticipate. More recent container formats (such as Matroska , Ogg and MP4 ) solve all these problems, although software

960-415: The diagram is a narrow strip for platform-specific implementation layers. Both wxWidgets and PortAudio are OS abstraction layers, containing conditional code that chooses different implementations depending on the target platform. As free and open-source software, Audacity is very popular in education, encouraging its developers to make the user interface easier for students and teachers. Audacity won

1000-452: The fall of 1999 by Dominic Mazzoni and Roger Dannenberg at Carnegie Mellon University , initially under the name CMU Visual Audio . On May 28, 2000, Audacity was released as Audacity 0.8 to the public. Mazzoni eventually left CMU to pursue software development and in particular development of Audacity, with Dannenberg remaining at CMU and continuing development of Nyquist , a scripting language which Audacity uses for some effects. Over

1040-441: The file by building an index temporarily or permanently. As a derivative of the Resource Interchange File Format (RIFF), AVI files are commonly tagged with metadata in the INFO chunk. In addition, AVI files can embed Extensible Metadata Platform . By design, any RIFF file can legally include additional chunks of data, each identified by a four-character code; software which does not understand that particular code should skip

1080-790: The file format extensions developed by the Matrox OpenDML group in February 1996. These files are supported by Microsoft, and are unofficially called " AVI 2.0 ". In 2010 the US government 's National Archives and Records Administration defined AVI as the official wrapper for preserving digital video . Publishers faced a predicament regarding how they should distribute videos on CD-ROMs . Thirty seconds of video displayed in 24-bit color and at thirty frames per second and Super VGA resolutions could take up 680 megabytes of space—the storage capacity of most CD-ROMs in 1992. Lossily compressing

1120-458: The file, the codec translates between raw data and the (compressed) data format used inside the chunk. An AVI file may carry audio and visual data inside the chunks in virtually any compression scheme, including Full Frame (Uncompressed), Indeo , run-length encoding , and Microsoft Video 1 . Some programs, like VLC , complain when the "idx1" index sub-chunk is not found, as it is required for efficient moving among timestamps. They offer to "fix"

1160-410: The following format: Two chunk identifiers, "RIFF" and "LIST", introduce a chunk that can contain subchunks. The RIFF and LIST chunk data (appearing after the identifier and length) have the following format: The file itself consists of one RIFF chunk, which then can contain further subchunks: hence, the first four bytes of a correctly formatted RIFF file will spell out "RIFF". More information about

1200-476: The hardware requirements for playing the videos in uncompressed quality, which at the time were demanding, it needed to allow users of low-end computers to play the videos in compressed quality. They developed and published the Audio Video Interleave format on November 10, 1992, as part of their Video for Windows, and included support for codecs to satisfy those users. AVI is a subformat of

1240-427: The main body of the file. Some programs have tried to address the problem by placing the INFO chunk at the end of a media file, after the main body of the file. This has resulted in two different conventions for chunk placement, with the attendant risk that some combinations of software can cause a file's INFO data to be ignored or permanently overwritten during editing. More sophisticated programs will take into account

Resource Interchange File Format - Misplaced Pages Continue

1280-403: The possibility of "unexpected" chunk placement in files and respond accordingly. For instance, when the audio-editing program Audacity encounters a .WAV file with end-placed INFO data, it will correctly identify and read the data, but on saving, will relocate the INFO chunk back to the file header. Although CorelDRAW 10 nominally uses a RIFF file structure, the program's initial release placed

1320-498: The project was acquired by Muse Group , there was a draft proposal to add opt-in telemetry to the code to record application usage. Some users responded negatively, with accusations of turning Audacity into spyware . The company reversed course, falling back to error/crash reporting and optional update checking instead. Another controversy in July 2021 resulted from a change to the privacy policy which said that although personal data

1360-474: The same type of information. The MIDI Manufacturers Association have since embraced the RIFF-based MIDI file format, and used it as the basis of an "extended midifile" that also includes instrument data in " DLS " format, embedded within the same .RMI file. For cataloguing purposes, the optimal position for the INFO chunk is near the beginning of the file. However, since the INFO chunk is optional, it

1400-428: The sound card supports it. In addition to a normal mode, recordings can be scheduled ("Timer Record"), or used in a Punch in and roll fashion. Historically, Audacity is a destructive editor, meaning all changes are directly applied to the waveform. This comes with certain benefits but means that any change made cannot be tweaked later on without undoing all changes in-between. For a long time, non-destructive editing

1440-451: The two types. In the late 1990s through early 2000s, most professional-level DV software, including non-linear editing programs, only supported Type 1. One notable exception was Adobe Premiere , which only supported Type 2. High-end FireWire controllers usually captured to Type 1 only, while "consumer" level controllers usually captured to Type 2 only. Software is and was available for converting Type 1 AVIs to Type 2, and vice versa, but this

1480-793: The use of wxWidgets, which do not have full iOS or Android support, Audacity cannot run on mobile platforms. Audacity can make precise adjustments to speed ( tempo ) while maintaining pitch, to synchronize audio with video or for precise running time. It also has a large array of digital effects and plug-ins, including: noise reduction based on sampling the noise to be minimized, vocal reduction and isolation for creation of karaoke tracks and isolated vocal tracks, pitch adjustment maintaining speed, and speed adjustment maintaining pitch. Audacity also has support for multi-channel modes with sampling rates up to 96  kHz with 32 bits per sample. It can also detect dropout errors made while recording with an overburdened CPU. In addition to English , Audacity

1520-431: The videos would save a lot of space, but not without degrading the quality of the videos. Publishers who were more concerned about video quality instead were searching for an ideal compression algorithm that would compress the video files while still preserving the quality. Microsoft recognized the problem and sought to develop a standard that would losslessly compress the video files. They also recognized that because of

1560-419: The years, additional volunteer contributors emerged, including James Crook who started the fork DarkAudacity to experiment with a new look and other UX changes. Most of its changes were eventually incorporated into the mainline version and the fork ended. In April 2021, it was announced that Muse Group (owners of MuseScore and Ultimate Guitar ) would acquire the Audacity trademark and continue to develop

1600-454: Was exclusive to volume envelopes and playback rates, but since version 3, this has been extended to clip trimming and effects. Audacity natively imports and exports WAV , AIFF , MP3 , Ogg Vorbis , and all file formats supported by libsndfile library. Due to patent licensing concerns, the FFmpeg library necessary to import and export proprietary formats such as M4A (AAC) and WMA

#135864