<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[The 1-Bit Forum — Stripes (Tritone)]]></title>
	<link rel="self" href="https://randomflux.info/1bit/extern.php?action=feed&amp;tid=389&amp;type=atom" />
	<updated>2025-02-12T15:32:23Z</updated>
	<generator>PunBB</generator>
	<id>http://randomflux.info/1bit/viewtopic.php?id=389</id>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3208#p3208" />
			<content type="html"><![CDATA[<p>wow that sounds great for sure, what a dense sound!</p>]]></content>
			<author>
				<name><![CDATA[garvalf]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=6</uri>
			</author>
			<updated>2025-02-12T15:32:23Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3208#p3208</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3205#p3205" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>xxl wrote:</cite><blockquote><p>awesome piece of music! would you mind sharing a .tap to run on ZX?</p></blockquote></div><p>See my earlier reply.<br /></p><div class="quotebox"><cite>MovieMovies1 wrote:</cite><blockquote><p>I&#039;m pretty selective about what I release like that nowadays so I&#039;ll pass.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[MovieMovies1]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=29</uri>
			</author>
			<updated>2025-01-25T00:41:05Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3205#p3205</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3204#p3204" />
			<content type="html"><![CDATA[<p>awesome piece of music! would you mind sharing a .tap to run on ZX?</p>]]></content>
			<author>
				<name><![CDATA[xxl]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=10</uri>
			</author>
			<updated>2025-01-24T19:38:10Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3204#p3204</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3200#p3200" />
			<content type="html"><![CDATA[<p>I think it should be fine to have it dynamically linked for the most part, many people have visual studio runtimes installed, and judging by the filesize I think the original unmodified converter was compiled with dynamic linking. Static linking is definitely gonna make it slightly more portable though, even if the filesize is a good bit larger.</p><p>And I do agree, this was nice to get going, and it&#039;s been nice to finally make good use of detuning in Tritone without having to manually edit the assembly files!</p>]]></content>
			<author>
				<name><![CDATA[MovieMovies1]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=29</uri>
			</author>
			<updated>2025-01-23T21:19:34Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3200#p3200</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3198#p3198" />
			<content type="html"><![CDATA[<p>Cheers MovieMovies1, it was fun working with you on this <img src="http://randomflux.info/1bit/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />I think the .exe you posted dynamically links msvcrt.dll, which may not be present on systems without Visual Studio installed. I&#039;ve attached a stand-alone version below that shouldn&#039;t require any additional .dlls.</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2025-01-23T12:42:44Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3198#p3198</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3196#p3196" />
			<content type="html"><![CDATA[<p>I&#039;m pretty selective about what I release like that nowadays so I&#039;ll pass.</p>]]></content>
			<author>
				<name><![CDATA[MovieMovies1]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=29</uri>
			</author>
			<updated>2025-01-22T15:42:16Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3196#p3196</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3195#p3195" />
			<content type="html"><![CDATA[<p>MovieMovies1 : You wouldn&#039;t be at all interested in sharing your music code would you?<br />Would you be interested in hearing how it sounds on a Jupiter Ace, TRS80 model 4, a Microbee or an Aquarius?</p><p>Just curious. And I do fully appreciate your viewpoint if you are not wanting for your music to go out.</p>]]></content>
			<author>
				<name><![CDATA[bushy555]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=161</uri>
			</author>
			<updated>2025-01-22T06:18:30Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3195#p3195</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3193#p3193" />
			<content type="html"><![CDATA[<p>The octave problem is fixed now, but now each E5x step is 25 semitones! So close... Inspecting the source code I think the octave going too high in the older code made the cents value not work properly, so with the octave bug fixed it the detune strength should be left unchanged. I&#039;ll try my hand at compiling it myself since it seems like an easy enough fix to make on my own, I&#039;ll just have to install Visual Studio first.</p><p>EDIT: All fixed up! Works perfectly now. Added a fixed executable along with the source in an attachment. Thank you so much for this, this will be of great use, and hopefully not just for me. The usage information could probably still be edited a bit to add credit to you, as well as add usage info on the new optional clock speed parameter, but I&#039;ll save that for another day.</p>]]></content>
			<author>
				<name><![CDATA[MovieMovies1]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=29</uri>
			</author>
			<updated>2025-01-22T00:42:43Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3193#p3193</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3192#p3192" />
			<content type="html"><![CDATA[<p>Thanks for figuring stuff out! I should get some sleep, but here&#039;s one last quick attempt before I do that.</p><p>D&#039;oh! Screwed it up again if I&#039;m not mistaken. Ctrl+F &quot;0.25&quot;, change to &quot;0.125&quot;, if you wanna compile yourself, otherwise I&#039;ll upload a new binary tomorrow.</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2025-01-22T00:33:49Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3192#p3192</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3191#p3191" />
			<content type="html"><![CDATA[<p>EDIT Upon further testing it seems to not detune properly either. I&#039;ll test further</p><p>EDIT 2: I see what&#039;s happening now, an E5x detune is making things an octave too high as I stated at first, but each detune step is 1/16th instead of 1/8th of a semitone, i.e. an E5C results in +25 cents instead of +50 cents. If the octave-too-high bug and the strength of each detune is changed to 1/8th, I think this would be perfect.</p><p>EDIT 3: Attached a module file that could be used to test. Wanted to attach the resulting .tap file as well to show how the detune goes wrong but I can only attach one file and I cannot delete the attachment to replace it with a .zip archive containing both.</p><p>original message:<br />It <em>almost</em> works properly, but every note with an E5x effect is for some reason a whole octave up from what it should be. An E5C effect on a C-4 results in a detune of +1250 cents instead of the expected +50, and even an E58, which should be no change at all, results in notes going up a whole octave. I&#039;m really not sure what would cause this and I don&#039;t know programming well enough to go in and fix this myself (I do appreciate that you shared the source code though!)</p>]]></content>
			<author>
				<name><![CDATA[MovieMovies1]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=29</uri>
			</author>
			<updated>2025-01-22T00:04:55Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3191#p3191</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3190#p3190" />
			<content type="html"><![CDATA[<p>Whoops, actually paying attention while compiling may help lol</p><p>Edit: Added the upgraded E5x support, as discussed. Pls let me know if it works as intended.</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2025-01-21T22:44:56Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3190#p3190</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3189#p3189" />
			<content type="html"><![CDATA[<p>Unfortunately the executable you shared gives me an error when I try to run it, says it&#039;s a 16-bit application for whatever reason and then doesn&#039;t do anything. Unsure why it&#039;s being identified as a 16-bit application as it definitely is not one. I tried running it inside of DOSBox out of curiosity, but there it just hangs the command prompt indefinitely.</p>]]></content>
			<author>
				<name><![CDATA[MovieMovies1]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=29</uri>
			</author>
			<updated>2025-01-21T21:52:48Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3189#p3189</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3188#p3188" />
			<content type="html"><![CDATA[<p>Ah yes, of course. I was completely fixated on non-standard tunings somehow. I suppose overall pitch could be made configurable through a command line switch.</p><p>Edit: Variable pitch implemented. xm2tritone now takes a value for the CPU speed as an optional second argument after the filename.</p>]]></content>
			<author>
				<name><![CDATA[utz]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=2</uri>
			</author>
			<updated>2025-01-21T20:21:04Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3188#p3188</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3186#p3186" />
			<content type="html"><![CDATA[<p>It is easy to change pitch, the converter calculates frequency table in runtime, deriving it from 3500000 Hz clock frequency. This value is valid for russian clones, but obviously a bit off for original 48K or 128K models. The problem is that Tritone was made so long back, so its XM converter was in C, and it takes a recompile to change that. Later engines had a Python converter that is easier to modify.</p>]]></content>
			<author>
				<name><![CDATA[Shiru]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=11</uri>
			</author>
			<updated>2025-01-21T12:49:13Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3186#p3186</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stripes (Tritone)]]></title>
			<link rel="alternate" href="http://randomflux.info/1bit/viewtopic.php?pid=3185#p3185" />
			<content type="html"><![CDATA[<p>-1 to +⅞ semitones would definitely be the optimal way to go I feel. It does technically introduce some overlap in detuned notes, but that can make it easier to think about how to apply detunes more logically, and the less discrepancies between the source module and the compiled files the better I think. ⅛ steps gives plenty room for working with fine pitch changes, though Tritone can definitely handle 1/16 steps very well with its 12-bit frequency resolution (I discovered it&#039;s 12 bits when I checked the .asm music data, each note is made up of 16 bits, but only 12 of those bits are the frequency data. Seems to work the same as the Famicom Disk System&#039;s frequency register, was able to hack a copy of Dn-FamiTracker with an appropriate clock frequency to get matching frequency data between it and Tritone)</p><p>The custom tuning I was thinking of was moreso a global detune for everything to compensate for the different global pitch of different spectrum models that could possibly be relatively easy to do, but it&#039;s not of much importance either way. Per-note detune would be too complicated, especially for XM conversions.</p>]]></content>
			<author>
				<name><![CDATA[MovieMovies1]]></name>
				<uri>http://randomflux.info/1bit/profile.php?id=29</uri>
			</author>
			<updated>2025-01-20T21:54:25Z</updated>
			<id>http://randomflux.info/1bit/viewtopic.php?pid=3185#p3185</id>
		</entry>
</feed>
