Method and apparatus for editing source files of differing data formats using an edit tracking file

Information

  • Patent Grant
  • 4956806
  • Patent Number
    4,956,806
  • Date Filed
    Tuesday, July 12, 1988
    36 years ago
  • Date Issued
    Tuesday, September 11, 1990
    34 years ago
Abstract
The invention generally relates to improvements in the process and storage of formatted voice, graphic and image data. A new editing process allows the same commands to be applied to a plurality of data files of varying resolution and formats. The technique employs an edit tracking file to retain the edit commands applied to a file of a first format. The edit commands are then executed against a file of a second format to perform the identical editing steps to the second file. This process avoids the inaccuracies associated with converting information to a common format while providing the benefits of supporting multiple formats of file information.
Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention generally relates to the process and storage of formatted voice, graphic and image data. An improved editing process allows the same commands to be applied to a plurality of data files of varying resolution and formats.
2. Description Of The Prior Art
The editor plays an important role in the development of computer applications. Early editors allowed programmers to modify source programs a line at a time. These editors were quickly replaced by full page tools that accommodated changes anywhere on the page, thereby increasing user productivity. However, it was not until the advent of the personal computer (PC) that editing tools blossomed into the sophisticated, ergonomic instruments that have resulted in an explosion in programmer productivity.
An example of an editing system that takes advantage of personal computer technology is found in U.S. Pat. No. 4,712,180, to Fujiyama et al., issued Dec. 8, 1987. The patent discloses an education editing system for creating computer assisted training programs. The editing system combines audio information with graphics data and educational prompts to guide students through adventures in learning. The audio editing capabilities employ a cassette tape medium to dub sound information at selective points in the lesson.
Specialized applications for processing voice information have also been developed in response to the demands for special effects in the motion picture industry. An example of soundtrack processing is discussed in U.S. Pat. No. 4,591,928, to Bloom et al., issued May 27, 1986. The patent discloses a soundtrack editor that facilitates the production of a film soundtrack. A feature of the editor is the ability to capture characteristics of a first speech signal and essentially duplicate the characteristics in a second speech signal. The processing includes adjustments to the durations of silence and speech in the second speech signal to synchronize the imbedded first speech signal. Other examples of audio editors include, Moorer, et al., The Digital Audio Processing Station: A New Concept In Audio Postproduction, Journal of Audio Eng. Soc., Vol. 34, No. 6, pp. 454-463 (1986) and Taylor, Audio Storage and Editing System, International Broadcast Engineer, pp. 44-49 (1987).
A PC based sound editing system is discussed in Wiffen, Paul, Screen Test (Sound Designer Software), Electronics and Music Maker, Vol. 5, No. 10, pp. 44-50 (1985). The article critiques a sophisticated sound editing program that combines graphical depictions of sound information with an extensive library of commands for modifying, moving and copying sound files. Sound frequencies can be boosted or attenuated at the user's discretion anywhere locations in the sound file.
While the prior art discusses sophisticated methods for editing and saving sound information, the prior art requires all processed information to be kept in one format. There is no teaching of a method for tracking initial edits of a file in a first format and automatically invoking the same edit commands for processing a file of a second format.
SUMMARY OF THE INVENTION
It is therefore an object of this invention to provide an improved editor for processing a plurality of files of different formats without duplicating the manual editing procedures for each of the plurality of files.
It is a further object of the invention to perform the editing process while conserving the original format of each of the plurality of files.
It is another object of the invention to store and recreate interactive editing sessions.
It is yet another object of the invention to provide an audit trail of the edit procedure.
It is still another object of the invention to provide a method for removing partial edits of a file.
According to the invention, these objects are accomplished by employing an edit tracking file to retain the edit commands applied to a file of a first format. This information is applied to a file of a second format to perform the identical editing steps to the second file without requiring conversion of the second file to a common format and experiencing the associated degradation in file accuracy.





BRIEF DESCRIPTION OF THE DRAWINGS
The foregoing and other objects, aspects and advantages of the invention will be better understood from the following detailed description of the preferred embodiment of the invention with reference to the accompanying drawings, in which:
FIG. 1 is an illustration of the hardware environment in accordance with the present invention;
FIG. 2 is a graphical representation of a person's voice;
FIG. 3 is a block diagram of the editing process of the present invention;
FIG. 4 is an illustration of the interactive editing process of the present invention;
FIG. 5 is a block diagram of the associated editor of the present invention;
FIG. 6 is a data flow diagram of the edit tracking processing of the present invention;
FIG. 7 is a graphical representation of a voice file;
FIG. 8 is a graphical representation of another voice file; and
FIG. 9 is a graphical representation of the final edited version of a voice file.





