blob: 27366ac965d480abfb0958986d1b480a563a0923 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# atracdenc - ATRAC Decoder Encoder
It is free LGPL implementation of ATRAC1, ATRAC3 encoders.
Building:
You need:
* C++14 compiler.
* cmake >= 3.1
* libsndfiles
In case of git clone command GHA submodule should be fetched:
```
git submodule update --init --recursive
```
binary:
```
cd src
mkdir build
cd build
cmake ../
make
```
Binary and tests (for development):
Make sure google test library is installed
debian:
```
apt-get install libgtest-dev cmake-extras
```
Now we can build
```
cd test
cmake ../
make
```
Usage:
ATRAC1:
```
./atracdenc -e atrac1 -i ~/01.wav -o /tmp/01.aea
```
ATRAC3:
```
./atracdenc -e atrac3 -i ~/01.wav -o /tmp/01.oma
```
More information on the [atracdenc man page](https://code.mastervirt.ru/atracdenc/about/man/atracdenc.1)
Limitations:
- Bit allocation based on the tonality of the signal (see http://www.minidisc.org/aes_atrac.html)
- Only 44100 16bit wav input file
|