-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The -h option can be used to generate inverted output for use in Houston Tracker 2. Updated binaries for Linux & Windows to v0.8
- Loading branch information
1 parent
774d96f
commit 0f8f0eb
Showing
7 changed files
with
46 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pcm2pwm 0.7 - a utility for 1-bit audio weirdos // code by: [email protected] | ||
pcm2pwm 0.8 - a utility for 1-bit audio weirdos // code by: [email protected] | ||
=========================================== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
pcm2pwm is a simply utility for converting 8-bit PCM wave audio into a differential | ||
|
@@ -29,6 +29,10 @@ This would trigger the high and low states slightly earlier and might be useful | |
wav file isn't very loud. Moving these two values too close or too far from your average | ||
amplitude will ruin timbre of the resulting output sound. Experiment to see what works best. | ||
|
||
You may also add the -h option before the input file to toggle an inverted output format | ||
suitable for Houston Tracker 2. | ||
|
||
$ pcm2pwm -h input.wav <...> | ||
|
||
Preparing your input audio | ||
-------------------------- | ||
|
@@ -73,4 +77,5 @@ Version History | |
|
||
0.2 - Basic functionality | ||
0.5 - Added the ability to set high and low crossover values. | ||
0.7 - pcm2pwm now checks the input file's header to ensure compatibility. | ||
0.7 - pcm2pwm now checks the input file's header to ensure compatibility. | ||
0.8 - Added the -h option for outputting in a Houston Tracker 2 format. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# pcm2pwm 0.7 - a utility for 1-bit audio weirdos // code by: [email protected] | ||
# pcm2pwm 0.8 - a utility for 1-bit audio weirdos // code by: [email protected] | ||
pcm2pwm is a simply utility for converting 8-bit PCM wave audio into a differential | ||
PWM byte stream. It's output is intended for use with any 1-bit audio devices which | ||
require a relatively high degree of compression. | ||
|
@@ -26,6 +26,10 @@ This would trigger the high and low states slightly earlier and might be useful | |
wav file isn't very loud. Moving these two values too close or too far from your average | ||
amplitude will ruin timbre of the resulting output sound. Experiment to see what works best. | ||
|
||
You may also add the `-h` option before the input file to toggle an inverted output format suitable for [Houston Tracker 2](https://github.com/utz82/HoustonTracker2). | ||
|
||
`$ pcm2pwm -h input.wav <...>` | ||
|
||
##Preparing your input audio | ||
With the addition - in version 0.5 - of custom high and low crossovers, a wider range of | ||
audio can be run through the pcm2pwm tool. However, the following advice may still return | ||
|
@@ -65,3 +69,4 @@ Pretty simple, eh! | |
* 0.2 - Basic functionality | ||
* 0.5 - Added the ability to set high and low crossover values. | ||
* 0.7 - pcm2pwm now checks the input file's header to ensure compatibility. | ||
* 0.8 - Added the -h option for outputting in a Houston Tracker 2 format. |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
int convert (FILE *fp, int length, int highValue, int lowValue); | ||
int convert (FILE *fp, int length, int highValue, int lowValue, int format); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters