{"id":2575,"date":"2025-07-09T15:48:40","date_gmt":"2025-07-09T13:48:40","guid":{"rendered":"https:\/\/www.julien-nevo.com\/arkostracker\/?page_id=2575"},"modified":"2025-09-22T01:09:56","modified_gmt":"2025-09-21T23:09:56","slug":"samples","status":"publish","type":"page","link":"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/samples\/","title":{"rendered":"How samples are managed"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>Arkos Tracker can handle samples natively in two ways:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>via <a href=\"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/the-pattern-viewer#events\" data-type=\"page\" data-id=\"133\" target=\"_blank\" rel=\"noreferrer noopener\">events<\/a>.<\/li>\n\n\n\n<li>via instruments, directly in notes in the pattern.<\/li>\n<\/ul>\n\n\n\n<p>The events are used to play single notes, non-looping samples, which make them ideal for drums, also called &#8220;digidrums&#8221;. The AKY player has a special <a href=\"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/digidrums\/\" data-type=\"page\" data-id=\"2543\" target=\"_blank\" rel=\"noreferrer noopener\">sub-player<\/a> to play them.<\/p>\n\n\n\n<p>The sample instruments, written as notes in the pattern, are more complex to handle, depending on the context:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For sample-only music, a <a href=\"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/the-mod-player\/\" data-type=\"page\" data-id=\"1396\" target=\"_blank\" rel=\"noreferrer noopener\">MOD<\/a> player is available.<\/li>\n\n\n\n<li>For digidrums, use this <a href=\"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/digidrums\/\" data-type=\"page\" data-id=\"2543\" target=\"_blank\" rel=\"noreferrer noopener\">player<\/a>.<\/li>\n\n\n\n<li>For PSG+sample, using a specific <a href=\"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/samplepsg-player\/\" data-type=\"page\" data-id=\"2568\" target=\"_blank\" rel=\"noreferrer noopener\">player<\/a>.<\/li>\n<\/ul>\n\n\n\n<p>Samples, on most 8-bit machine, have an important cost:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When triggered, they use 100% of the CPU. Most of this time is actually spent in waiting (except for MOD where every cycle is used!), so if you want to integrate an effect, it is up to you to \u201cmicro-code\u201d your effect within this tempo. It is a possibly very difficult task, so please bear that in mind before starting asking your coder about using digidrums. Checking for the keyboard is ok though.<\/li>\n\n\n\n<li>Depending on your assets, each sample may take at least 1kb for drums, any a few kilobytes for longer sounds.<\/li>\n\n\n\n<li>Making the samples sound ok along the song may need a bit of tweaking of volumes, frequency filters, so be patient.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Sample frequency and sample player frequency<\/h2>\n\n\n\n<p>This part is important if you want to take the full advantage of AT sample capabilities, and understand how to make your samples sound right when targeting the hardware.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Sample frequency<\/h3>\n\n\n\n<p>First of all, your sample has been sampled using a frequency. On a modern computer, you would most likely find samples sampled at 44100 Hz, or sometimes even more. On old MODs, you would be likely to find samples at 8373 Hz. Without going into details, this means that such sample will lose all their high-end frequencies, but this will also save a lot of memory.<\/p>\n\n\n\n<p>So if you need to include samples into your song, do NOT use 44100 Hz, unless you know what you are doing, because the sounds will fill your memory very quickly! Depending on the usage, I would suggest using 8000 Hz samples (and <em>not<\/em> 8373 Hz) if your hardware is a 8-bit and for drums. You may want to increase the quality to 11025 Hz samples if you play a MOD.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"sample-player-frequency\">Sample player frequency<\/h3>\n\n\n\n<p>This concept is new in AT3 (it was present in AT2, but not handled the same\/proper way). In the <a href=\"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/subsong-setup#edit-psg\" data-type=\"page\" data-id=\"2593\" target=\"_blank\" rel=\"noreferrer noopener\">PSG<\/a> settings of your subsong, a &#8220;sample player frequency&#8221; is shown, with a default to 8000 Hz:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"520\" height=\"480\" src=\"https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/07\/subsongPropertiesSamplePlayerHighlight.png\" alt=\"\" class=\"wp-image-2600\" srcset=\"https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/07\/subsongPropertiesSamplePlayerHighlight.png 520w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/07\/subsongPropertiesSamplePlayerHighlight-300x277.png 300w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/07\/subsongPropertiesSamplePlayerHighlight-500x462.png 500w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/07\/subsongPropertiesSamplePlayerHighlight-230x212.png 230w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/07\/subsongPropertiesSamplePlayerHighlight-350x323.png 350w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/07\/subsongPropertiesSamplePlayerHighlight-480x443.png 480w\" sizes=\"(max-width: 520px) 100vw, 520px\" \/><\/figure>\n\n\n\n<p>This is an important concept, because it says to AT3 that the &#8220;code&#8221; that plays a sample has a frequency of 8000 Hz. So it will play a 8000 Hz sample perfectly using the &#8220;reference note&#8221; (which is C-6). If your <strong>sample<\/strong> is sampled at 16000 Hz, you will have to play it twice faster (C-7) to play it to its natural note.<\/p>\n\n\n\n<p>On the opposite, if your sample player frequency is high, like 16 kHz, you will have to use lower notes to play 8000 Hz samples right.<\/p>\n\n\n\n<p><em>(by the way, most digidrums on Atari ST were played at 4 kHz! Such low frequency is enough for raw drums, but not enough for more expressive instruments, such as piano and such.)<\/em><\/p>\n\n\n\n<p><strong>The bottom line is this<\/strong>: when wanting to play samples, ask the coder what is the sample player frequency. It will probably be 8 kHz on an 8-bit. By knowing that, you will know what note to use when composing the song. Don&#8217;t worry: if you or your coder make a mistake, it is still possible to correct the sounds by transposing them in the patterns, or upload new samples.<\/p>\n\n\n\n<p><strong>However, <\/strong>one more subtlety it that the player itself may run at 16 kHz, yet ask you to use 8 kHz on AT3: this is because its frequency table is shifted accordingly. <strong>This is the case for the digidrums and AKY SPL player of AT3 for 8 bits.<\/strong><\/p>\n\n\n\n<p>Also, it is strongly recommended to <strong>use more than 8 kHz<\/strong> for tuned and high-pitched instruments (piano, or any other melodic instrument). 16 kHz may be overkill, so I often settle for <strong>11025 Hz<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"diginote\">Diginote<\/h3>\n\n\n\n<p>The diginote, in the sample editor, has a default note of C-6.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"898\" height=\"345\" src=\"https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/03\/sampleEditor.jpg\" alt=\"\" class=\"wp-image-2406\" srcset=\"https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/03\/sampleEditor.jpg 898w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/03\/sampleEditor-300x115.jpg 300w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/03\/sampleEditor-768x295.jpg 768w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/03\/sampleEditor-500x192.jpg 500w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/03\/sampleEditor-800x307.jpg 800w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/03\/sampleEditor-230x88.jpg 230w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/03\/sampleEditor-350x134.jpg 350w, https:\/\/www.julien-nevo.com\/arkostracker\/wp-content\/uploads\/2025\/03\/sampleEditor-480x184.jpg 480w\" sizes=\"(max-width: 898px) 100vw, 898px\" \/><\/figure>\n\n\n\n<p>This indicates the note used when a sample is played in the <strong>event track<\/strong>. However, it has a hidden consequence: when exporting the samples, the sample is <strong>resampled<\/strong> according to this note, so that it sounds right on the hardware. <strong>Warning<\/strong>, the sample is resampled even if used in a pattern, so it is advised not to change the diginote with samples used in patterns (anyway, the diginote has no consequence to them, so you&#8217;d have no interest in changing it).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Arkos Tracker can handle samples natively in two ways: The events are used to play single notes, non-looping samples, which make [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":162,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_vp_format_video_url":"","_vp_image_focal_point":[],"footnotes":""},"class_list":["post-2575","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/wp-json\/wp\/v2\/pages\/2575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/wp-json\/wp\/v2\/comments?post=2575"}],"version-history":[{"count":22,"href":"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/wp-json\/wp\/v2\/pages\/2575\/revisions"}],"predecessor-version":[{"id":2880,"href":"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/wp-json\/wp\/v2\/pages\/2575\/revisions\/2880"}],"wp:attachment":[{"href":"https:\/\/www.julien-nevo.com\/arkostracker\/index.php\/wp-json\/wp\/v2\/media?parent=2575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}