DESCRIPTION OF THE PREFERRED EMBODIMENT OF THE INVENTION
Referring now to the figures, and more particularly to FIG. 1, a block diagram is provided to convey the hardware environment. A personal computer (PC) 10 includes control means for managing a color graphics display 20, a keyboard 30 and a cursor placement device (CPD) 40, such as a mouse or a joystick, for conveying information to the PC 10.
In this application, the PC 10 is used for storing files of voice data, performing the edit processing, and displaying the voice information in a graphical representation similar to the illustration in FIG. 2. A high level block diagram of the edit processing is provided in FIGS. 3, 4 and 5.
In FIG. 3, two file formats are similarly edited. First file format B 100 is interactively edited to create an edited version of file format B 110 and a tracking file 120 that contains the information necessary to apply the same edit commands to another file. The tracking file is used to edit file format A 130 to create an identically edited version of file format A 140.
FIG. 4 provides additional details on the interactive edit processing.
The interactive processing begins at function block 200 where the user employs the CPD 40 to select the portion of the data to edit. The user indicates the portion to edit by selecting two corners of a rectangular area. The marked area is then copied to a paste buffer as represented in function block 210. The starting and ending points of the marked area and the name of the source file are also stored as temporary variables in the paste buffer.
Following copying to the paste buffer, the paste buffer itself is copied into the output buffer as described in function block 220. The temporary variables which include the start point, end point and the source file name are copied into the output tracking structure along with the point of insertion in the output buffer A test at decision block 230 determines if editing is completed. If it is not complete, then control is returned to function block 200 to continue editing.
If modifications of the file are complete, then the output buffer tracking file is sorted by entry point location as indicated in function block 240 and the sorted tracking file information is stored in the PC's data storage device as indicated in function block 250. This completes the edit process for file format B.
FIG. 5 is a block diagram of the edit processing for file format A. Processing begins when the edit tracking file is read in function block 300. Then, the source files that are referenced in the tracking file are opened as shown in function block 310, and selected portions of source data are copied as indicated in function block 320. The portions to copy are specified in the edit tracking file. Finally, the edited version of file format A is written to an output file as disclosed in function block 330. The output of the editing process can be any format specified in the tracking file.
An example of the edit processing should provide additional clarification. FIG. 6 contains a data flow diagram of the edit tracking processing. Two voice files test1.b16 400 and test2.b16 410, in sixteen bit linear format, are used as input to the processing. The voice editor employs sixty-four Kbps mu-law data and provides an audio representation of the file through a card that plugs into the backplane of the PC 10. The card employs a mu-law codec to process the voice data.
Since the editor can only play mu-law data, the 16-bit linear data must be converted to mu-law format This is accomplished by the editor's convert program at function blocks 420 and 425. The two mu-law files are labeled test1.mu 430 and test2.mu 440. The interactive voice editor 450 processes the converted data test1.mu 430 and test2.mu 440 and creates an edit tracking file 470 of edit commands and a composite of the desired portions of test1.mu 430, test2.mu 440 and result.mu 460.
A slave editor program 470 can now process the original two files test1.b16 400 and test2.b16 410 using the edit tracking file 470 as input to directly edit the two files creating result.b16 480 without the associated conversion distortion associated with result.mu 460.
FIG. 7 is a graphical representation of test1.mu 430. The portion of test1.mu 430 that is desired for further processing is bracketed at 500.
FIG. 8 is a graphical representation of test2.mu 440. The portion of test2.mu 440 that is desired for further processing is bracketed at 510. The final edited version of result.mu is shown in FIG. 9. The resultant edit tracking file would have the following format:
______________________________________OUTFILENAME(20) Array of 21 variable length, character entries;SRCFILENAME(20) Array of 21 variable length, character entries;LEFT(20) Array of 21 Left end point addresses;RIGHT(20) Array of 21 Right end point addresses;NENTRY Integer number of total entries.______________________________________
A source listing of the interactive and slave editors is included below to demonstrate the logic used in implementing an example of the invention. The editors are implemented in "C". ##SPC1##
TRACKING FILE
Throughout the application, there are numerous references to the tracking file. Thus, it is appropriate to provide functional and logic information concerning additional characteristics of the tracking file. The tracking file contains information about processing steps other than marking and editing, such as filtering and scaling. The filters are generally implemented as finite impulse response (FIR) filters or infinite impulse response (IIR) filters of various, arbitrary shapes. To keep track of the filters and their application, the tracking file contains the input file name, start and end sample numbers, and the coefficients used in the filter.
The coefficients of a FIR filter determine the filter's shape. Scaling factors are also stored in the tracking file. Their purpose is to vary a signal by a predetermined constant. Scaling is performed by multiplying the signal amplitude by a constant scale factor. The tracking file's input file name, start sample number and end sample numbers are augmented by a scale factor.
A software ("C") implementation of a FIR filter, an IIR filter and a scaling algorithm are provided below to clarify the operation of a software implemented filter. ##SPC2##
Claims
  • 1. A method for editing source files containing audio information of differing data formats on a display using a plurality of edit commands, comprising the steps of:
  • (a) performing one of said plurality of edit commands on a source file containing audio information of a first data format;
  • (b) copying said performed edit command in a buffer;
  • (c) writing said edit command from said buffer to a tracking file; and
  • (d) repeating steps (a)-(c) for each of said plurality of edit commands;
  • (e) reading each of said written edit commands from said tracking file and replaying said read edit commands against at least one source file containing audio information having a second data format thereby effecting commensurate changes to the at least one source file having the second data format and creating an edit file corresponding to said source file having the first data format.
  • 2. A method for editing a source file containing audio information of a first data format on a display as recited in claim 1, wherein the performing step comprises the the steps of:
  • (a) prompting a user to indicate a first point of an area of interest on the display to include in the edited file;
  • (b) responding to the pressing of a first key or movement of a cursor placement device to indicate a second point of the area of interest on the display;
  • (c) drawing a translucent rectangle on the display specified by the first point and the second point;
  • (d) repeating steps (b) and (c) until the area of interest is enclosed by the translucent rectangle on the display; and
  • (e) responding to the pressing of a second key to store the first point, the second point and the name of the source file having said first data format in a memory.
  • 3. A method for editing a source file containing audio information on a display as recited in claim 2, wherein the performing step further comprises the step of filtering the area of interest.
  • 4. A method for editing a source file containing audio information on a display as recited in claim 2, wherein the performing step further comprises the step of scaling the area of interest.
  • 5. A method for editing a source file containing audio information on a display as recited in claim 2, wherein the tracking file is on a data storage device.
  • 6. A method for editing a source file containing audio information of a first data format on a display as recited in claim 5, wherein the reading step comprises the steps of:
  • (a) reading a record from the tracking file on said data storage device;
  • (b) parsing the read record into a name of a source file, a first point and a second point;
  • (c) reading the source file using the read name;
  • (d) obtaining the area of interest from the read source file based on the first point and the second point;
  • (e) reading the source file having the second data format and applying the obtained area of interest thereto;
  • (f) writing the applied area
  • (g) repeating steps (a), (b), (c), (d) and (e) until all of the records from the tracking file have been processed.
  • 7. A computer program for editing source files containing audio information of differing data formats on a display using a plurality of edit commands, comprising:
  • (a) means for performing each of said plurality of edit commands on a source file containing audio information of a first data format;
  • (b) means for copying each of said performed edit commands in a buffer;
  • (c) means for writing said edit commands from said buffer to a tracking file; and
  • (d) means for reading each of said written edit commands from said tracking file and replaying each of said edit commands against at least one source file containing audio information of a second data format thereby effecting commensurate changes to the source file having the first data format.
  • 8. A computer program for editing a source file containing audio information of a first data format on a display as recited in claim 10, further comprising:
  • (a) means for prompting a user to indicate a first point of an area of interest on the display to include in the edited file;
  • (b) means for responding to the pressing of a first key or movement of a cursor placement device to indicate a second point of the area of interest on the display;
  • (c) means for drawing a translucent rectangle on the display specified by the first point and the second point;
  • (d) means for responding to the pressing of a second key to store the first point, the second point and the name of the source file of said first data format in a memory.
  • 9. A computer program for editing a source file containing audio information on a display as recited in claim 8, further comprising means for filtering the area of interest.
  • 10. A computer program for editing a source file containing audio information on a display as recited in claim 8, further comprising, means for scaling the area of interest.
  • 11. A computer program for editing a source file containing audio information on a display as recited in claim 8, wherein the tracking file is on a data storage device.
  • 12. A computer program for editing a source file containing audio information of a first data format on a display as recited in claim 11, wherein said reading means comprises:
  • (a) means for reading a record from the tracking file on the data storage device;
  • (b) means for parsing the read record into a name of a source file, a first point and a second point;
  • (c) means for reading the source file using the read name;
  • (d) means for obtaining area of interest from the read source file based on the first point and the second point;
  • (e) means for reading the source file having the second data format and applying the obtained area of interest thereto;
  • (f) means for writing area of interest into an output file.
