<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[bug] Unwanted pitch shifting when using Apply sample map properties to sample files]]></title><description><![CDATA[<p dir="auto">I've made some tuning adjustments to my sample map using the pitch envelope. I now want to apply those to the samples using the <code>Apply sample map properties to sample files</code> tool. However there are two issues I'm finding.</p>
<ol>
<li>
<p dir="auto">All the files it outputs that have a pitch envelope applied are a semi-tone lower than they should be. (samples without a pitch envelope are unaffected).</p>
</li>
<li>
<p dir="auto">Only the first mic position is affected.</p>
</li>
</ol>
]]></description><link>https://forum.hise.audio/topic/9081/bug-unwanted-pitch-shifting-when-using-apply-sample-map-properties-to-sample-files</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 17:56:57 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/9081.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Feb 2024 17:09:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [bug] Unwanted pitch shifting when using Apply sample map properties to sample files on Thu, 29 Feb 2024 17:23:55 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey said in <a href="/post/76168">[bug] Unwanted pitch shifting when using Apply sample map properties to sample files</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/1">@Christoph-Hart</a> The only thing that is missing now is that the sample map properties are not applied to all mic positions</p>
</blockquote>
<p dir="auto">Ok I've figured out what's causing this. The samples are all there in the list. But (for a reason that I don't know) you are removing the properties from the property list after each file has been processed. However before processing you are checking if the property is in the list. Of course this means once the first mic position has been processed, and the property has been removed, the subsequent mic positions won't be processed.</p>
<p dir="auto">Short version, comment out this line and it works - <a href="https://github.com/christophhart/HISE/blob/develop/hi_backend/backend/BackendApplicationCommandWindows.cpp#L2390" rel="nofollow ugc">https://github.com/christophhart/HISE/blob/develop/hi_backend/backend/BackendApplicationCommandWindows.cpp#L2390</a></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/1">@Christoph-Hart</a> Any downsides?</p>
]]></description><link>https://forum.hise.audio/post/76362</link><guid isPermaLink="true">https://forum.hise.audio/post/76362</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Thu, 29 Feb 2024 17:23:55 GMT</pubDate></item><item><title><![CDATA[Reply to [bug] Unwanted pitch shifting when using Apply sample map properties to sample files on Sun, 25 Feb 2024 01:42:12 GMT]]></title><description><![CDATA[<p dir="auto">Here's a pull request with a fix to the auto generated pitch envelope, to remove some useless nodes, and the additions/fixes to get the Apply sample map properties tool to use the sample rate and bit depth of the original audio files - <a href="https://github.com/christophhart/HISE/pull/488" rel="nofollow ugc">https://github.com/christophhart/HISE/pull/488</a></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/1">@Christoph-Hart</a> The only thing that is missing now is that the sample map properties are not applied to all mic positions when using a merged sample map. I've had a poke around but I haven't found a solution yet. It's something to do with the fileList that's created in the backup function but I'm not quite there. Do you have any idea?</p>
]]></description><link>https://forum.hise.audio/post/76168</link><guid isPermaLink="true">https://forum.hise.audio/post/76168</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Sun, 25 Feb 2024 01:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to [bug] Unwanted pitch shifting when using Apply sample map properties to sample files on Sun, 25 Feb 2024 00:38:41 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey said in <a href="/post/76099">[bug] Unwanted pitch shifting when using Apply sample map properties to sample files</a>:</p>
<blockquote>
<ol start="3">
<li>It only outputs 44.1khz/16bit, even though my samples are 48Khz/24bit :(</li>
</ol>
</blockquote>
<p dir="auto">So solving this problem also solves problem 1. The pitch shifting is due to the sample rate change.</p>
<p dir="auto">The <code>CompressionHelpers::dump</code> function is hardcoded to use 44100/16. I'm trying to think of the best way to get around this.</p>
<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/1">@Christoph-Hart</a> My ideas so far are I could overload the function to pass an optional sample rate and bit depth, or I could get the sample rate and bit depth from the existing file - however I think by this point the file won't exist. Any suggestions?</s></p>
<p dir="auto">Looks like I don't need to overload it, I can just add some optional arguments with default values :D <s>I think</s> I have a solution.</p>
]]></description><link>https://forum.hise.audio/post/76167</link><guid isPermaLink="true">https://forum.hise.audio/post/76167</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Sun, 25 Feb 2024 00:38:41 GMT</pubDate></item><item><title><![CDATA[Reply to [bug] Unwanted pitch shifting when using Apply sample map properties to sample files on Fri, 23 Feb 2024 17:26:23 GMT]]></title><description><![CDATA[<ol start="3">
<li>It only outputs 44.1khz/16bit, even though my samples are 48Khz/24bit :(</li>
</ol>
]]></description><link>https://forum.hise.audio/post/76099</link><guid isPermaLink="true">https://forum.hise.audio/post/76099</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Fri, 23 Feb 2024 17:26:23 GMT</pubDate></item></channel></rss>