<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[ChipMusic.org - pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
		<link>https://chipmusic.org/forums/topic/11827/pcm2pwm-1bit-audio-tool-linuxmacwindows/</link>
		<description><![CDATA[The most recent posts in pcm2pwm -> 1-bit audio tool! (linux/mac/windows).]]></description>
		<lastBuildDate>Sun, 01 Mar 2020 21:10:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/263280/#p263280</link>
			<description><![CDATA[<b><i>jefftheworld says:</i></b><p>pcm2pwm v1.0 is finally here!</p><p>The most important changes are binary output mode and the move to POSIX-style options/arguments that&#039;ll make it more versatile and easier to use. Also included is a DASM-style output that appends a \t to each .byte directive.</p><p>Grab it now!<br /><a href="https://github.com/JeffAlyanak/pcm2pwm/tree/v1.0" target="_blank">https://github.com/JeffAlyanak/pcm2pwm/tree/v1.0</a></p>]]></description>
			<pubDate>Sun, 01 Mar 2020 21:10:36 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/263280/#p263280</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/262671/#p262671</link>
			<description><![CDATA[<b><i>irrlichtproject says:</i></b><p>Seems reasonable to me. A PWM file will be at most 1/8th the size of a corresponding 8-bit WAV file, and usually much less.</p>]]></description>
			<pubDate>Sun, 17 Nov 2019 16:55:56 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/262671/#p262671</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/262670/#p262670</link>
			<description><![CDATA[<b><i>James Burkart says:</i></b><p>I have downloaded v0.8.1 and I&#039;m using Windows 10 Pro v1903</p><p>Though I&#039;m using an audio track ripped from a CD, it&#039;s basically a sound bite from Pulp Fiction which you can see the exact ~14-second clip on this YouTube video starting at 1:49, <a href="https://youtu.be/PvMxbRCBalk?t=109" target="_blank">https://youtu.be/PvMxbRCBalk?t=109</a></p><p>I took the audio into Adobe Audition and compressed it so all the peaks are nearly clipped. I then saved the file as a mono 96kHz 8bit WAV. I ran it through your tool and I got a file with 768 8-bit values. I haven&#039;t written the code yet to play back the file, so before I try to make it work I wanted to ask if this sounded correct. I was expecting many times that number. I tried it again but using Audacity, and saved it as a mono 44.1kHz 8-bit unsigned WAV. Your tool produced a file now with only 681 bytes.</p>]]></description>
			<pubDate>Sat, 16 Nov 2019 10:40:59 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/262670/#p262670</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/262095/#p262095</link>
			<description><![CDATA[<b><i>jefftheworld says:</i></b><p>pcm2pwm v0.8.1 fixes a bug that was affecting the quality of the output.</p><p>Grab it now and see for yourself how much better the results are!</p><p><a href="https://github.com/JeffAlyanak/pcm2pwm/tree/v0.8.1" target="_blank">https://github.com/JeffAlyanak/pcm2pwm/tree/v0.8.1</a></p>]]></description>
			<pubDate>Thu, 06 Jun 2019 15:39:00 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/262095/#p262095</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/262036/#p262036</link>
			<description><![CDATA[<b><i>jefftheworld says:</i></b><p>Version 0.8 is out! A few years ago I added support for outputting in Houston Tracker 2&#039;s inverted format for my own use but I never got around to releasing that feature.</p><p>Well, that&#039;s the only new feature in pcm2pwm v0.8! Enjoy!</p><p><a href="https://github.com/JeffAlyanak/pcm2pwm/tree/v0.8" target="_blank">https://github.com/JeffAlyanak/pcm2pwm/tree/v0.8</a></p>]]></description>
			<pubDate>Fri, 17 May 2019 22:48:55 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/262036/#p262036</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/237553/#p237553</link>
			<description><![CDATA[<b><i>garvalf says:</i></b><p>I&#039;ve only tried one file, but since I can only get 8bit files from audacity, I thought I used some wrong options.</p><p>Here is the file: <a href="http://dl.free.fr/nYTPVW2el" target="_blank">http://dl.free.fr/nYTPVW2el</a></p><p>I&#039;ve compiled the latest code from github and I&#039;m using linux (mint)</p>]]></description>
			<pubDate>Mon, 14 Dec 2015 20:26:20 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/237553/#p237553</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/237332/#p237332</link>
			<description><![CDATA[<b><i>jefftheworld says:</i></b><div class="quotebox"><cite>garvalf wrote:</cite><blockquote><p>I&#039;m trying this, but it acts rather strangely:</p><p>./pcm2pwm piano8bit.wav </p><p>all I get is:<br />.byte $00,$FF,$FF</p><p>My file should be legit I guess:<br />piano8bit.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 44100 Hz</p><p>it&#039;s 45 kb big</p><p>(I exported as 8bit unsigned in audacity)</p></blockquote></div><p>Is it only that file that is having trouble? What version of the tool are you running and on what OS? If it&#039;s just the one file can you email me the file in question?</p>]]></description>
			<pubDate>Wed, 09 Dec 2015 22:43:39 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/237332/#p237332</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/237327/#p237327</link>
			<description><![CDATA[<b><i>garvalf says:</i></b><p>I&#039;m trying this, but it acts rather strangely:</p><p>./pcm2pwm piano8bit.wav </p><p>all I get is:<br />.byte $00,$FF,$FF</p><p>My file should be legit I guess:<br />piano8bit.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 44100 Hz</p><p>it&#039;s 45 kb big</p><p>(I exported as 8bit unsigned in audacity)</p>]]></description>
			<pubDate>Wed, 09 Dec 2015 20:22:23 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/237327/#p237327</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/237021/#p237021</link>
			<description><![CDATA[<b><i>jefftheworld says:</i></b><p>Bump.</p><p><a href="https://github.com/JeffAlyanak/pcm2pwm" target="_blank">https://github.com/JeffAlyanak/pcm2pwm</a></p><p>Just made a few small changes to the pcm2pwm tool and I&#039;ve also thrown the source up for anyone who wants to muck about with it. The only really visible change is the ability to set your own high and low crossover values, making it unnecessary to amplify your input wav file to near clipping. That said, you&#039;ll still want to sound to be relatively heavily compressed and setting these crossovers might be a hit or miss process in terms of getting a decent representation of the original sound&#039;s timbre.</p>]]></description>
			<pubDate>Wed, 02 Dec 2015 20:57:20 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/237021/#p237021</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/227468/#p227468</link>
			<description><![CDATA[<b><i>jefftheworld says:</i></b><div class="quotebox"><cite>irrlichtproject wrote:</cite><blockquote><p>simple ZX Spectrum replayer: <a href="http://irrlichtproject.de/downloads/pwm2zx.tar.gz" target="_blank">http://irrlichtproject.de/downloads/pwm2zx.tar.gz</a><br />feel free to add it to your package. btw what does the long word at the beginning of the sample data mean?</p></blockquote></div><p>That had to do with jitter compensation in the demo that this was to be used in. It&#039;s pretty much useless for anyone else although it won&#039;t really do any harm if &quot;played back&quot; unless timing is very, very critical (it&#039;ll just be a delay of 255 x routine speed).</p>]]></description>
			<pubDate>Fri, 20 Mar 2015 01:46:09 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/227468/#p227468</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/179483/#p179483</link>
			<description><![CDATA[<b><i>irrlichtproject says:</i></b><p>simple ZX Spectrum replayer: <a href="http://irrlichtproject.de/downloads/pwm2zx.tar.gz" target="_blank">http://irrlichtproject.de/downloads/pwm2zx.tar.gz</a><br />feel free to add it to your package. btw what does the long word at the beginning of the sample data mean?</p>]]></description>
			<pubDate>Sun, 04 Aug 2013 13:34:56 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/179483/#p179483</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/179369/#p179369</link>
			<description><![CDATA[<b><i>jefftheworld says:</i></b><p>I&#039;m a a Linux developer so if I do any updates the Linux tool will probably always been the best tested.</p>]]></description>
			<pubDate>Sat, 03 Aug 2013 16:26:19 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/179369/#p179369</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/179363/#p179363</link>
			<description><![CDATA[<b><i>irrlichtproject says:</i></b><p>nice, this will come in handy sometimes <img src="https://chipmusic.org/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /> also thumbs up for linux version!</p>]]></description>
			<pubDate>Sat, 03 Aug 2013 16:03:16 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/179363/#p179363</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/179315/#p179315</link>
			<description><![CDATA[<b><i>sandneil says:</i></b><p>cool tool - im sure some people will find it handy</p>]]></description>
			<pubDate>Sat, 03 Aug 2013 00:32:47 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/179315/#p179315</guid>
		</item>
		<item>
			<title><![CDATA[Re: pcm2pwm -> 1-bit audio tool! (linux/mac/windows)]]></title>
			<link>https://chipmusic.org/forums/post/179314/#p179314</link>
			<description><![CDATA[<b><i>sandneil says:</i></b><p>just in case you want to go the other way </p><div class="spoilerbox" id="spoiler9294158"><h3 onclick="$('#spoilerbox9294158').css('display','block');$('#spoiler9294158').css('display','none')">&#8250; Show Spoiler</h3></div><div class="spoilerbox" id="spoilerbox9294158" style="display:none"><h3 onclick="$('#spoilerbox9294158').css('display','none');$('#spoiler9294158').css('display','block')">&#8249; Hide Spoiler</h3><div class="codebox"><pre><code>#!/usr/bin/perl

use warnings; use strict;

my $instr = &quot;&quot;;
$instr = $instr . $_ while (&lt;&gt;);

my $state = 0;
foreach my $byte ($instr =~ /\$(..)/g) {
    for (my $i = 0; $i &lt; hex(&quot;0x&quot; . $byte); $i++) {
        print pack(&quot;C&quot;, $state * 255);
    }
    $state = 1 - $state;
}</code></pre></div></div><p>(i just wanted to see what the results would sound like &amp; im lazy)</p>]]></description>
			<pubDate>Sat, 03 Aug 2013 00:32:15 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/179314/#p179314</guid>
		</item>
	</channel>
</rss>
