Movatterモバイル変換


[0]ホーム

URL:


CN102831896A - An Android system audio processing method and intelligent terminal - Google Patents

An Android system audio processing method and intelligent terminal
Download PDF

Info

Publication number
CN102831896A
CN102831896ACN201210278224XACN201210278224ACN102831896ACN 102831896 ACN102831896 ACN 102831896ACN 201210278224X ACN201210278224X ACN 201210278224XACN 201210278224 ACN201210278224 ACN 201210278224ACN 102831896 ACN102831896 ACN 102831896A
Authority
CN
China
Prior art keywords
audio data
sampling frequency
intelligent terminal
present
android system
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.)
Pending
Application number
CN201210278224XA
Other languages
Chinese (zh)
Inventor
邹丰
李应伟
蒋勇高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210278224XApriorityCriticalpatent/CN102831896A/en
Publication of CN102831896ApublicationCriticalpatent/CN102831896A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明适用于通信领域,提供了一种安卓系统的音频处理方法及智能终端,所述方法包括:获取音频数据,获取该音频数据的采样频率;将音频数据在该采样频率上播放。本发明提供的技术方案具有声音失真小的优点。

Figure 201210278224

The present invention is applicable to the field of communications and provides an audio processing method for an Android system and an intelligent terminal, the method comprising: obtaining audio data, obtaining a sampling frequency of the audio data; and playing the audio data at the sampling frequency. The technical solution provided by the present invention has the advantage of low sound distortion.

Figure 201210278224

Description

Translated fromChinese
一种安卓系统的音频处理方法及智能终端An Android system audio processing method and intelligent terminal

技术领域technical field

本发明属于通信领域,尤其涉及一种安卓系统的音频处理方法及智能终端。The invention belongs to the communication field, and in particular relates to an audio processing method of an Android system and an intelligent terminal.

背景技术Background technique

目前安卓(android)系统的设备在进行音频处理时,尤其是回放音乐时仅支持一种音频的采样率,因此android系统在回放音乐时,先将声音数据源送到android混音系统进行统一采样率处理,处理后的声音数据源输出给声卡,这个处理的过程会造成声音数据源的损失,最终被声卡还原的声音失真会变大,音质变差。At present, Android system devices only support one audio sampling rate when performing audio processing, especially when playing back music. Therefore, when playing back music, the Android system first sends the sound data source to the Android mixing system for unified sampling. Rate processing, the processed sound data source is output to the sound card, this processing process will cause the loss of the sound data source, and the final sound restored by the sound card will be distorted and the sound quality will deteriorate.

发明内容Contents of the invention

本发明实施例的目的在于提供一种安卓系统的音频处理方法,旨在解决现有的技术方法处理音频声音失真的问题。The purpose of the embodiments of the present invention is to provide an audio processing method for an Android system, which aims to solve the problem of audio sound distortion in the existing technical methods.

本发明实施例是这样实现的,一种安卓系统的音频处理方法,所述方法包括:The embodiment of the present invention is achieved in this way, an audio processing method for an Android system, the method comprising:

获取音频数据,获取该音频数据的采样频率;Obtain audio data, obtain the sampling frequency of the audio data;

将音频数据在该采样频率对应的固定频率上播放。Play the audio data at the fixed frequency corresponding to the sampling frequency.

可选的,所述获取音频数据,获取该音频数据的采样频率具体包括:Optionally, the acquisition of audio data, the sampling frequency of the acquisition of the audio data specifically includes:

当获取多个音频数据时,从多个音频数据中选取一个音频数据,并获取该音频数据的采样频率。When obtaining a plurality of audio data, one audio data is selected from the plurality of audio data, and the sampling frequency of the audio data is obtained.

另一方面,本发明还提供一种智能终端,所述智能终端具体包括:On the other hand, the present invention also provides an intelligent terminal, and the intelligent terminal specifically includes:

采样模块,用于获取音频数据,获取该音频数据的采样频率,并将该采样频率发送给播放模块,The sampling module is used to obtain audio data, obtain the sampling frequency of the audio data, and send the sampling frequency to the playback module,

播放模块,用于将音频数据在该采样频率对应的固定频率上回放。The playback module is used to play back the audio data at a fixed frequency corresponding to the sampling frequency.

