{"id":18717,"date":"2022-12-07T18:11:42","date_gmt":"2022-12-07T17:11:42","guid":{"rendered":"https:\/\/demdlx704as001.ad.harman.com\/?p=18717"},"modified":"2023-11-24T11:01:52","modified_gmt":"2023-11-24T10:01:52","slug":"fftcalc","status":"publish","type":"post","link":"https:\/\/audioworx.transfunnel.co\/old\/?p=18717","title":{"rendered":"FFTCalc"},"content":{"rendered":"<p><span style=\"font-family: 'times new roman', times, serif;\">The FFTCalc AO is used to get frequency content based on band energies.<\/span><\/p>\n<p><span style=\"font-family: 'times new roman', times, serif;\">Input block of length L along with previous N-L samples form a frame of length N (number of FFT points). This frame is multiplied with window function and fed to Real Radix 2 FFT.\u00a0 The minimum and maximum FFT point supported is 32 and 4096 respectively. Thus, the minimum and maximum resolution for the sampling rate of 48000 is 1500Hz and 11.72Hz respectively.<\/span><\/p>\n<p><span style=\"font-family: 'times new roman', times, serif;\">The FFTCalc provides 4 fixed control outputs giving band information. Three are for band-specific info and one for the entire spectrum.<\/span><\/p>\n<p class=\"heading\"><strong>Design Time Parameters<\/strong><\/p>\n<ul>\n<li><span style=\"font-family: 'times new roman', times, serif;\"><b>FFT size: <\/b>an additional configuration parameter, should be selected to be power of 2. Other values are not accepted by GTT.<\/span>\n<ul>\n<li><span style=\"font-family: 'times new roman', times, serif;\">FFT size is lower bounded by the block length.<\/span><\/li>\n<\/ul>\n<\/li>\n<li><span style=\"font-family: 'times new roman', times, serif;\">Block Length<span class=\"emph\">: <\/span>supports all the block lengths supported by the framework upto 4096.<\/span><\/li>\n<\/ul>\n<p class=\"note\"><span style=\"font-family: 'times new roman', times, serif;\">The number of FFT points (N) and sampling rate decides the frequency resolution of the bin. When FFT points selected is lower the frequency bins may not correctly correspond to the designated band and they may fall into adjacent bands because of lower frequency resolution. It is required to correctly choose the number of FFT points. Frequency resolution is computed using the below formula<br \/>\n<\/span><em><span style=\"font-family: 'times new roman', times, serif;\">Frequency resolution = sampling rate\/number of FFT points<\/p>\n<p><\/span><\/em><span style=\"font-family: 'times new roman', times, serif;\">We recommend choosing FFT points based on frequency resolution requirements.<\/span><\/p>\n<p><span style=\"font-family: 'times new roman', times, serif;\">For E.g if the sampling rate is 48KHz and we want a frequency resolution less than 100Hz\u00a0 Number of FFT points selected can be greater than or equal to 512<\/span><\/p>\n<ul>\n<li><span style=\"font-family: 'times new roman', times, serif;\">It is recommended to choose either Hamming\/Hanning window for better frequency response.<\/span><\/li>\n<li><span style=\"font-family: 'times new roman', times, serif;\">Currently, the FFTCalc object supports mono channel only<\/span><\/li>\n<\/ul>\n<p class=\"note\"><span style=\"font-family: 'times new roman', times, serif;\">The AO supports in-place computation based on the core type.<\/span><\/p>\n<p class=\"heading\"><strong>Tuning Parameters<\/strong><\/p>\n<table style=\"width: 95.6795%; height: 334px;\" width=\"0\">\n<tbody>\n<tr style=\"height: 28px;\">\n<td class=\"table-head\" style=\"width: 19.9768%; height: 28px;\" width=\"206\"><span style=\"font-family: 'times new roman', times, serif;\"><strong>Name<\/strong><\/span><\/td>\n<td class=\"table-head\" style=\"width: 27.7288%; height: 28px;\" width=\"178\"><span style=\"font-family: 'times new roman', times, serif;\"><strong>Description<\/strong><\/span><\/td>\n<td class=\"table-head\" style=\"width: 14.1422%; height: 28px;\" width=\"38\"><span style=\"font-family: 'times new roman', times, serif;\"><strong>Data Type<\/strong><\/span><\/td>\n<td class=\"table-head\" style=\"width: 14.6739%; height: 28px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif;\"><strong>Default value<\/strong><\/span><\/td>\n<td class=\"table-head\" style=\"width: 12.8261%; height: 28px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif;\"><strong>Range<\/strong><\/span><\/td>\n<td class=\"table-head\" style=\"width: 52.6087%; height: 28px;\" width=\"40\"><span style=\"font-family: 'times new roman', times, serif;\"><strong>Units<\/strong><\/span><\/td>\n<\/tr>\n<tr style=\"height: 26px;\">\n<td style=\"width: 19.9768%; height: 26px;\" width=\"206\"><strong><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band1LoFrequency<\/span><\/strong><\/td>\n<td style=\"width: 27.7288%; height: 26px;\" width=\"178\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band 1 Low Band Frequency in Hz<\/span><\/td>\n<td style=\"width: 14.1422%; height: 26px;\" width=\"38\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Float<\/span><\/td>\n<td style=\"width: 14.6739%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">80<\/span><\/td>\n<td style=\"width: 12.8261%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">[0,fmax]<\/span><\/td>\n<td style=\"width: 52.6087%; height: 26px;\" width=\"40\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">\u00a0\u00a0\u00a0 Hz<\/span><\/td>\n<\/tr>\n<tr style=\"height: 10px;\">\n<td style=\"width: 19.9768%; height: 10px;\" width=\"206\"><strong><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band1HiFrequency<\/span><\/strong><\/td>\n<td style=\"width: 27.7288%; height: 10px;\" width=\"178\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band 1 High Band Frequency in Hz<\/span><\/td>\n<td style=\"width: 14.1422%; height: 10px;\" width=\"38\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Float<\/span><\/td>\n<td style=\"width: 14.6739%; height: 10px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">300<\/span><\/td>\n<td style=\"width: 12.8261%; height: 10px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">[0,fmax]<\/span><\/td>\n<td style=\"width: 52.6087%; height: 10px;\" width=\"40\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">\u00a0\u00a0\u00a0 Hz<\/span><\/td>\n<\/tr>\n<tr style=\"height: 26px;\">\n<td style=\"width: 19.9768%; height: 26px;\" width=\"206\"><strong><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band2LoFrequency<\/span><\/strong><\/td>\n<td style=\"width: 27.7288%; height: 26px;\" width=\"178\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band 2 Low Band Frequency in Hz<\/span><\/td>\n<td style=\"width: 14.1422%; height: 26px;\" width=\"38\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Float<\/span><\/td>\n<td style=\"width: 14.6739%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">600<\/span><\/td>\n<td style=\"width: 12.8261%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">[0,fmax]<\/span><\/td>\n<td style=\"width: 52.6087%; height: 26px;\" width=\"40\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">\u00a0\u00a0\u00a0 Hz<\/span><\/td>\n<\/tr>\n<tr style=\"height: 26px;\">\n<td style=\"width: 19.9768%; height: 26px;\" width=\"206\"><strong><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band2HiFrequency<\/span><\/strong><\/td>\n<td style=\"width: 27.7288%; height: 26px;\" width=\"178\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band 2 High Band Frequency in Hz<\/span><\/td>\n<td style=\"width: 14.1422%; height: 26px;\" width=\"38\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Float<\/span><\/td>\n<td style=\"width: 14.6739%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">2500<\/span><\/td>\n<td style=\"width: 12.8261%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">[0,fmax]<\/span><\/td>\n<td style=\"width: 52.6087%; height: 26px;\" width=\"40\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">\u00a0\u00a0\u00a0 Hz<\/span><\/td>\n<\/tr>\n<tr style=\"height: 26px;\">\n<td style=\"width: 19.9768%; height: 26px;\" width=\"206\"><strong><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band3LoFrequency<\/span><\/strong><\/td>\n<td style=\"width: 27.7288%; height: 26px;\" width=\"178\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band 3 Low Band Frequency in Hz<\/span><\/td>\n<td style=\"width: 14.1422%; height: 26px;\" width=\"38\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Float<\/span><\/td>\n<td style=\"width: 14.6739%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">7000<\/span><\/td>\n<td style=\"width: 12.8261%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">[0,fmax]<\/span><\/td>\n<td style=\"width: 52.6087%; height: 26px;\" width=\"40\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">\u00a0\u00a0\u00a0 Hz<\/span><\/td>\n<\/tr>\n<tr style=\"height: 26px;\">\n<td style=\"width: 19.9768%; height: 26px;\" width=\"206\"><strong><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band3HiFrequency<\/span><\/strong><\/td>\n<td style=\"width: 27.7288%; height: 26px;\" width=\"178\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Band 3 High Band Frequency in Hz<\/span><\/td>\n<td style=\"width: 14.1422%; height: 26px;\" width=\"38\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Float<\/span><\/td>\n<td style=\"width: 14.6739%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">15000<\/span><\/td>\n<td style=\"width: 12.8261%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">[0,fmax]<\/span><\/td>\n<td style=\"width: 52.6087%; height: 26px;\" width=\"40\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">\u00a0\u00a0\u00a0 Hz<\/span><\/td>\n<\/tr>\n<tr style=\"height: 140px;\">\n<td style=\"width: 19.9768%; height: 140px;\" width=\"206\"><strong><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">WindowFunction<\/span><\/strong><\/td>\n<td style=\"width: 27.7288%; height: 140px;\" width=\"178\">\n<p><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">0-Rectangular Window<\/span><\/p>\n<p><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">1-Hamming Window<\/span><\/p>\n<p><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">2-Hanning Window<\/span><\/td>\n<td style=\"width: 14.1422%; height: 140px;\" width=\"38\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">ULong<\/span><\/td>\n<td style=\"width: 14.6739%; height: 140px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">0 (Rectangular Window)<\/span><\/td>\n<td style=\"width: 12.8261%; height: 140px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">[0,2]<\/span><\/td>\n<td style=\"width: 52.6087%; height: 140px;\" width=\"40\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">\u00a0\u00a0 NA<\/span><\/td>\n<\/tr>\n<tr style=\"height: 26px;\">\n<td style=\"width: 19.9768%; height: 26px;\" width=\"206\"><strong><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">Mode<\/span><\/strong><\/td>\n<td style=\"width: 27.7288%; height: 26px;\" width=\"178\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">FFTCalc mode (No processing\/Energy\/Power) #<\/span><\/td>\n<td style=\"width: 14.1422%; height: 26px;\" width=\"38\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">ULong<\/span><\/td>\n<td style=\"width: 14.6739%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">0(No processing)<\/span><\/td>\n<td style=\"width: 12.8261%; height: 26px;\" width=\"77\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">[0,2]<\/span><\/td>\n<td style=\"width: 52.6087%; height: 26px;\" width=\"40\"><span style=\"font-family: 'times new roman', times, serif; font-size: 12pt;\">NA<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The FFTCalc AO is used to get frequency content based on band energies. Input block of length L along with previous N-L samples form a frame of length N (number of FFT points). This frame is multiplied with window function and fed to Real Radix 2 FFT.\u00a0 The minimum and maximum FFT point supported is [&hellip;]<\/p>\n","protected":false},"author":105,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","footnotes":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[]},"categories":[164],"tags":[306,300],"coauthors":[288],"_links":{"self":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/18717"}],"collection":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/users\/105"}],"replies":[{"embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18717"}],"version-history":[{"count":29,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/18717\/revisions"}],"predecessor-version":[{"id":25760,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/18717\/revisions\/25760"}],"wp:attachment":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18717"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcoauthors&post=18717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}