<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Pianoteq commandline WAV output - identical files?]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=5263&amp;type=atom"/>
	<updated>2017-09-24T21:38:57Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=5263</id>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq commandline WAV output - identical files?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=950635#p950635"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Jake Johnson wrote:</cite><blockquote><p>Seems worrisome. Do you hear a difference in the recordings? Is one better, or does it sound substantially different?</p></blockquote></div><p>I listened to a few and they seemed to sound the same, but I wasn&#039;t listening extremely closely. I&#039;ll check them later today, and I&#039;ll try Gilles&#039; suggestion of subtracting the files (if I recall correctly .. open up the two files in something like Audacity, invert one of them, then mix them. The result should be the differences between them?).</p><p>After reading what Gilles said, it does make sense that there&#039;s likely heaps of things in the modelling that results in slightly different sound each time (subtle humanisation/randomisation), and while should sound basically the same each time, will always produce different binary data.</p><p>edit: Stephen, yep .. makes sense <i class="far fa-smile smiley"></i>&nbsp; Interesting how we have expectations..</p>]]></content>
			<author>
				<name><![CDATA[lem18]]></name>
				<uri>https://forum.modartt.com/profile.php?id=4826</uri>
			</author>
			<updated>2017-09-24T21:38:57Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=950635#p950635</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq commandline WAV output - identical files?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=950634#p950634"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>lem18 wrote:</cite><blockquote><p>I guess it&#039;s an expectation in general that repeating a test with identical conditions should produce the same output.</p></blockquote></div><p>If you repeatedly use the same file as input to a program that uses the same randomizing algorithm every time it is invoked, won&#039;t it produce a different output each time? <i class="far fa-smile smiley"></i></p>]]></content>
			<author>
				<name><![CDATA[Stephen_Doonan]]></name>
				<uri>https://forum.modartt.com/profile.php?id=4838</uri>
			</author>
			<updated>2017-09-24T21:32:48Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=950634#p950634</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq commandline WAV output - identical files?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=950632#p950632"/>
			<content type="html"><![CDATA[<p>Seems worrisome. Do you hear a difference in the recordings? Is one better, or does it sound substantially different?</p>]]></content>
			<author>
				<name><![CDATA[Jake Johnson]]></name>
				<uri>https://forum.modartt.com/profile.php?id=11</uri>
			</author>
			<updated>2017-09-24T20:49:27Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=950632#p950632</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq commandline WAV output - identical files?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=950628#p950628"/>
			<content type="html"><![CDATA[<p>Thanks very much for your deeper analysis Gilles. Yes I forgot to mention that my files were all the same length. I had tried other presets at other times and got different md5s as well. I didn&#039;t think of subtracting the files, I&#039;ll try that so I can listen to exactly what the differences are. Very interesting!</p><p>I suppose it doesn&#039;t matter if the files are different.. I guess it&#039;s an expectation in general that repeating a test with identical conditions should produce the same output.</p>]]></content>
			<author>
				<name><![CDATA[lem18]]></name>
				<uri>https://forum.modartt.com/profile.php?id=4826</uri>
			</author>
			<updated>2017-09-24T20:11:30Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=950628#p950628</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq commandline WAV output - identical files?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=950607#p950607"/>
			<content type="html"><![CDATA[<p>I generated two files using your setup and that preset and indeed got differences (with the Unix diff command under OSX). Then I noticed the length of the two files were very different, so I removed all effects that can stretch the tail of the recording and got identical length but still differences. I had also taken away the slight humanization of the key release noise, any randomness is of course a probable cause.</p><p>Finally I tried subtracting the two wav files, and there are indeed very small (max -60 to -40 dB) differences left, and those seem to happen more frequently towards the end of my test, so I guess there is some slight temporal variation between file generation. This is of course quite inaudible, and could be the result of some randomization process in the engine that we do not have access to, or the accumulation of small rounding errors...</p>]]></content>
			<author>
				<name><![CDATA[Gilles]]></name>
				<uri>https://forum.modartt.com/profile.php?id=657</uri>
			</author>
			<updated>2017-09-24T13:45:41Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=950607#p950607</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Pianoteq commandline WAV output - identical files?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=950599#p950599"/>
			<content type="html"><![CDATA[<p>Hi all,</p><p>Just wondering if rendering a MIDI with Pianoteq to WAV should always produce the same file?</p><p>Running the following in Linux, Ubuntu Studio 17.04 amd64. Pianoteq 6.0.1:</p><p>Pianoteq\ 6 --preset &quot;Steinway B Cosmic&quot; --bit-depth 32 --rate 48000 --midi mypiano.mid --wav ./output0.wav &amp;<br />Pianoteq\ 6 --preset &quot;Steinway B Cosmic&quot; --bit-depth 32 --rate 48000 --midi mypiano.mid --wav ./output1.wav &amp;<br />Pianoteq\ 6 --preset &quot;Steinway B Cosmic&quot; --bit-depth 32 --rate 48000 --midi mypiano.mid --wav ./output2.wav &amp;<br />Pianoteq\ 6 --preset &quot;Steinway B Cosmic&quot; --bit-depth 32 --rate 48000 --midi mypiano.mid --wav ./output3.wav &amp;<br />Pianoteq\ 6 --preset &quot;Steinway B Cosmic&quot; --bit-depth 32 --rate 48000 --midi mypiano.mid --wav ./output4.wav &amp;<br />Pianoteq\ 6 --preset &quot;Steinway B Cosmic&quot; --bit-depth 32 --rate 48000 --midi mypiano.mid --wav ./output5.wav &amp;</p><p>(Why six instances? Because I&#039;m testing a Ryzen 1600X 6c/12t, seeing how Ryzen&#039;s SMT performs)</p><p>then doing:</p><p>md5sum /tmp/*.wav</p><p>c84b040e7d55e798d7211f3457fbc245&nbsp; /tmp/output0.wav<br />71a605ee463e040084176bbb2e226b29&nbsp; /tmp/output1.wav<br />33017432413fa39add96380f6b79a517&nbsp; /tmp/output2.wav<br />33c2c09f6a4548fc0390cb642aa333a0&nbsp; /tmp/output3.wav<br />2bf570449196f3105157e969bbf93207&nbsp; /tmp/output4.wav<br />744b6da010d5ff3e5fbe8ecf1e7f7383&nbsp; /tmp/output5.wav</p><p>Notice how all of the md5sums are different? They&#039;ll change with every run too, even when I&#039;m not running 6 copies of Ptq at once.</p><p>I&#039;m guessing the calculations are floating point and will vary slightly with each run, therefore producing different waveform data, and therefore a different md5 sum.</p><p>Just checking.</p><p>Thanks <i class="far fa-smile smiley"></i></p>]]></content>
			<author>
				<name><![CDATA[lem18]]></name>
				<uri>https://forum.modartt.com/profile.php?id=4826</uri>
			</author>
			<updated>2017-09-24T11:51:59Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=950599#p950599</id>
		</entry>
</feed>