可选的,所述采样模块具体用于,当获取多个音频数据时,从多个音频数据中选取一个音频数据,并获取该音频数据的采样频率。Optionally, the sampling module is specifically configured to, when acquiring multiple audio data, select one audio data from the multiple audio data, and acquire the sampling frequency of the audio data.

可选的,所述智能终端为:手机、智能电视或平板电脑。Optionally, the smart terminal is: a mobile phone, a smart TV or a tablet computer.

在本发明实施例中,本发明提供的技术方案由于不需要进行混音操作就可以直接播放,所以其无需进行重采样的操作,所以其会减少声音的失真,所以其具有减少声音失真的优点。In the embodiment of the present invention, the technical solution provided by the present invention can be played directly without performing a mixing operation, so it does not need to perform a resampling operation, so it will reduce the distortion of the sound, so it has the advantage of reducing the distortion of the sound .

附图说明Description of drawings

图1是本发明提供的一种安卓系统的音频处理方法的流程图;以及Fig. 1 is the flowchart of the audio processing method of a kind of Android system provided by the present invention; And

图2是本发明提供的一种智能终端的结构图。Fig. 2 is a structural diagram of an intelligent terminal provided by the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明提供一种安卓系统的音频处理方法,该方法由智能终端完成,该方法如图1所示,包括如下步骤:The present invention provides a kind of audio processing method of Android system, and this method is completed by intelligent terminal, and this method is as shown in Figure 1, comprises the following steps:

S11、获取音频数据,获取该音频数据的采样频率;S11. Obtain audio data, and obtain a sampling frequency of the audio data;

S12、将音频数据在该采样频率对应的固定频率上播放。S12. Play the audio data at a fixed frequency corresponding to the sampling frequency.

本发明提供的方法由于不需要进行混音操作就可以直接播放,所以其无需进行重采样的操作,所以其会减少声音的失真,所以其具有减少声音失真的优点。The method provided by the present invention can be played directly without performing a sound mixing operation, so it does not need to perform a resampling operation, so it can reduce the distortion of the sound, so it has the advantage of reducing the distortion of the sound.

可选的,上述方法实现S11的方法具体包括:Optionally, the method for implementing S11 in the above method specifically includes:

当获取多个音频数据时,从多个音频数据中选取一个音频数据,并获取该音频数据的采样频率。此种方式能够在出现多个音频数据时避免多个音频数据之间的互相干扰。When obtaining a plurality of audio data, one audio data is selected from the plurality of audio data, and the sampling frequency of the audio data is obtained. This way can avoid mutual interference between multiple audio data when multiple audio data appear.

本发明还提供一种智能终端,该智能终端的具体表现形式可以为多种,例如手机,平板电脑,当然也可以为其他的形式,例如智能电视等,该智能终端如图2所示,包括:The present invention also provides an intelligent terminal. The intelligent terminal can be in various forms, such as a mobile phone, a tablet computer, or in other forms, such as a smart TV. As shown in FIG. 2 , the intelligent terminal includes :

采样模块21,用于获取音频数据,获取该音频数据的采样频率,并将该采样频率发送给播放模块,Thesampling module 21 is used to obtain audio data, obtain the sampling frequency of the audio data, and send the sampling frequency to the playback module,

播放模块22,用于将音频数据在该采样频率对应的固定频率上播放。Theplaying module 22 is used to play the audio data at a fixed frequency corresponding to the sampling frequency.

本发明提供的智能终端由于不需要进行混音操作就可以直接播放,所以其无需进行重采样的操作,所以其会减少声音的失真,所以其具有减少声音失真的优点。Since the intelligent terminal provided by the present invention can directly play without performing a sound mixing operation, it does not need to perform a resampling operation, so it can reduce sound distortion, so it has the advantage of reducing sound distortion.

可选的,上述采样模块具体用于,当获取多个音频数据时,从多个音频数据中选取一个音频数据,并获取该音频数据的采样频率。Optionally, the sampling module is specifically configured to, when acquiring multiple audio data, select one audio data from the multiple audio data, and acquire the sampling frequency of the audio data.

