Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arcj137442/twavstring
An audio-to-binary converter
https://github.com/arcj137442/twavstring
Last synced: about 6 hours ago
JSON representation
An audio-to-binary converter
- Host: GitHub
- URL: https://github.com/arcj137442/twavstring
- Owner: ARCJ137442
- Created: 2022-08-03T09:00:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-15T07:39:09.000Z (over 2 years ago)
- Last Synced: 2023-02-25T17:27:18.277Z (over 1 year ago)
- Language: Python
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.en.md
Awesome Lists containing this project
README
# TWavString
## What is `TWavString`?
* TWavString is an audio-to-binary converter.
## How to use `TWavString`?
### called from the command prompt
* You can run the command 'python TWavString. exe '
* Two arguments in the command: `-e` enables forced encoding and `-d` enables forced decoding### Drag the file OR directly open
* You can drag files to TWavString.exe
* You can directly open the executable file, enter the command line mode and enter the specified path to convert the file## What is the principle of `TWavString`?
* Technology basement: the lossless inclusion and access to written bytes data (rawData) in WAV
### Library implementation: PyDub
* Read implementation: raw_data property of the AudioSegment class
* Write implementation: data argument in the constructor of the AudioSegment class### Default audio technical parameters
* Frame rate: 44100 Hz
* Sample width: 2
* Channels: 2### Important technical obstacles
* "completion problem" caused by "byte units" in data (the length of the data can only be an integer multiple of the length of the data unit)
## Does `TWavString` have an open source license?
* `TWavString` is now used ***MIT License***(See LICENCE)