<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[The 1-Bit Forum — Dubstep generator]]></title>
	<link rel="self" href="https://randomflux.info/1bit/extern.php?action=feed&amp;tid=250&amp;type=atom" />
	<updated>2021-01-09T15:44:28Z</updated>
	<generator>PunBB</generator>
	<id>http://randomflux.info/1bit/viewtopic.php?id=250</id>
		<entry>
			<title type="html"><![CDATA[Re: Dubstep generator]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2273#p2273" />
			<content type="html"><![CDATA[<p>I&#039;ve been wondering for some time if there is a way of replacing the usual 16-bit frequency counters with an LFSR or something of that sort. Feels like such a waste to spend 4 registers on a simple counter every time.</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2021-01-09T15:44:28Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2273#p2273</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dubstep generator]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2269#p2269" />
			<content type="html"><![CDATA[<p>Great stuff!</p><p>As I understand, the amount of bits involved into an LFSR directly affects to the length of evolutions of the sound in time, while bits change density per second (like, how fast LFSR is counting) affects to the richness of the harmonic content. So here we have 6144*8 bits large LFSR, even though these bits may be used not the most efficient way. Overall it is just like a regular LFSR-based noise generator like in all old sound chips, but with tricky looped sub-periods (noise harmonics?) in it.</p>]]></content>
			<author>
				<name><![CDATA[Shiru]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=11</uri>
			</author>
			<updated>2021-01-08T16:48:02Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2269#p2269</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dubstep generator]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2268#p2268" />
			<content type="html"><![CDATA[<p>SherzhSoft s version is close to it<br />and can be shorter as well ??</p><p>;http://www.pouet.net/prod.php?which=87664<br />;digital opera in 22-2 bytes<br />;Serzhsoft, 2 bytes removed by cborn</p><p>start:<br />ad00&nbsp; &nbsp; &nbsp; di<br />ad01&nbsp; &nbsp; &nbsp; ld e,c&nbsp; &nbsp; &nbsp; &nbsp;; c from basic call = start adres<br />ad02&nbsp; &nbsp; &nbsp; ld hl,0x5800</p><p>ad05&nbsp; &nbsp; &nbsp; ld b,h<br />ad06&nbsp; &nbsp; &nbsp; ld a,(bc)<br />ad07&nbsp; &nbsp; &nbsp; ld e,a<br />ad08&nbsp; &nbsp; &nbsp; add a,e<br />ad09&nbsp; &nbsp; &nbsp; inc bc<br />ad0a&nbsp; &nbsp; &nbsp; dec hl<br />ad0b&nbsp; &nbsp; &nbsp; cpl<br />ad0c&nbsp; &nbsp; &nbsp; out (0xfe),a<br />ad0e&nbsp; &nbsp; &nbsp; sub (hl)<br />ad0f&nbsp; &nbsp; &nbsp; ld (hl),a<br />ad10&nbsp; &nbsp; &nbsp; cp (hl)<br />ad11&nbsp; &nbsp; &nbsp; jr z,ad05</p><p>ad13&nbsp; &nbsp; &nbsp; inc e&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; &#039;e&#039; will be overwritten and this &#039;inc&#039; can be removed, OR the loop has to be re-rwritten so it will be increased..... a puzzle!!<br />ad14&nbsp; &nbsp; &nbsp; jr ad02</p><br /><p>oops sudden rewrite?<br />in lower memory its funky!!</p><p>;http://www.pouet.net/prod.php?which=87664<br />;digital opera in 22 bytes<br />;Serzhsoft</p><p>start:<br />ad00&nbsp; &nbsp; &nbsp; di<br />ad01&nbsp; &nbsp; &nbsp; ld e,c&nbsp; &nbsp; &nbsp; &nbsp;; c from basic call = start adres<br />ad02&nbsp; &nbsp; &nbsp; ld hl,0x5800</p><p>ad05&nbsp; &nbsp; &nbsp; ld b,h<br />ad06&nbsp; &nbsp; &nbsp; ld a,(bc)</p><p>ad08&nbsp; &nbsp; &nbsp; add a,a<br />ad09&nbsp; &nbsp; &nbsp; inc bc<br />ad0a&nbsp; &nbsp; &nbsp; dec hl<br />ad0b&nbsp; &nbsp; &nbsp; cpl<br />ad0c&nbsp; &nbsp; &nbsp; out (0xfe),a<br />ad0e&nbsp; &nbsp; &nbsp; sub (hl)<br />ad0f&nbsp; &nbsp; &nbsp; ld (hl),a<br />ad10&nbsp; &nbsp; &nbsp; cp (hl)<br />ad11&nbsp; &nbsp; &nbsp; jr z,ad05<br />ad14&nbsp; &nbsp; &nbsp; jr ad02</p>]]></content>
			<author>
				<name><![CDATA[cborn]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=202</uri>
			</author>
			<updated>2021-01-08T16:40:12Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2268#p2268</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dubstep generator]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2266#p2266" />
			<content type="html"><![CDATA[<p>Ah, yes, Serzhsoft delivers, as usual. Thanks for reminding me about that one, I forgot to check that out when it was released!</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2021-01-07T23:42:11Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2266#p2266</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dubstep generator]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2265#p2265" />
			<content type="html"><![CDATA[<p>like this one?<br /><a href="http://www.pouet.net/prod.php?which=87664">http://www.pouet.net/prod.php?which=87664</a></p>]]></content>
			<author>
				<name><![CDATA[cborn]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=202</uri>
			</author>
			<updated>2021-01-07T21:46:18Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2265#p2265</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dubstep generator]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2264#p2264" />
			<content type="html"><![CDATA[<p>Sounds surprisingly nice for being so simple.</p><div class="codebox"><pre><code>start
  ld b,1
  ld hl,#4000
loop
  ld a,(hl)
  add a,b
  ld b,a
  ld (hl),a
  out (#fe),a
  inc hl
  ld a,h
  cp #58
  jp nz,loop
  jp start</code></pre></div><p>Could&#039;ve easily shaved at least 3 bytes off, though <img src="http://randomflux.info/1bit/img/smilies/yikes.png" width="15" height="15" alt="yikes" /></p><p>I still would like to see a bytebeat interpreter for beeper one day. Or rather, bitbeat... I don&#039;t see how it could be done though, considering the thing needs to run in constant time.</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2021-01-07T19:04:28Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2264#p2264</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Dubstep generator]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=2262#p2262" />
			<content type="html"><![CDATA[<p>Just came across this on YT <img src="http://randomflux.info/1bit/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p><a href="https://youtu.be/S2huhsg6BcI">https://youtu.be/S2huhsg6BcI</a></p>]]></content>
			<author>
				<name><![CDATA[AtariTufty]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=5</uri>
			</author>
			<updated>2021-01-07T18:27:17Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=2262#p2262</id>
		</entry>
</feed>
