TWI244828B - A method of safety-encoding a music file - Google Patents

A method of safety-encoding a music file Download PDF

Info

Publication number
TWI244828B
TWI244828B TW92133583A TW92133583A TWI244828B TW I244828 B TWI244828 B TW I244828B TW 92133583 A TW92133583 A TW 92133583A TW 92133583 A TW92133583 A TW 92133583A TW I244828 B TWI244828 B TW I244828B
Authority
TW
Taiwan
Prior art keywords
encoding
data
security
digital music
music
Prior art date
Application number
TW92133583A
Other languages
Chinese (zh)
Other versions
TW200518479A (en
Inventor
Bing-Fei Wu
Chih-Hsu Yen
Hung-Yu Wei
Original Assignee
Bing-Fei Wu
Chih-Hsu Yen
Hung-Yu Wei
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bing-Fei Wu, Chih-Hsu Yen, Hung-Yu Wei filed Critical Bing-Fei Wu
Priority to TW92133583A priority Critical patent/TWI244828B/en
Publication of TW200518479A publication Critical patent/TW200518479A/en
Application granted granted Critical
Publication of TWI244828B publication Critical patent/TWI244828B/en

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

A method of safety-encoding a music file, for encoding the original music data safely, includes dividing several equal frequency band, Modified DCT, re-encoding positive and negative signs, quantization and bit allocation, Huffman coding, and compiling MP3 file. By safety-encoding the music file during the process of compressing it, the file can be prevented from read out correctly without being authorized. Besides, the time for encoding the whole file can be reduced.

Description

1244828 數再配a人耳聲學模擬的結果’在人耳敏感的頻帶使用較多的位元 (bits)數進行編碼,而於人耳聽不到或較不敏感的頻帶則使用較少的 位元數進行編碼,如此量化及位元分配的過程不但可以減少資料量達 到壓縮的目的’解壓縮後的音樂亦不會與原先的音樂有太大的出入。 Ϊ化程序及位元分配後之資料,接著進行赫夫曼編碼。赫夫曼編 碼可以使資料更進-步作做無失真的壓縮。經敎曼編碼後的資料若 是所需的位元數太多,即會重新回到量化程序及位元分配,重新取定 一轉換曲線進行量化及位元分配的運算。 畐里化程序及位元分配後的位元數已降至一定的規範下,會和如 上述之人耳聲學翻^結果似―誤差味,若量化程序及位元分配 後的位元與縣資機差量大於人耳聲轉擬之鮮效應,則會重新 回至里化程序及位元分§&進行運算。在量姉序及位元分配中則重新 取疋一轉換曲線,增加模擬的位元數,使誤差量減少。 若誤差量在人耳聲學模擬之遮罩效釘,齡將赫夫f編碼後的 結果做MP3標準格式編寫成mp3檔案。 般MP3槽案的格式如第2圖所示,分別依序排置槽頭(出咖)、 附屬貧訊(Sideinformation),及主要資料(廳她也)。 槽頭和附屬資訊存放著解壓縮時需要的參數,社要資料則存放 、、、二過畺化耘序及位元分配、赫夫曼編碼後的資料。 在附屬資訊除存放著單聲道或雙聲道的資訊外,更存放了應該選 擇哪一個對絲⑽e)作她_準、跳㈣位元代表法(es⑽1244828 Numbers are matched with the results of a human ear acoustic simulation 'using more bits to encode in the human ear's sensitive frequency bands, while using less bits in the human ear's inaudible or less sensitive bands Metadata is encoded, so the process of quantization and bit allocation can not only reduce the amount of data to achieve the purpose of compression. 'The decompressed music will not be too different from the original music. The data after the normalization process and bit allocation are then Huffman coded. Huffman coding can take the data one step further and perform distortion-free compression. If the number of bits required by the Bahman code is too large, it will return to the quantization process and bit allocation, and a new conversion curve will be taken for the quantization and bit allocation operations. The digitization procedure and the number of bits after bit allocation have been reduced to a certain standard, and the result will be similar to the above-mentioned human ear acoustics. The result is ―error taste. If the quantization procedure and bit allocation after the bit and county The difference between the capital and the machine is greater than the fresh effect of the human ear sound conversion, and it will return to the Lilization process and bit allocation § & for calculation. In the quantitative order and bit allocation, a new conversion curve is taken again to increase the number of simulated bits to reduce the amount of error. If the amount of error is in the mask effect of the acoustic simulation of the human ear, the Huff f-coded result is compiled into an MP3 standard format into an mp3 file. The format of the general MP3 slot case is shown in Figure 2, and the slot head (out of the coffee), side information (Sideinformation), and the main information (also she) are arranged in order. The slot header and ancillary information store the parameters needed for decompression, and the main data store the data of the,,,,,,,,,,,,,,,,,,,,,,,,,,,,, and up, and the bit allocation and Huffman coding. In addition to the monaural or binaural information, the auxiliary information also stores which pair should be selected as her _quasi, jumping bit representation method (es⑽).

Claims (1)

玫、申請專利範圍: 1· 一種數位音樂安全編碼的方法,用來將一原始之音樂資料進行 安全編碼,所謂的安全編碼,是指以一種他人不易猜出的編排 方法,重新編排原始資料,該數位音樂安全編碼的方法至少包 括: 等分數頻帶,將該原始之音樂資料等分成數頻帶的資料; MDCT (Modified Discrete Cosine Transform)轉換,將各頻 帶的訊號轉成頻域訊號,其中該頻域訊號具有正負號及絕對數 值; 正負號重新進行安全編碼,將MDCT轉換後訊號的正負值 進行安全編碼; 里化耘序及位元分配,將MDCT轉換後之絕對數值進行編 碼,藉以縮減人耳聽不到或較不敏感的頻帶的資料; 無失真壓縮,對量化程序及位元分配後之資料做無失真的 壓縮;及 MP3檔案格式的編寫。 2·如申請專利範圍第i項所述之數位音樂安全編碼的方法,更包 括-人耳聲學模擬,用以提供-讓量化程序及位元分配來判斷 人耳聽到聲音的遮罩。 3·如申請專利範圍第i項所述之數位音樂安全編瑪的方法,其 該等分數頻帶,將該原始之音樂資料等分成32頻帶的資;、中 4. 如申請專利細第丨項所述之數位音樂安全㈣的方法,= 該無失真壓縮是以一赫夫曼編碼達成。 /、 5. 如申請專纖㈣丨項所述之音樂安全編觸方法,发中 该安全編碼為一區塊安全編碼。 6. 如申請專機圍第1獅述之數位音樂安全編碼的方法,其中 該安全編碼為一串流安全編碼。 7· -種數位音樂安全編碼的方法,时將—原始之音樂資料進行 安全編碼,所謂的安全編碼,是指以一種他人不易猜出的編排 方法,重新編排原始資料,該數位音樂安全編碼的方法至小勹 括: 等分數頻帶,將該原始之音樂資料等分成數頻帶的資料· MDCT (Modified Discrete Cosine Transf〇rm)轉換將各頻 帶的訊號轉成頻域訊號; 量化程序及位元分配,將MDCT轉換後之資料進行編碼, 藉以縮減人耳聽不到或較不敏感的頻帶的資料; 無失真壓縮,對量化程序及位元分配後之資料做無失真的 壓縮; 對無失真壓縮後的資料進行安全編碼;及 Mp3檔案格式的編寫。 8.如申請專利翻第7項所述之數位音樂安全㈣的方法,更包 括—人耳聲學模擬,用以提供一讓量化程序及位元分配來判斷 人耳聽到聲音的遮罩。 9·如申請專利範圍第7項所述之數位音樂安全編碼的方法,其中 該等分數頻帶,將該原始之音樂資料等分成32頻帶的資料。 10·如申請專利範圍第7項所述之數位音樂安全編碼的方法,其中 該無失真壓縮是以一赫夫曼編碼達成。 U·如申請專利範圍第7項所述之數位音樂安全編碼的方法,其中 該安全編碼為一區塊安全編碼。 12.如申請專利範圍第7項所述之數位音樂安全編碼的方法,其中 該安全編碼為一串流安全編碼。 3·種數位音樂安全編碼的方法’用來將一原始之音樂資料進行 安全編碼,所謂的安全編碼,是指以一種他人不易猜出的編排 方法,重新編排原始資料,該數位音樂安全編碼的方法至少包 括: 等分數頻帶,將該原始之音樂資料等分成數頻帶的資料; MDCT (Modified Discrete Cosine Transform)轉換,將各頻 帶的訊號轉成頻域訊號; 量化程序及位元分配,將MDCT轉換後之資料進行編碼, 藉以縮減人耳聽不到或較不敏感的頻帶的資料; 無失真壓縮,對量化程序及位元分配後之資料做無失真的 壓縮; MP3檔案格式的編寫;及 對MP3檔案格式安全編碼。 14·如申請專利範圍第13項所述之數位音樂安全編碼的方法,其中 该MP3檔案格式至少具有一檔頭(Header)、一附屬資訊(&如 information),及一主要資料(Maindata)。 b·如申請專利範圍第14項所述之數位音樂安全編碼的方法,其中 對MP3檔案格式安全編碼,是對該廳檔案格式中之附屬資 訊安全編碼。 16·如申請專利範圍帛13項所述之數位音樂安全編碼的方法,更包 括-人耳聲學模擬,用以提供一讓量化程序及位元分配來判斷 人耳聽到聲音的遮罩。 η.如申請專利範圍第η項所述之數位音樂安全編碼的方法,其中 該等分數頻帶,將該原始之音樂資料等分成32頻帶的資料。 I8·如申請細_ u賴述之數位音樂安全編躺方=中 該無失真壓縮是以一赫夫曼編碼達成。 19. 如申請專利範圍第13項所述之數位音樂安全編碼的方法,其中 該安全編碼為一區塊安全編碼。 20. 如申請專利範圍第13項所述之數位音樂安全編碼的方法,其中 該安全編碼為一串流安全編碼。The scope of patent application: 1. A digital music security coding method used to securely encode an original music data. The so-called security coding refers to the reorganization of the original data in an arrangement method that is difficult for others to guess. The digital music secure coding method includes at least: equal fractional frequency bands, and equally dividing the original music data into digital frequency band data; MDCT (Modified Discrete Cosine Transform) conversion, converting signals of each frequency band into frequency domain signals, where the frequency The domain signal has a positive and negative sign and an absolute value; the positive and negative signs are re-encoded to securely encode the positive and negative values of the signal after MDCT conversion; the internal sequence and bit allocation are used to encode the absolute value of the MDCT conversion to reduce people Inaudible or less sensitive frequency band data; distortion-free compression, distortion-free compression of quantization procedures and bit allocation data; and compilation of MP3 file formats. 2. The digital music security coding method described in item i of the patent application scope, further includes-human ear acoustic simulation, which is used to provide-a mask for judging the sound heard by the human ear by quantization procedures and bit allocation. 3. The method for digitally compiling digital music as described in item i of the scope of patent application, the fractional frequency bands of which divide the original music data into 32 frequency bands; The digital music security method described above = the distortionless compression is achieved by a Huffman encoding. / 、 5. According to the method for music security editing described in the application for special fiber, the security code is issued as a block security code. 6. If you apply for the digital music security coding method described in the first lion, the security coding is a stream security coding. 7 ·-a method of digital music security coding, the original music data is securely coded. The so-called security coding refers to the reorganization of the original data in an arrangement method that is not easy for others to guess. Method to small include: Equal fractional frequency band, equally divide the original music data into digital frequency band data · MDCT (Modified Discrete Cosine Transfom) conversion converts the signals of each frequency band into frequency domain signals; quantization procedures and bit allocation , Encode the data after MDCT conversion, so as to reduce the data of the frequency band which is inaudible or less sensitive to human ears; distortion-free compression, distortion-free compression of the quantization process and bit allocation data; distortion-free compression After the information is securely encoded; and the preparation of Mp3 file format. 8. The method of digital music safety according to item 7 of the patent application, further including-human ear acoustic simulation, which is used to provide a mask for judging the sound heard by the human ear by a quantization program and bit allocation. 9. The method for securely encoding digital music as described in item 7 of the scope of patent application, wherein the fractional frequency bands are equally divided into 32-band data. 10. The method for securely encoding digital music as described in item 7 of the scope of patent application, wherein the distortionless compression is achieved by a Huffman encoding. U. The method of digital music security coding as described in item 7 of the scope of patent application, wherein the security coding is a block security coding. 12. The method of digital music security encoding according to item 7 of the scope of patent application, wherein the security encoding is a stream security encoding. 3. A method of digitally encoding music securely. It is used to securely encode an original piece of music data. The so-called secure encoding refers to rearranging the original data in an arrangement method that is difficult for others to guess. The digital music is encoded securely. The method includes at least: equal fractional frequency bands, equally dividing the original music data into digital frequency bands; MDCT (Modified Discrete Cosine Transform) conversion, converting signals of each frequency band into frequency domain signals; quantization procedures and bit allocation, and MDCT The converted data is encoded to reduce the data in frequency bands that are inaudible or less sensitive to human ears; distortion-free compression, distortion-free compression of quantization procedures and bit allocation data; compilation of MP3 file formats; and Safe encoding of MP3 file format. 14. The digital music secure encoding method as described in item 13 of the scope of the patent application, wherein the MP3 file format has at least a header, a subsidiary information (such as information), and a main data . b. The digital music secure encoding method as described in item 14 of the scope of patent application, wherein the MP3 file format secure encoding is a subsidiary information secure encoding in the file format of the Office. 16. The digital music security coding method described in item 13 of the scope of patent application, including human ear acoustic simulation, to provide a mask for judging the sound heard by the human ear by a quantization program and bit allocation. η. A method for securely encoding digital music as described in item η of the patent application range, wherein the fractional frequency bands are equally divided into 32-band data. I8 · If the application is detailed, the digital music safe editing method is as follows: The distortion-free compression is achieved by a Huffman encoding. 19. The method of digital music security coding as described in item 13 of the scope of patent application, wherein the security coding is a block security coding. 20. The digital music security encoding method as described in item 13 of the patent application scope, wherein the security encoding is a stream security encoding.
TW92133583A 2003-11-28 2003-11-28 A method of safety-encoding a music file TWI244828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW92133583A TWI244828B (en) 2003-11-28 2003-11-28 A method of safety-encoding a music file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW92133583A TWI244828B (en) 2003-11-28 2003-11-28 A method of safety-encoding a music file

Publications (2)

Publication Number Publication Date
TW200518479A TW200518479A (en) 2005-06-01
TWI244828B true TWI244828B (en) 2005-12-01

Family

ID=37154909

Family Applications (1)

Application Number Title Priority Date Filing Date
TW92133583A TWI244828B (en) 2003-11-28 2003-11-28 A method of safety-encoding a music file

Country Status (1)

Country Link
TW (1) TWI244828B (en)

Also Published As

Publication number Publication date
TW200518479A (en) 2005-06-01

Similar Documents

Publication Publication Date Title
US6446037B1 (en) Scalable coding method for high quality audio
KR100571824B1 (en) Method for encoding/decoding of embedding the ancillary data in MPEG-4 BSAC audio bitstream and apparatus using thereof
JP5048680B2 (en) Audio signal encoding and decoding method, audio signal encoding and decoding apparatus
TW301829B (en)
JP4925671B2 (en) Digital signal encoding / decoding method and apparatus, and recording medium
JP2005531024A (en) How to generate a hash from compressed multimedia content
TW200406096A (en) Improved low bit-rate audio coding systems and methods that use expanding quantizers with arithmetic coding
KR101750732B1 (en) Hybrid encoding of multichannel audio
JPH09204197A (en) Perceptual noise shaping in time area by lps prediction in frequency area
TW486886B (en) Encoding device and method, recording medium and decoding device and method
KR100462611B1 (en) Audio coding method with harmonic extraction and apparatus thereof.
JP2009516402A (en) Encoding / decoding method and apparatus
JP2004199075A (en) Stereo audio encoding/decoding method and device capable of bit rate adjustment
EP1259956A1 (en) Method of and apparatus for converting an audio signal between data compression formats
JPH09106299A (en) Coding and decoding methods in acoustic signal conversion
JP2003006999A (en) Data record medium, data recording method and apparatus, and data transmitting method and apparatus
JP2003007000A (en) Data recording method and apparatus, data reproducing method and apparatus, data edition method and apparatus
TWI244828B (en) A method of safety-encoding a music file
US20080133250A1 (en) Method and Related Device for Improving the Processing of MP3 Decoding and Encoding
WO1999044291A1 (en) Coding device and coding method, decoding device and decoding method, program recording medium, and data recording medium
KR20000056661A (en) A method for backward decoding an audio data
JP4409733B2 (en) Encoding apparatus, encoding method, and recording medium therefor
JP2000330592A (en) Method and device for adding data in compressed sound stream
JP2004157202A (en) Recording device for digitized data of analog sound source, digital data reproducing device and recording/reproducing device for digitized data of analog sound source
Arensman MP3 Audio Compression

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees