Giter VIP home page Giter VIP logo

opencore-amr-android's People

Contributors

0xchampion avatar kevinho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opencore-amr-android's Issues

关于SIGSEGV(SEGV_ACCERR)

执行完毕调用AmrEncoder.exit(),时候报的错误,发生的原因暂不清楚,stack上面有说我尝试访问无权访问的地址

关于dtx

AmrEncoder 初始化的时候应该传什么值? 我想设定dtx的话 。

解码时加载so库报错

Trying to load lib /data/app-lib/。。。/libamr-codec.so 0x42c52660
Added shared lib /data/app-lib/。。。/libamr-codec.so 0x42c52660
No JNI_OnLoad found in /data/app-lib/。。。/libamr-codec.so 0x42c52660, skipping init
还是可以播放,不过是杂音,请问下这个是什么原因?

编码后声音是原来的2呗

我用录制的PCM数据,然后从新编码amr,播放是成功的正常的
我用我的wav去掉头应该就是pcm数据了,编码amr声音是原来的2倍,被拉长了

Any example for ArmFileEncoder?

I could see there is a sample for ArmFileDecoder. Would be great if there is a sample for ArmFileEncoder as well so that it would be easy to use. Thanks in advance.

This is a sample bug. Reported by Instabug.

Instabug Issue Number: 3

Instabug Issue URL: https://instabug.com/applications/instabug-ios/issues/3

Instabug Issue Type: bug

Instabug Issue Status: New

Email: [email protected]

Comment:

This is a sample bug. Reported by Instabug.

Location: San Francisco, USA

Device: iPhone 4 / iOS 7.0

Memory: Used: 3084.42 MB, Free: 1000.87 MB

Storage: Used: 25.15 GB, Free: 5.32 GB

Connectivity: Carrier: Verizon, WiFi: Home WiFi

Battery: 80 , Unplugged

App Version: 1.3 (1.3)

Duration: 00:00:08

User Data: You can attach extra data items with each bug reported.

 userid = 721899; 
 username = jack.edward;

Console Log:

This is your app log at the time of reporting the bug. 

 2014-03-25 16:19:00.111 AppDemo[69166:60b] ViewLoaded 
 2014-03-25 16:19:00.113 AppDemo[69166:60b] Request completed 
 2014-03-25 16:19:00.123 AppDemo[69166:60b] User isnt logged in 
 2014-03-25 16:19:00.213 AppDemo[69166:60b] Login view

Instabug Log:


User Steps:

These are the steps that the user did before sending the bug, all the user touches and interactions are recorded here. 

 2014-03-25 16:19:00.010 - Application: DidBecomeActive 
 2014-03-25 16:19:00.213 - Top View: LoginViewController 
 2014-03-25 16:19:40.817 - Touch: _usernameTextField (UITextField) in LoginViewController 
 2014-03-25 16:19:42.128 - Touch: (UIKeyboardLayoutStar) in LoginViewController 
 2014-03-25 16:19:48.828 - Touch: _passwordTextField (UITextField) in LoginViewController 
 2014-03-25 16:19:49.023 - Touch: (UIKeyboardLayoutStar) in LoginViewController 
 2014-03-25 16:19:50.011 - Touch: _loginButton (UIButton) in LoginViewController 
 2014-03-25 16:19:50.111 - Top View: HomeViewController 
 2014-03-25 16:20:19.322 - Touch: _friendsListButton (UIButton) in HomeViewController 
 2014-03-25 16:20:20.725 - Top View: FriendsListViewController 
 2014-03-25 16:21:10.510 - Shake in: FriendsListViewController

Screenshot

Other architectures support

Hi,

as I can see, your library support only 'armeabi' and 'armeabi-v7a' architecture. Is it possible to add other architectures like 'x86', 'x86_64', 'mips', 'mips64' and 'arm64_v8a' to support all android devices? Otherwise I cannot really use this library.

Thanks.

Does not compile NDK r10e

Error is

C:\Users\Admin\Desktop\opencore-amr-android-master\opencore-amr-android-master\Codec\amr\src\main>ndk-build
make.exe: *** No rule to make target `jni/opencore/../jni/opencore/../amr_encoder.cpp', needed by `obj/local/arm64-v8a/objs/amr-codec/jni/opencore/__/amr_encoder.o'.  Stop.

Is AMR WB supported?

I need to support higher sample rate (16000) and in AMR NB(Narrow Band)the maximum sample rate is 8000. Would like to know whether is project is only for AMR NB or it has AMR WB(Wide Band) capability also?