值得注意的是,上述实施例中,所包括的各个单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that in the above embodiments, the units included are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are also It is only for the convenience of distinguishing each other, and is not intended to limit the protection scope of the present invention.

另外,本领域普通技术人员可以理解实现上述各实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,相应的程序可以存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘或光盘等。In addition, those of ordinary skill in the art can understand that all or part of the steps in the methods of the above-mentioned embodiments can be completed by instructing related hardware through programs, and the corresponding programs can be stored in a computer-readable storage medium. Storage media, such as ROM/RAM, magnetic disk or optical disk, etc.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (5)

Translated fromChinese
1.一种安卓系统的音频处理方法,其特征在于,所述方法包括:1. an audio processing method of Android system, is characterized in that, described method comprises:获取音频数据,获取该音频数据的采样频率;Obtain audio data, obtain the sampling frequency of the audio data;将音频数据在该采样频率对应的固定频率上播放。Play the audio data at the fixed frequency corresponding to the sampling frequency.2.根据权利要求1所述的方法,其特征在于,所述获取音频数据,获取该音频数据的采样频率具体包括:2. The method according to claim 1, wherein said obtaining audio data, obtaining the sampling frequency of the audio data specifically comprises:当获取多个音频数据时,从多个音频数据中选取一个音频数据,并获取该音频数据的采样频率。When obtaining a plurality of audio data, one audio data is selected from the plurality of audio data, and the sampling frequency of the audio data is obtained.3.一种智能终端,其特征在于,所述智能终端具体包括:3. An intelligent terminal, characterized in that, the intelligent terminal specifically comprises:采样模块,用于获取音频数据,获取该音频数据的采样频率,并将该采样频率发送给播放模块,The sampling module is used to obtain audio data, obtain the sampling frequency of the audio data, and send the sampling frequency to the playback module,播放模块,用于将音频数据在该采样频率对应的固定频率上回放。The playback module is used to play back the audio data at a fixed frequency corresponding to the sampling frequency.4.根据权利要求3所述的智能终端,其特征在于,所述采样模块具体用于,当获取多个音频数据时,从多个音频数据中选取一个音频数据,并获取该音频数据的采样频率。4. The intelligent terminal according to claim 3, wherein the sampling module is specifically configured to, when acquiring a plurality of audio data, select an audio data from the plurality of audio data, and acquire a sample of the audio data frequency.5.根据权利要求3或4任意所述的智能终端,其特征在于,所述智能终端为:手机、智能电视或平板电脑。5. The smart terminal according to claim 3 or 4, wherein the smart terminal is a mobile phone, a smart TV or a tablet computer.
CN201210278224XA2012-08-072012-08-07 An Android system audio processing method and intelligent terminalPendingCN102831896A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201210278224XACN102831896A (en)2012-08-072012-08-07 An Android system audio processing method and intelligent terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210278224XACN102831896A (en)2012-08-072012-08-07 An Android system audio processing method and intelligent terminal

Publications (1)

Publication NumberPublication Date
CN102831896Atrue CN102831896A (en)2012-12-19

Family

ID=47334995

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210278224XAPendingCN102831896A (en)2012-08-072012-08-07 An Android system audio processing method and intelligent terminal

Country Status (1)

