{"id":4999,"date":"2019-10-24T10:44:49","date_gmt":"2019-10-24T09:44:49","guid":{"rendered":"http:\/\/www.celesteh.com\/blog\/?p=4999"},"modified":"2019-10-24T10:44:51","modified_gmt":"2019-10-24T09:44:51","slug":"getting-started-with-spear","status":"publish","type":"post","link":"https:\/\/www.celesteh.com\/blog\/2019\/10\/24\/getting-started-with-spear\/","title":{"rendered":"Getting Started with SPEAR"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"http:\/\/www.klingbeil.com\/spear\/\">Sinusoidal Partial Editing Analysis and Resynthesis<\/a> is a zero-cost program for Macs and Windows. It works with the latest Macintosh system update.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is a program that does FFTs of audio files to display a spectrum which you can then edit. It&#8217;s not as fully-featured as AudioSculpt, but it&#8217;s compatible with your new Mac and the price is right.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you open a file, it starts by asking you a few questions.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"868\" data-src=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/file-open-1024x868.png\" alt=\"\" class=\"wp-image-5000 lazyload\" data-srcset=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/file-open-1024x868.png 1024w, https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/file-open-300x254.png 300w, https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/file-open-768x651.png 768w, https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/file-open.png 1170w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/868;\" \/><figcaption>Sinusoidal Partials Analysis window<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">One of the things it asks is the bin spacing for the FFT. This should be narrower for low pitched sounds and can be wider for higher sounds. If you have a stereo file, it asks which channel you want to process. It works best with mono, so if you have a stereo file, you may wish to mix it down to mono or to process the left and right separately.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"576\" data-src=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/full-screen-1024x576.png\" alt=\"\" class=\"wp-image-5001 lazyload\" data-srcset=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/full-screen-1024x576.png 1024w, https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/full-screen-300x169.png 300w, https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/full-screen-768x432.png 768w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/576;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Constituent frequencies of a given sound, if they&#8217;re loud enough to be important, are called <strong>partials<\/strong>. All of the lines in the big window represent partials.  Ones towards the bottom are lower  in pitch and ones above are higher. Time moves from left to right. The  darker partials are louder.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to hear the sound, press  space bar. If you don&#8217;t hear anything check the preferences and make  sure audio is going to to correct output.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"874\" data-src=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/preferences-1024x874.png\" alt=\"\" class=\"wp-image-5002 lazyload\" data-srcset=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/preferences-1024x874.png 1024w, https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/preferences-300x256.png 300w, https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/preferences-768x656.png 768w, https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/preferences.png 1230w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/874;\" \/><figcaption>The preferences window showing the audio pane, with Core Audio Built-in Output selected.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The transform menu contains a  several things you can do to the sound. If no partials are selected,  these will apply to every partial. Otherwise, they apply to only the  ones which are selected.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" data-src=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/transform-menu.png\" alt=\"\" class=\"wp-image-5004 lazyload\" width=\"326\" height=\"342\" data-srcset=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/transform-menu.png 450w, https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/transform-menu-286x300.png 286w\" data-sizes=\"(max-width: 326px) 100vw, 326px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 326px; --smush-placeholder-aspect-ratio: 326\/342;\" \/><figcaption>The Transform menu<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">To select a single partial, pick the  arrow in the tools menu, and then click on the partial. To select a  rectangular area, pick the plus sign, to select a free area, pick the  lasso. You can shift click or shift select to grow a selection area.  Also see the edit menu for options like inverting your selection.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" data-src=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/tools-window.png\" alt=\"\" class=\"wp-image-5005 lazyload\" width=\"122\" height=\"324\" data-srcset=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/tools-window.png 196w, https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/tools-window-113x300.png 113w\" data-sizes=\"(max-width: 122px) 100vw, 122px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 122px; --smush-placeholder-aspect-ratio: 122\/324;\" \/><figcaption>The tools window<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">When you hover over an item in the tools menu, the name of the item appears. These items include time stretching, moving, shifting, transposing and drawing in new partials. You can use the time stretch tool to just stretch selected partials in one part of the file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can save files, which are the analysis files that SPEAR has created and which you&#8217;ve modified. You can also save a rendering as an audio file. There are a few choices with this. You can do an additive re-synthesis using a bunch of sine waves or an IFFT. If unsure, experiment to see what sounds best with the particular file you&#8217;re editing.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" data-src=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/sound-menu.png\" alt=\"\" class=\"wp-image-5006 lazyload\" width=\"323\" height=\"350\" data-srcset=\"https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/sound-menu.png 526w, https:\/\/www.celesteh.com\/blog\/wp-content\/uploads\/2019\/10\/sound-menu-277x300.png 277w\" data-sizes=\"(max-width: 323px) 100vw, 323px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 323px; --smush-placeholder-aspect-ratio: 323\/350;\" \/><figcaption>The Sound menu<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">There is no manual for SPEAR, but there is a <a rel=\"noreferrer noopener\" href=\"http:\/\/www.klingbeil.com\/spear\/analysis.html\" target=\"_blank\">single webpage with some explanations<\/a>. Or there are some technical papers you can fine on the program&#8217;s website.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This program has been written with GTK portability in mind, but I could not find a link to source code and no linux binaries seem to be available. I have written to the author to ask if he intends to make this a FLOSS project, as it seems like a really good fit for the Ubuntu Studio distribution.  I&#8217;ll update if I hear back. Sending an email like this, is, of course, asking a favour, so I&#8217;m a bit worried that he might get this question a lot. In any case, releasing a mac compatibility update was definitely a public good.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sinusoidal Partial Editing Analysis and Resynthesis is a zero-cost program for Macs and Windows. It works with the latest Macintosh system update. It is a program that does FFTs of audio files to display a spectrum which you can then edit. It&#8217;s not as fully-featured as AudioSculpt, but it&#8217;s compatible with your new Mac and &hellip; <a href=\"https:\/\/www.celesteh.com\/blog\/2019\/10\/24\/getting-started-with-spear\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Getting Started with SPEAR<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":5001,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[1],"tags":[48,156,369],"class_list":["post-4999","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorised","tag-howto","tag-mac","tag-teaching"],"_links":{"self":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts\/4999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/comments?post=4999"}],"version-history":[{"count":2,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts\/4999\/revisions"}],"predecessor-version":[{"id":5007,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts\/4999\/revisions\/5007"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/media\/5001"}],"wp:attachment":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/media?parent=4999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/categories?post=4999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/tags?post=4999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}