kopia lustrzana https://github.com/sh123/codec2_talkie
rodzic
49f8060635
commit
4e10b023dc
|
@ -2,12 +2,14 @@
|
||||||
![APK](https://img.shields.io/endpoint?url=https://apt.izzysoft.de/fdroid/api/v1/shield/com.radio.codec2talkie)
|
![APK](https://img.shields.io/endpoint?url=https://apt.izzysoft.de/fdroid/api/v1/shield/com.radio.codec2talkie)
|
||||||
|
|
||||||
# Introduction
|
# Introduction
|
||||||
**Turn your Android phone into real Amateur Radio HF/VHF/UHF APRS enabled Codec2 DV (digital voice) and/or FreeDV handheld transceiver.**
|
**Turn your Android phone into real Amateur Radio HF/VHF/UHF APRS enabled Codec2/OPUS DV (digital voice) and/or FreeDV handheld transceiver.**
|
||||||
|
|
||||||
**Requires additional hardware (e.g. AFSK/LoRa), software (e.g. Direwolf) radio modem or analog transceiver with USB audio + VOX/USB CAT PTT control, such as MCHF or ICOM**
|
**Requires additional hardware (e.g. AFSK/LoRa), software (e.g. Direwolf) radio modem or analog transceiver with USB audio + VOX/USB CAT PTT control, such as MCHF or ICOM**
|
||||||
|
|
||||||
For more information about FreeDV and Codec2 visit https://github.com/drowe67/codec2
|
For more information about FreeDV and Codec2 visit https://github.com/drowe67/codec2
|
||||||
|
|
||||||
|
For more information about OPUS codec visit https://opus-codec.org/
|
||||||
|
|
||||||
For detailed information about project [Wiki](https://github.com/sh123/codec2_talkie/wiki)
|
For detailed information about project [Wiki](https://github.com/sh123/codec2_talkie/wiki)
|
||||||
|
|
||||||
![alt text](images/diagram.png)
|
![alt text](images/diagram.png)
|
||||||
|
@ -19,8 +21,8 @@ For detailed information about project [Wiki](https://github.com/sh123/codec2_ta
|
||||||
What you can do with this app:
|
What you can do with this app:
|
||||||
- Voice communication:
|
- Voice communication:
|
||||||
- Send and receive Codec2 voice over FreeDV modes
|
- Send and receive Codec2 voice over FreeDV modes
|
||||||
- Send and receive Codec2 voice over KISS
|
- Send and receive Codec2/OPUS voice over KISS
|
||||||
- Send and receive Codec2 voice encapsulated into APRS UI frames
|
- Send and receive Codec2/OPUS voice encapsulated into APRS UI frames
|
||||||
- Data communication
|
- Data communication
|
||||||
- Use APRS over FSK 300 (HF, TX only), AFSK1200 (VHF), FreeDV OFDM (HF) or APRS-IS (Internet)
|
- Use APRS over FSK 300 (HF, TX only), AFSK1200 (VHF), FreeDV OFDM (HF) or APRS-IS (Internet)
|
||||||
- Send and receive APRS position reports
|
- Send and receive APRS position reports
|
||||||
|
@ -50,6 +52,7 @@ What you can do with this app:
|
||||||
- Source code is integrated into this project for easier building and customization:
|
- Source code is integrated into this project for easier building and customization:
|
||||||
- Codec2 codec: https://github.com/drowe67/codec2
|
- Codec2 codec: https://github.com/drowe67/codec2
|
||||||
- Android Codec2 wrapper code: https://github.com/UstadMobile/Codec2-Android
|
- Android Codec2 wrapper code: https://github.com/UstadMobile/Codec2-Android
|
||||||
|
- OPUS codec: https://opus-codec.org
|
||||||
- Fetched with gradle as dependency:
|
- Fetched with gradle as dependency:
|
||||||
- Android USB serial: https://github.com/mik3y/usb-serial-for-android
|
- Android USB serial: https://github.com/mik3y/usb-serial-for-android
|
||||||
|
|
||||||
|
|
|
@ -127,7 +127,7 @@ public class AudioOpus implements Protocol {
|
||||||
}
|
}
|
||||||
short [] decodedSamples = new short[decodedSamplesCnt];
|
short [] decodedSamples = new short[decodedSamplesCnt];
|
||||||
if (decodedSamplesCnt > 0) {
|
if (decodedSamplesCnt > 0) {
|
||||||
System.arraycopy(_playbackAudioBuffer, 0, decodedSamples, 0, decodedSamplesCnt)
|
System.arraycopy(_playbackAudioBuffer, 0, decodedSamples, 0, decodedSamplesCnt);
|
||||||
} else {
|
} else {
|
||||||
Log.e(TAG, "Decode error: " + decodedSamplesCnt);
|
Log.e(TAG, "Decode error: " + decodedSamplesCnt);
|
||||||
_parentProtocolCallback.onProtocolRxError();
|
_parentProtocolCallback.onProtocolRxError();
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<string name="opus_category_title">OPUS Settings</string>
|
<string name="opus_category_title">OPUS Settings</string>
|
||||||
<string name="opus_frame_size_title">PCM frame duration [ms]</string>
|
<string name="opus_frame_size_title">PCM frame duration [ms]</string>
|
||||||
<string name="opus_bit_rate_title">Bit rate</string>
|
<string name="opus_bit_rate_title">Bit rate</string>
|
||||||
<string name="opus_bit_rate_summary">Bit rate from 500 up to 512000bps</string>
|
<string name="opus_bit_rate_summary">Bit rate from 2400 up to 512000bps, set larger frame duration below for smaller bit rates</string>
|
||||||
<string name="opus_complexity_title">Complexity</string>
|
<string name="opus_complexity_title">Complexity</string>
|
||||||
|
|
||||||
<string name="main_status_loopback_test">Loopback</string>
|
<string name="main_status_loopback_test">Loopback</string>
|
||||||
|
|
Ładowanie…
Reference in New Issue