CN101625867B - Method and device for realizing audio broadcasting performance - Google Patents
Method and device for realizing audio broadcasting performance Download PDFInfo
- Publication number
- CN101625867B CN101625867B CN2009100902902A CN200910090290A CN101625867B CN 101625867 B CN101625867 B CN 101625867B CN 2009100902902 A CN2009100902902 A CN 2009100902902A CN 200910090290 A CN200910090290 A CN 200910090290A CN 101625867 B CN101625867 B CN 101625867B
- Authority
- CN
- China
- Prior art keywords
- sound
- window
- mrow
- msub
- characteristic value
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000013507 mapping Methods 0.000 claims abstract description 22
- 238000009877 rendering Methods 0.000 claims description 12
- 230000000007 visual effect Effects 0.000 abstract description 5
- 230000000694 effects Effects 0.000 abstract description 3
- 238000005728 strengthening Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 230000033764 rhythmic process Effects 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a method and a device for realizing audio broadcasting performance. In the scheme, a broadcasting window is displayed according to set mapping relationship between sound characteristics and window performance characteristics and the window performance characteristics which correspond to the sound characteristics of a currently broadcast audio file. According to the scheme provided by the invention, the characteristics of the currently broadcast audio file are expressed in real time by dynamically adjusting the window performance characteristics of the broadcasting window, thereby breaking through a traditional, stiff and single performance way, providing novel and impressive performance effect and dynamic experience for users, bringing better visual feeling to the users in the broadcasting process of the audio file, greatly improving the broadcasting experience of the audio file and strengthening the broadcasting experience of the users on the audio file.
Description
Technical Field
The present invention relates to computer technologies, and in particular, to a method and an apparatus for implementing audio playback performance.
Background
Unlike video media files that contain sound and image information, audio files lack visual appearance at the beginning of creation, resulting in audio files that appear monotonous and tedious to play. In order to improve the user experience during the playing of the audio file, many existing media players artificially provide a graphical representation form for the playing of the audio file, and perform audio visualization processing, that is, the rhythm, volume and rhythm during the playing of the audio file are visually represented through an oscillograph, a volume fluctuation graph, a sound wave graph and the like.
Through the audio visualization processing, although the user can listen to the wonderful music of the audio file and can also visually feel the music, the current expression forms are displayed in a fixed window and are relatively dull and lack of impact.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a method and an apparatus for implementing audio playing performance, which bring better visual experience to users in the process of playing audio files and greatly improve the playing experience of audio files.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method of implementing an audio playback presentation, the method comprising: displaying a playing window according to the window expression characteristic corresponding to the sound characteristic of the currently played audio file according to the set mapping relation between the sound characteristic and the window expression characteristic;
the mapping relation between the sound characteristics and the window expression characteristics is as follows: adjusting the transparency of the playing window along with the size of the sound characteristic value; or, the shade of the tone of the playing window is adjusted along with the size of the sound characteristic value; or, the size of the playing window is adjusted along with the size of the sound characteristic value; or a combination of any of the above.
The displaying the playing window according to the window expression characteristic corresponding to the sound characteristic of the currently played audio file comprises the following steps: acquiring the sound characteristics of the currently played audio file; and displaying the playing window according to the window expression characteristic corresponding to the sound characteristic.
The acquiring of the sound characteristics of the currently played audio file specifically includes:
analyzing the container format of the currently played audio file, extracting a compressed audio code stream according to the container format, and forming the compressed audio code stream in the current time period into a compressed audio sample;
decoding the compressed audio code stream of the compressed audio sample to restore the compressed audio code stream into original audio data of an original audio sample;
and calculating sound characteristic values of the original audio samples.
The sound feature value is a maximum value, or a minimum value, or an average value, or a median value of original audio data of the original audio sample.
The adjusting of the transparency of the playing window along with the size of the sound characteristic value specifically includes: the larger the sound characteristic value, the higher the transparency of the playback window, and the smaller the sound characteristic value, the lower the transparency of the playback window, i.e.Wherein bAlpha is the transparency of the playing window, gamma is the bit number of the currently played audio file, and TSampleIs a sound characteristic value;
the adjusting of the shade of the color tone of the playing window along with the size of the sound characteristic value specifically comprises: the larger the sound characteristic value, the darker the tone of the playback window, the smaller the sound characteristic value, the lighter the tone of the playback window, i.e.Wherein, lPixel is the tone of one pixel in the playing window, γ is the bit number of the currently played audio file, and TSampleIs a sound characteristic value;
the adjusting of the size of the playing window along with the size of the sound characteristic value specifically includes: the larger the sound characteristic value is, the larger the playing window is, the smaller the sound characteristic value is, the smaller the playing window is, that is <math><mrow>
<msub>
<mi>W</mi>
<mi>cur</mi>
</msub>
<mo>=</mo>
<msub>
<mi>W</mi>
<mi>max</mi>
</msub>
<mo>-</mo>
<mfrac>
<mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
<mo>-</mo>
<msub>
<mi>T</mi>
<mi>Sample</mi>
</msub>
</mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
</mfrac>
<mo>×</mo>
<mrow>
<mo>(</mo>
<msub>
<mi>W</mi>
<mi>max</mi>
</msub>
<mo>-</mo>
<msub>
<mi>W</mi>
<mi>min</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>,</mo>
</mrow></math> And <math><mrow>
<msub>
<mi>H</mi>
<mi>cur</mi>
</msub>
<mo>=</mo>
<msub>
<mi>H</mi>
<mi>max</mi>
</msub>
<mo>-</mo>
<mfrac>
<mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
<mo>-</mo>
<msub>
<mi>T</mi>
<mi>Sample</mi>
</msub>
</mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
</mfrac>
<mo>×</mo>
<mrow>
<mo>(</mo>
<msub>
<mi>H</mi>
<mi>max</mi>
</msub>
<mo>-</mo>
<msub>
<mi>H</mi>
<mi>min</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>,</mo>
</mrow></math> wherein, gamma is the bit number of the audio file currently played, TSampleIs a sound feature value, WcurWidth of the playback window, WmaxFor maximum width of the playback window, WminTo the minimum width of the playback window, HcurFor the height of the playback window, HmaxTo the maximum height of the playback window, HminIs the minimum height of the playing window.
The W ismaxAnd HmaxDetermined by the maximum resolution of the display screen used by the user.
An apparatus for implementing an audio playback presentation, comprising:
the sound acquisition unit is used for acquiring the sound characteristics of the currently played audio file;
the playing expression unit is used for displaying a playing window according to the window expression characteristic corresponding to the sound characteristic according to the set mapping relation between the sound characteristic and the window expression characteristic;
the mapping relation between the sound characteristics and the window expression characteristics is as follows: adjusting the transparency of the playing window along with the size of the sound characteristic value; or, the shade of the tone of the playing window is adjusted along with the size of the sound characteristic value; or, the size of the playing window is adjusted along with the size of the sound characteristic value; or a combination of any of the above.
The sound acquisition unit is a sound grabber filter, the playing presentation unit is a control logic unit, and the device further comprises: a source filter, an audio decoding filter, and a sound rendering filter, wherein,
the source filter is used for analyzing the container format of the currently played audio file, extracting a compressed audio code stream according to the container format and combining the compressed audio code stream in the current time period into a compressed audio sample;
the audio decoding filter is used for decoding the compressed audio code stream of the compressed audio sample from the source filter, restoring the compressed audio code stream into original audio data of an original audio sample and providing the original audio data to the sound grabber filter;
the sound grabber filter is specifically configured to: calculating the sound characteristic value of the currently received original audio sample, providing the sound characteristic value to the control logic unit, and sending the original audio sample to a sound rendering filter;
the control logic unit is specifically used for displaying a playing window according to the window expression characteristic corresponding to the sound characteristic value according to the set mapping relation between the sound characteristic value and the window expression characteristic;
the sound rendering filter is used for presenting the original audio data in a specified time range.
According to the scheme provided by the invention, the characteristics of the currently played audio file are expressed in real time by dynamically adjusting the window expression characteristics of the playing window, the traditional rigid and single expression mode is broken through, a novel and shocking expression effect is provided for a user, dynamic experience is provided for the user, better visual experience is brought to the user in the playing process of the audio file, the playing experience of the audio file is greatly improved, and the playing experience of the user on the audio file is enhanced.
Drawings
FIG. 1 is a schematic structural diagram of an apparatus for implementing audio playback presentation according to the present invention;
FIG. 2 is a schematic structural diagram of a media player for implementing audio playing presentation based on the DirectShow architecture according to the present invention;
FIG. 3 is a schematic flow chart of implementing audio playback presentation based on the DirectShow architecture in the present invention.
Detailed Description
According to the mapping relation between the set sound characteristics and the window expression characteristics, the playing window is displayed according to the window expression characteristics corresponding to the sound characteristics of the currently played audio file. The sound characteristic may be a volume, a tempo, etc. of the audio file.
Fig. 1 is a schematic structural diagram of an apparatus for implementing audio playback presentation according to the present invention, as shown in fig. 1, the apparatus includes: the device comprises a sound acquisition unit and a playing presentation unit, wherein the sound acquisition unit is used for acquiring the sound characteristics of the currently played audio file and providing the sound characteristics to the playing presentation unit; the playing representation unit is used for displaying the playing window according to the window representation characteristics corresponding to the received sound characteristics according to the set mapping relation between the sound characteristics and the window representation characteristics.
In the present invention, the audio characteristics of the played audio file are dynamically represented by changing the window representation characteristics of the playing window, so as to give a visual experience to the user.
When an audio file is played, a typical rendering structure of a media player based on the DirectShow architecture mainly includes three filters, which are: in the implementation of the present invention, A Sound Grabber Filter (ASGF) is added between the Audio decoding Filter and the sound rendering Filter, as shown in fig. 2, the apparatus further includes a control logic unit, wherein,
the source filter is used for analyzing the container format of the currently played audio file, extracting a compressed audio code stream according to the container format, forming the compressed audio code stream in the current time period (usually tens of milliseconds) into a compressed audio Sample (Sample), and sending the compressed audio Sample to the audio decoding filter as a basic data unit;
the audio decoding filter is used for decoding the received compressed audio code stream of the compressed audio sample, restoring the compressed audio code stream into original audio data of an original audio sample, and sending the original audio sample to the sound grabber filter as a basic data unit;
the sound grabber filter is used for calculating a sound characteristic value of a currently received original audio sample, sending the sound characteristic value to the control logic unit and sending the original audio sample to the sound rendering filter;
the control logic unit is used for displaying the playing window according to the window expression characteristic corresponding to the received sound characteristic value according to the set mapping relation between the sound characteristic value and the window expression characteristic, for example, adjusting the transparency, the color brightness, the size and the like of the playing window;
the sound rendering filter is used for presenting the received original sound data in a specified time range.
The mapping relationship between the sound feature value and the window expression feature, which may be set by the user according to the preference of the user, may be set and stored in the control logic unit.
Fig. 3 is a schematic flow chart of implementing audio playing presentation based on the DirectShow architecture in the present invention, and as shown in fig. 3, the specific processing of implementing audio playing presentation based on the DirectShow architecture includes:
step 301: the source filter analyzes the container format of the currently played audio file, extracts the compressed audio code stream according to the container format, combines the compressed audio code stream in the current time period into a compressed audio sample, and sends the compressed audio sample to the audio decoding filter as a basic data unit. The time length of the time period is set, and is usually several tens of milliseconds.
Step 302: the audio decoding filter decodes the received compressed audio code stream of the compressed audio sample, restores the decoded compressed audio code stream into original audio data of an original audio sample, and sends the original audio sample to the sound grabber filter as a basic data unit.
Step 303: the sound grabber filter calculates the sound characteristic values of the currently received original audio sample and sends them to the control logic unit, and also sends the original audio sample to the sound rendering filter, and continues with step 304 and step 305.
The calculation of the sound feature value may be based on any statistically significant method, for example, taking the maximum value, the minimum value, the average value, or the median of the original audio data of the currently received original audio sample as the sound feature value of the corresponding original audio sample. The following gives only one example of calculating sound feature values of an original audio sample to illustrate the implementation of the present invention in more detail.
The original audio Sample currently received is Sample ═ { x ═ x1,x2,...,xNIn which x1、x2......xNN original sound data in a time period in the original audio samples are obtained; characteristic value of sound <math><mrow>
<msub>
<mi>T</mi>
<mi>Sample</mi>
</msub>
<mo>=</mo>
<mfrac>
<mn>1</mn>
<mi>N</mi>
</mfrac>
<munderover>
<mi>Σ</mi>
<mrow>
<mi>i</mi>
<mo>=</mo>
<mn>1</mn>
</mrow>
<mi>N</mi>
</munderover>
<msub>
<mi>x</mi>
<mi>i</mi>
</msub>
<mo>,</mo>
</mrow></math> That is, the average value of the original audio data of the currently received original audio sample is used as the sound characteristic value of the corresponding original audio sample.
Step 304: and the control logic unit displays the playing window according to the window expression characteristic corresponding to the received sound characteristic value according to the set mapping relation between the sound characteristic value and the window expression characteristic.
The specific implementation of step 304, that is, the specific implementation of dynamically adjusting the window performance characteristic of the playing window according to the sound characteristic value, may have many implementation manners, and the following description will exemplarily take the window performance characteristic as transparency, or hue, or size, respectively.
Example one: and dynamically adjusting the transparency of the playing window along with the sound characteristic value.
For example, the set mapping relationship between the sound feature value and the window expression feature is: the larger the sound characteristic value is, the higher the transparency of the playing window is; the smaller the sound characteristic value is, the lower the transparency of the playing window is, and the mapping relationship may be specifically <math><mrow>
<mi>bAlpha</mi>
<mo>=</mo>
<mfrac>
<mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
<mo>-</mo>
<msub>
<mi>T</mi>
<mi>Sample</mi>
</msub>
</mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
</mfrac>
<mo>×</mo>
<mn>255</mn>
<mo>,</mo>
</mrow></math> Wherein bAlpha is the transparency of the playing window; gamma is the bit number of the currently played audio file, and the typical value is 8, 16, 24 or 32; t isSampleIs a sound feature value. At this time, the variation range of the transparency of the playing window is 0-255, wherein 0 is completely transparent, and 255 is opaque. The number of bits of the audio file refers to the number of bits required to represent audio data of one sampling point.
In the application based on the Windows platform, the control logic unit may adjust the transparency of the playing window through an Application Program Interface (API) function setlayerdwindowattributes, and a specific usage of the control logic unit may be referred to as a specific implementation of window transparency adjustment in msdn (microsoft Developer network). Of course, the control logic unit may also implement the adjustment of the transparency of the playing window by other existing manners, which are not described one by one herein.
Example two: and dynamically adjusting the tone of the playing window along with the sound characteristic value.
For example, the set mapping relationship between the sound feature value and the window expression feature is: the larger the sound characteristic value is, the darker the tone of the playing window is; the smaller the sound characteristic value is, the lighter the tone of the playing window is, and the mapping relation can be specifically <math><mrow>
<mi>lPixel</mi>
<mo>=</mo>
<mrow>
<mo>(</mo>
<mn>1</mn>
<mo>-</mo>
<mfrac>
<mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
<mo>-</mo>
<msub>
<mi>T</mi>
<mi>Sample</mi>
</msub>
</mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
</mfrac>
<mo></mo>
<mo>)</mo>
</mrow>
<mo>×</mo>
<mn>255</mn>
<mo>,</mo>
</mrow></math> Wherein, the lPixel is the tone of one pixel of the Bitmap (BMP) corresponding to the playing window; gamma is the bit number of the currently played audio file, and the typical value is 8, 16, 24 or 32; t isSampleIs a sound feature value. At this time, the variation range of the color tone of the playing window is 0-255, wherein 0 is no color and 255 is the deepest color.
The control logic unit may adjust the color tone of the playing window by any existing implementation manner, for example, determine the current color tone of the playing window, then generate a picture of the playing window corresponding to the color tone, and use the picture to cover the previously displayed playing window, which is not described one by one herein.
Example three: and dynamically adjusting the size of the playing window along with the sound characteristic value.
For example, the set mapping relationship between the sound feature value and the window expression feature is: the larger the sound characteristic value is, the larger the playing window is, namely the larger the size of the playing window is; the smaller the sound characteristic value is, the smaller the playing window is, that is, the smaller the size of the playing window is, and the mapping relationship may specifically be:
In the application based on the Windows platform, the control logic unit may adjust the size of the playing window through an API function SetWindowPos, MoveWindow, or the like, and a specific usage thereof may refer to a specific implementation of window size adjustment in MSDN. Of course, the control logic unit may also implement the adjustment of the size of the playing window by other existing manners, which are not described one by one herein.
In order to enhance the expression effect, the method can also be realized in combination of multiple implementation modes, for example, the larger the sound characteristic value is, the higher the transparency of the playing window is and the larger the size is; the smaller the sound feature value, the lower the transparency and the smaller the size of the playback window.
Step 306: if the audio file is played, ending the current process; if the played audio file exists, the steps 301 to 305 are repeatedly executed.
The execution sequence of the steps described above is only for one sample, and the processing for different samples can be processed in parallel.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (8)
1. A method for implementing an audio playback presentation, the method comprising:
displaying a playing window according to the window expression characteristic corresponding to the sound characteristic of the currently played audio file according to the set mapping relation between the sound characteristic and the window expression characteristic;
the mapping relation between the sound characteristics and the window expression characteristics is as follows:
adjusting the transparency of the playing window along with the size of the sound characteristic value; or,
adjusting the shade of the color tone of the playing window along with the size of the sound characteristic value; or,
adjusting the size of a playing window along with the size of the sound characteristic value; or,
combinations of any of the above.
2. The method of claim 1, wherein displaying the playback window according to the window performance characteristics corresponding to the sound characteristics of the currently played audio file comprises:
acquiring the sound characteristics of the currently played audio file;
and displaying the playing window according to the window expression characteristic corresponding to the sound characteristic.
3. The method according to claim 2, wherein the obtaining the sound characteristics of the currently played audio file specifically comprises:
analyzing the container format of the currently played audio file, extracting a compressed audio code stream according to the container format, and forming the compressed audio code stream in the current time period into a compressed audio sample;
decoding the compressed audio code stream of the compressed audio sample to restore the compressed audio code stream into original audio data of an original audio sample;
and calculating sound characteristic values of the original audio samples.
4. The method of claim 3, wherein the sound feature value is a maximum value, or a minimum value, or an average value, or a median value of original audio data of the original audio sample.
5. The method according to any one of claims 1 to 4,
the adjusting of the transparency of the playing window along with the size of the sound characteristic value specifically includes: the larger the sound characteristic value is, the higher the transparency of the playing window is, the smaller the sound characteristic value is, the playing isThe lower the transparency of the window, i.e.Wherein bAlpha is the transparency of the playing window, gamma is the bit number of the currently played audio file, and TSampleIs a sound characteristic value;
the adjusting of the shade of the color tone of the playing window along with the size of the sound characteristic value specifically comprises: the larger the sound characteristic value, the darker the tone of the playback window, the smaller the sound characteristic value, the lighter the tone of the playback window, i.e.Wherein, lPixel is the tone of one pixel in the playing window, γ is the bit number of the currently played audio file, and TSampleIs a sound characteristic value;
the adjusting of the size of the playing window along with the size of the sound characteristic value specifically includes: the larger the sound characteristic value is, the larger the playing window is, the smaller the sound characteristic value is, the smaller the playing window is, that is <math>
<mrow>
<msub>
<mi>W</mi>
<mi>cur</mi>
</msub>
<mo>=</mo>
<msub>
<mi>W</mi>
<mi>max</mi>
</msub>
<mo>-</mo>
<mfrac>
<mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
<mo>-</mo>
<msub>
<mi>T</mi>
<mi>Sample</mi>
</msub>
</mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
</mfrac>
<mo>×</mo>
<mrow>
<mo>(</mo>
<msub>
<mi>W</mi>
<mi>max</mi>
</msub>
<mo>-</mo>
<msub>
<mi>W</mi>
<mi>min</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>,</mo>
</mrow>
</math> And <math>
<mrow>
<msub>
<mi>H</mi>
<mi>cur</mi>
</msub>
<mo>=</mo>
<msub>
<mi>H</mi>
<mi>max</mi>
</msub>
<mo>-</mo>
<mfrac>
<mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
<mo>-</mo>
<msub>
<mi>T</mi>
<mi>Sample</mi>
</msub>
</mrow>
<mrow>
<mo>(</mo>
<msup>
<mn>2</mn>
<mi>γ</mi>
</msup>
<mo>-</mo>
<mn>1</mn>
<mo>)</mo>
</mrow>
</mfrac>
<mo>×</mo>
<mrow>
<mo>(</mo>
<msub>
<mi>H</mi>
<mi>max</mi>
</msub>
<mo>-</mo>
<msub>
<mi>H</mi>
<mi>min</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>,</mo>
</mrow>
</math> wherein, gamma is the bit number of the audio file currently played, TSampleIs a sound feature value, WcurFor the width of the playback window, WmaxFor maximum width of the playback window, WminTo the minimum width of the playback window, HcurFor the height of the playback window, HmaxTo the maximum height of the playback window, HminIs the minimum height of the playing window.
6. The method of claim 5, wherein W ismaxAnd HmaxDetermined by the maximum resolution of the display screen used by the user.
7. An apparatus for implementing an audio playback presentation, comprising:
the sound acquisition unit is used for acquiring the sound characteristics of the currently played audio file;
the playing expression unit is used for displaying a playing window according to the window expression characteristic corresponding to the sound characteristic according to the set mapping relation between the sound characteristic and the window expression characteristic;
the mapping relation between the sound characteristics and the window expression characteristics is as follows:
adjusting the transparency of the playing window along with the size of the sound characteristic value; or,
adjusting the shade of the color tone of the playing window along with the size of the sound characteristic value; or,
adjusting the size of a playing window along with the size of the sound characteristic value; or,
combinations of any of the above.
8. The apparatus of claim 7, wherein the sound capture unit is a sound grabber filter and the playback presentation unit is a control logic unit, the apparatus further comprising: a source filter, an audio decoding filter, and a sound rendering filter, wherein,
the source filter is used for analyzing the container format of the currently played audio file, extracting a compressed audio code stream according to the container format and combining the compressed audio code stream in the current time period into a compressed audio sample;
the audio decoding filter is used for decoding the compressed audio code stream of the compressed audio sample from the source filter, restoring the compressed audio code stream into original audio data of an original audio sample and providing the original audio data to the sound grabber filter;
the sound grabber filter is specifically configured to: calculating the sound characteristic value of the currently received original audio sample, providing the sound characteristic value to the control logic unit, and sending the original audio sample to a sound rendering filter;
the control logic unit is specifically used for displaying a playing window according to the window expression characteristic corresponding to the sound characteristic value according to the set mapping relation between the sound characteristic value and the window expression characteristic;
the sound rendering filter is used for presenting the original audio data in a specified time range.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100902902A CN101625867B (en) | 2009-08-04 | 2009-08-04 | Method and device for realizing audio broadcasting performance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100902902A CN101625867B (en) | 2009-08-04 | 2009-08-04 | Method and device for realizing audio broadcasting performance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101625867A CN101625867A (en) | 2010-01-13 |
CN101625867B true CN101625867B (en) | 2011-12-28 |
Family
ID=41521683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100902902A Active CN101625867B (en) | 2009-08-04 | 2009-08-04 | Method and device for realizing audio broadcasting performance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101625867B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106935254B (en) * | 2017-02-16 | 2019-10-11 | 珠海格力电器股份有限公司 | Display control method and system of progress bar of media player and media player |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183524A (en) * | 2007-11-08 | 2008-05-21 | 腾讯科技(深圳)有限公司 | Lyric characters display process and system |
CN101272464A (en) * | 2003-06-02 | 2008-09-24 | 迪斯尼实业公司 | System and method of programmatic window control for consumer video players |
CN101382452A (en) * | 2007-09-05 | 2009-03-11 | 乐金电子(昆山)电脑有限公司 | Sonic wave amplitude display device and method |
-
2009
- 2009-08-04 CN CN2009100902902A patent/CN101625867B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101272464A (en) * | 2003-06-02 | 2008-09-24 | 迪斯尼实业公司 | System and method of programmatic window control for consumer video players |
CN101382452A (en) * | 2007-09-05 | 2009-03-11 | 乐金电子(昆山)电脑有限公司 | Sonic wave amplitude display device and method |
CN101183524A (en) * | 2007-11-08 | 2008-05-21 | 腾讯科技(深圳)有限公司 | Lyric characters display process and system |
Also Published As
Publication number | Publication date |
---|---|
CN101625867A (en) | 2010-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4902000B2 (en) | Content reproduction apparatus, television receiver, content reproduction method, content reproduction program, and recording medium | |
CN109379628B (en) | Video processing method and device, electronic equipment and computer readable medium | |
CN106502402B (en) | A kind of Three-Dimensional Dynamic Scene Teaching method | |
US7732694B2 (en) | Portable music player with synchronized transmissive visual overlays | |
CN109525901A (en) | Method for processing video frequency, device, electronic equipment and computer-readable medium | |
CN113192152B (en) | Audio-based image generation method, electronic device and storage medium | |
CN109194999A (en) | It is a kind of to realize sound and image method, apparatus, equipment and medium with position | |
CN101707666A (en) | Adjusting method and device with high dynamic range | |
CN105632263A (en) | Augmented reality-based music enlightenment learning device and method | |
CN102111601A (en) | Content Adaptable Multimedia Processing System and Processing Method | |
EP2259223A3 (en) | Character displaying method for adding visual effect to a character when the character is input and mobile station therefor | |
CN104574453A (en) | Software for expressing music with images | |
US10186246B2 (en) | Musical piece reproducing system, data outputting apparatus, and musical piece reproducing method | |
CN114157920B (en) | Method and device for playing sign language, intelligent television and storage medium | |
KR20210008788A (en) | Electronic apparatus and controlling method thereof | |
CN101625867B (en) | Method and device for realizing audio broadcasting performance | |
CN108182097A (en) | The implementation method and device of a kind of volume bar | |
CN105763923A (en) | Video and video template editing methods and device thereof | |
US12112731B2 (en) | Method and apparatus for generating music file, and electronic device and storage medium | |
JP2006133521A (en) | Language training machine | |
Fröjd et al. | Sound texture synthesis using an overlap–add/granular synthesis approach | |
CN115225962B (en) | Video generation method, system, terminal equipment and medium | |
CN110324702A (en) | Information-pushing method and device in video display process | |
Hussain | MULTIMEDIA COMPUTING | |
KR100344776B1 (en) | Real-time music visualization method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20100113 Assignee: Ocean interactive (Beijing) Information Technology Co., Ltd. Assignor: Tencent Technology (Shenzhen) Co., Ltd. Contract record no.: 2016990000422 Denomination of invention: Method and device for realizing audio broadcasting performance Granted publication date: 20111228 License type: Common License Record date: 20161009 |
|
LICC | Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model |