支持amr raw转pcm或者二进制数据么?

你好,我最近在做安卓的语音识别功能。但是为了兼容ios,我这里只能用amr raw格式的。但是百度的语音识别接口要求用pcm格式的语音文件,或者amr wb格式的语音文件。请问下我要怎样将amr raw格式的转换成pcm或者wav格式呢?谢谢!

I need the original .so file

I have the ios .a lib, and I also need the Android .so lib. but the auther' lib is not generate by the original file. He add some code. and if i use it , i need change the code that used by common(ios and android). so i need a lib*.so generated by original file;

不明原因Crash

大佬,请教一下这个是什么问题呢
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
backtrace:
#00 pc 00009044 /data/app/com.cwt.tap-1/lib/arm/libamr-codec.so (cl_ltp+59)
#1 pc 00004dff /data/app/com.cwt.tap-1/lib/arm/libamr-codec.so (cod_amr+1014)
#2 pc 00004751 /data/app/com.cwt.tap-1/lib/arm/libamr-codec.so (GSMEncodeFrame+76)
#3 pc 00003ee9 /data/app/com.cwt.tap-1/lib/arm/libamr-codec.so (AMREncode+80)
#4 pc 00003e2b /data/app/com.cwt.tap-1/lib/arm/libamr-codec.so (Encoder_Interface_Encode+32)
#5 pc 00003cad /data/app/com.cwt.tap-1/lib/arm/libamr-codec.so (Java_io_kvh_media_amr_AmrEncoder_encode+116)
#6 pc 011483b9 /data/app/com.cwt.tap-1/oat/arm/base.odex (offset 0x1081000)

This is a sample bug. Reported by Instabug.

Instabug Issue Number: 3

Instabug Issue URL: https://instabug.com/applications/instabug-ios/issues/3

Instabug Issue Type: bug

Instabug Issue Status: New

Email: [email protected]

Comment:

This is a sample bug. Reported by Instabug.

Location: San Francisco, USA

Device: iPhone 4 / iOS 7.0

Memory: Used: 3084.42 MB, Free: 1000.87 MB

Storage: Used: 25.15 GB, Free: 5.32 GB

Connectivity: Carrier: Verizon, WiFi: Home WiFi

Battery: 80 , Unplugged

App Version: 1.3 (1.3)

Duration: 00:00:08

User Data: You can attach extra data items with each bug reported.

 userid = 721899; 
 username = jack.edward;

Console Log:

This is your app log at the time of reporting the bug. 

 2014-03-25 16:19:00.111 AppDemo[69166:60b] ViewLoaded 
 2014-03-25 16:19:00.113 AppDemo[69166:60b] Request completed 
 2014-03-25 16:19:00.123 AppDemo[69166:60b] User isnt logged in 
 2014-03-25 16:19:00.213 AppDemo[69166:60b] Login view

Instabug Log:


User Steps:

These are the steps that the user did before sending the bug, all the user touches and interactions are recorded here. 

 2014-03-25 16:19:00.010 - Application: DidBecomeActive 
 2014-03-25 16:19:00.213 - Top View: LoginViewController 
 2014-03-25 16:19:40.817 - Touch: _usernameTextField (UITextField) in LoginViewController 
 2014-03-25 16:19:42.128 - Touch: (UIKeyboardLayoutStar) in LoginViewController 
 2014-03-25 16:19:48.828 - Touch: _passwordTextField (UITextField) in LoginViewController 
 2014-03-25 16:19:49.023 - Touch: (UIKeyboardLayoutStar) in LoginViewController 
 2014-03-25 16:19:50.011 - Touch: _loginButton (UIButton) in LoginViewController 
 2014-03-25 16:19:50.111 - Top View: HomeViewController 
 2014-03-25 16:20:19.322 - Touch: _friendsListButton (UIButton) in HomeViewController 
 2014-03-25 16:20:20.725 - Top View: FriendsListViewController 
 2014-03-25 16:21:10.510 - Shake in: FriendsListViewController

Screenshot

Decoder Cannot Process .amr 6 Byte Header

First of all, thank you very much for making this library. I really appreciate it.

The AmrDecoder requires the 6 byte .amr file header of "23 21 41 4D 52 0A" "#!amr." to be removed when decoding .amr files. Otherwise the decoded pcm, sounds something like alien morse code. When you remove it, the decoded pcm sounds fine. Not difficult to manually in a hex editor or skip in an android app but maybe it would be nice to tell people about.

(The demo.amr included in the repository has the header in it so I was a bit confused why the demo sounded like alien morse code.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.