CountryLink
CN (1)CN102831896A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103325402A (en)*2013-06-252013-09-25福州瑞芯微电子有限公司Audio playing method and device in android system
CN103714837A (en)*2013-12-182014-04-09福州瑞芯微电子有限公司Electronic device and method for playing audio files
CN103781014A (en)*2014-02-142014-05-07山东共达电声股份有限公司Method and system for obtaining stereophonic data from Android system
CN104484152A (en)*2014-12-312015-04-01珠海全志科技股份有限公司High sampling rate direct-connection audio output method and device based on Android
CN105847963A (en)*2016-03-312016-08-10乐视控股(北京)有限公司Television audio frequency debugging method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2004214827A (en)*2002-12-272004-07-29Sony CorpSampling rate conversion apparatus and method thereof, and audio apparatus
CN1963744A (en)*2006-12-132007-05-16北京中星微电子有限公司Self adapting method of sampling frequency of audio frequency interface
US20080037805A1 (en)*2006-04-172008-02-14Sony CorporationAudio output device and method for calculating parameters
CN101217039A (en)*2008-01-082008-07-09北京中星微电子有限公司A method, system and device for echo elimination
CN101247187A (en)*2008-03-272008-08-20炬力集成电路设计有限公司Audio data recovery method, device and multimedia data receiving system
CN101944364A (en)*2009-07-092011-01-12展讯通信(上海)有限公司Voice frequency processing method and voice frequency system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2004214827A (en)*2002-12-272004-07-29Sony CorpSampling rate conversion apparatus and method thereof, and audio apparatus
US20080037805A1 (en)*2006-04-172008-02-14Sony CorporationAudio output device and method for calculating parameters
CN1963744A (en)*2006-12-132007-05-16北京中星微电子有限公司Self adapting method of sampling frequency of audio frequency interface
CN101217039A (en)*2008-01-082008-07-09北京中星微电子有限公司A method, system and device for echo elimination
CN101247187A (en)*2008-03-272008-08-20炬力集成电路设计有限公司Audio data recovery method, device and multimedia data receiving system
CN101944364A (en)*2009-07-092011-01-12展讯通信(上海)有限公司Voice frequency processing method and voice frequency system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103325402A (en)*2013-06-252013-09-25福州瑞芯微电子有限公司Audio playing method and device in android system
CN103714837A (en)*2013-12-182014-04-09福州瑞芯微电子有限公司Electronic device and method for playing audio files
CN103781014A (en)*2014-02-142014-05-07山东共达电声股份有限公司Method and system for obtaining stereophonic data from Android system
CN103781014B (en)*2014-02-142016-08-17山东共达电声股份有限公司A kind of method and system obtaining true stereo data from Android system
CN104484152A (en)*2014-12-312015-04-01珠海全志科技股份有限公司High sampling rate direct-connection audio output method and device based on Android
CN104484152B (en)*2014-12-312017-07-28珠海全志科技股份有限公司High sampling rate based on Android leads directly to audio-frequency inputting method and equipment
CN105847963A (en)*2016-03-312016-08-10乐视控股(北京)有限公司Television audio frequency debugging method and device
WO2017166486A1 (en)*2016-03-312017-10-05乐视控股(北京)有限公司Audio debugging method and device for television
EP3249936A4 (en)*2016-03-312017-11-29LE Holdings (Beijing) Co., Ltd.Audio debugging method and device for television

Similar Documents

PublicationPublication DateTitle
CN107800708B (en)Vehicle-mounted machine account automatic login method and vehicle-mounted machine device
US8931062B2 (en)Remote displaying
CN105701122A (en)Log collection method, apparatus and system
CN102831896A (en) An Android system audio processing method and intelligent terminal
CN108495344B (en) A kind of network switching method, device and terminal
CN103873883B (en)Video playing method and device and terminal equipment
CN102610267B (en)Method for improving audio playing quality of playing system
CN111048093A (en)Conference sound box, conference recording method, device, system and computer storage medium
CN105187976B (en)Mobile terminal and method for amplifying sound based on Bluetooth sound
CN104837057A (en)Video file playing method, device and system
CN105188008B (en)A kind of method and device of testing audio output unit
CN103077733A (en)Audio frequency information recording method and recording device
US9230529B2 (en)Music reproducing apparatus
CN107393568A (en)Method, system and terminal equipment for recording multimedia file
CN102594982A (en)Portable equipment, system and method for realizing karaoke
CN103000211A (en)High-definition audio playing system capable of realizing multi-resource sharing
CN104320528A (en)Safe voice communication method
CN107864448B (en) A device for realizing dual-channel communication based on Bluetooth 2.0 or 3.0 and its communication method
CN206249297U (en)Support that the LineOut of various digital input interfaces exports audio switching device
CN111048108A (en)Audio processing method and device
CN103916798A (en)Automatic sound effect identifying system of headphone
WO2016107178A1 (en)Method and device for playing ring back tone
CN108737352A (en)The radio physical layer processing system and method for compatible multi-protocols and nonstandard protocol
CN105743938A (en)Software and hardware integrated binding method and system based on wifi chip
CN106464288A (en) A method for realizing intercom and smart bracelet

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20121219


[8]ページ先頭

©2009-2025 Movatter.jp