US Referenced Citations (27)
Number Name Date Kind
3084215 Bounsall Apr 1953
3740125 Harris Jun 1973
3856387 Wray et al. Dec 1974
4067049 Kelly et al. Jan 1978
4095261 Rodriguez Jun 1978
4211997 Rudnick et al. Jul 1980
4307859 Hayashi et al. Dec 1981
4322814 Menezes et al. Mar 1982
4327382 Tanaka Apr 1982
4352165 Hevenor, Jr. Sep 1982
4423441 Ozaki et al. Dec 1983
4434475 McCaskill et al. Feb 1984
4435777 McCaskill et al. Mar 1984
4466029 Tanaka Aug 1984
4473850 Foerster et al. Sep 1984
4491879 Fine Jan 1985
4531161 Murakoshi Jul 1985
4580207 Arai et al. Apr 1986
4591926 Gaskell et al. May 1986
4591928 Bloom et al. May 1986
4618895 Wright Oct 1986
4641274 Swank Feb 1987
4658351 Teng Apr 1987
4682245 Shibata et al. Jul 1987
4712180 Fujiyama et al. Dec 1987
4730348 MacCrisken Mar 1988
4763252 Rose Aug 1988
Non-Patent Literature Citations (19)
Entry
"A Digital Soung Editor" by Donald Jamieson, Computers and Biomedical Research, pp. 480-487.
"SDS DX7 Voice Editor" by Gerry Queen, Apr. 1985, E&MM, pp. 100-101.
"Editing Audio for Video-and More" by David Neal, International Broadcast Engineering, pp. 13-14.
"Introducing VIPS: A Voice-Interactive Processing System for Document Management" by Alan Biermann, National Computer Conference, 1984, pp. 661-666.
"Digital Audio Editing-2" by John Watkinson, Electronic & Wireless World, Apr. 1986, pp. 52-54.
"Digital Audio Post Production: Sound Editing Transformed" by James Wolvington, SMPTE Journal, Jan. 1987, pp. 34-36.
"Computer Music Interfaces: A Survey" by Bruce Pennycook Computing Surveys, vol. 17, No. 2, Jun. 1985, pp. 267-289.
"A Dispersion Model for Coupled Microstrips": by Vijai Tripathi IEEE Transactions on Microwave Theory & Techniques, vol. MTT-34, No. 1, Jan. 1986, pp. 66-71.
"The Digital Audio Processing Station: A New Concept in Audio Postproduction" by James A. Moorer, J. Audio Engineering Soc. vol. 34, No. 6, Jun. 1986, pp. 454-463.
"Screen Test" by Paul Wiffen, E&MM Dec. 1985, pp. 44-50.
"Digital Audio Editing" John Watkinson, Electronics & Wireless World, Mar. 1986, pp. 29-32.
"SoundDroid: A New Approach to Digital Editing and Mixing of Sound" by Jeffrey Borish, The BKSTS Journal, 1985, pp. 616-621.
"Audio Storage and Editing System" by Dr. Nick Taylor & John Emmas, International Broadcast Engineering, pp. 44-49.
IBM Technical Disclosure Bulletin, vol. 25, No. 5, Oct. 1984, "Shared Record Validity CheckerControl Unit Extension".
IBM Technical Disclosure Bulletin, vol. 27, No. 10B, Mar. 1985, "Splitting & Merging Objects in a Multiple Data Editor".
IBM Technical Disclosure Bulletin, vol. 28, No. 8, Jan. 1986, "Shadow Application Program".
IBM Technical Disclosure Bulletin, vol. 25, No. 7A, Dec. 1982, "User Interface for Audio Communication System".
IBM Technical Disclosure Bulletin, vol. 14, No. 1, Jun. 1971, "Structure of a Source Program Generator".
IBM Technical Disclosure Bulletin, vol. 16, No. 7, Dec. 1973, "Automatic System Customizer Configurator".