{"id":20252,"date":"2023-03-27T08:49:18","date_gmt":"2023-03-27T06:49:18","guid":{"rendered":"https:\/\/demdlx704as001.ad.harman.com\/?p=20252"},"modified":"2024-07-03T12:27:46","modified_gmt":"2024-07-03T10:27:46","slug":"ssrc-lir-int","status":"publish","type":"post","link":"https:\/\/audioworx.transfunnel.co\/old\/?p=20252","title":{"rendered":"Ssrc lir Int"},"content":{"rendered":"<p>Synchronous Sample Rate Converter (SSRCs) is used to convert the input sample rate to the required output sample rate.<br \/>\nSSRCs are core objects that can operate within an audio core. Currently there is one implementation of SRCs in Awx.<br \/>\n<img decoding=\"async\" width=\"278\" height=\"83\" class=\"wp-image-20230\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2023\/03\/text-description-automatically-generated-4.png\" alt=\"Text Description automatically generated\" \/><\/p>\n<p>Two options are provided to convert the sample rate. Both these options are mutually exclusive.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" width=\"301\" height=\"551\" class=\"wp-image-20231\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2023\/03\/graphical-user-interface-description-automaticall-31.png\" alt=\"Graphical user interface Description automatically generated\" \/><\/p>\n<p class=\"heading\"><strong>IIR Integer Multiple SSRC<\/strong><\/p>\n<p>This core object implements a synchronous sample rate converter whose input sample rate \/ input block length and output sample rate \/ output block length are integer multiple of each others. This is also an infinite impulse response implementation\u00a0(<span class=\"bluet_tooltip tooltipy-kw tooltipy-kw-6211\" data-tooltip=\"6211\">IIR<\/span>).<\/p>\n<p>The object operates in one of 2 modes:<\/p>\n<ul>\n<li>User Coefficients mode<\/li>\n<li>Predefined Coefficients mode<\/li>\n<\/ul>\n<p>Before we get into the details, there are some common configuration parameters between the two.<\/p>\n<ul>\n<li>The input block length needs to be set by the user.<\/li>\n<li>The Biquad filter topology. Currently 2 topologies are exposed.\n<ul>\n<li>Direct Form I<\/li>\n<li>Direct Form II<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong><span style=\"text-decoration: underline;\">User Coefficients mode<\/span>:<\/strong> In this mode, the user has to provide the input and output sample rate. Input and output sample rates should not be equal. The Number of Biquads field is read-only.<br \/>\nUser has to import the coefficients by clicking on the button \u201cImport Co-efficients\u201d. Based on the number of coefficients in the file, the Number of Biquads is updated.<\/p>\n<p><strong>Validations for User Coefficients mode:<\/strong> The Input and Output sample rates cannot be the same. Validation is shown when the same values are entered.<br \/>\n<img decoding=\"async\" width=\"295\" height=\"322\" class=\"wp-image-20232\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2023\/03\/a-screenshot-of-a-computer-description-automatica-25.png\" alt=\"A screenshot of a computer Description automatically generated with medium confidence\" \/><\/p>\n<p>After adding a new \u201cSsrc lir Int\u201d object and selecting \u201cUser Coefficients Mode\u201d, if the coefficients are not imported, the following message will be displayed on various operations such as \u201cSave\u201d, \u201cEdit Device\u201d, \u201cCopy Core Objects\u201d and \u201cPaste Core Objects\u201d. After importing coefficients, the user can perform the required operation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"507\" height=\"187\" class=\"wp-image-20233\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2023\/03\/graphical-user-interface-text-application-descr-29.png\" alt=\"Graphical user interface, text, application Description automatically generated\" \/><\/p>\n<p><strong><span style=\"text-decoration: underline;\">Predefined Coefficients mode<\/span>:<\/strong> In this mode, the xAF dll is used to read the input sample rate, output sample rate, and the number of biquads. When a value in the combo box is selected, the xAF dll is also used to fetch the corresponding coefficients.<\/p>\n<p>Biquad Co-efficient has to be re-imported whenever the mode is switched between Predefined Co- efficient mode to User Co-efficient mode.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"282\" height=\"318\" class=\"wp-image-20234\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2023\/03\/a-screenshot-of-a-computer-description-automatica-26.png\" alt=\"A screenshot of a computer Description automatically generated with medium confidence\" \/><\/p>\n<p>For these pre-defined coefficients, the quality measures are as follows:<\/p>\n<ul>\n<li>Signal to noise ratio: 80 dB<\/li>\n<li>Total harmonic distortion: 2e-3f<\/li>\n<li>Spurious free dynamic Range: 59 dB<\/li>\n<li>Total harmonic distortion plus noise: -60 dB<\/li>\n<li>Frequency response flatness: 3 dB<\/li>\n<\/ul>\n<p class=\"note\">Output block length (Displayed as a read-only field) = (Output sample rate \/Input sample rate) * Input block length.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Synchronous Sample Rate Converter (SSRCs) is used to convert the input sample rate to the required output sample rate. SSRCs are core objects that can operate within an audio core. Currently there is one implementation of SRCs in Awx. Two options are provided to convert the sample rate. Both these options are mutually exclusive. IIR [&hellip;]<\/p>\n","protected":false},"author":107,"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":[297],"tags":[],"coauthors":[292],"_links":{"self":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/20252"}],"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\/107"}],"replies":[{"embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20252"}],"version-history":[{"count":6,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/20252\/revisions"}],"predecessor-version":[{"id":30129,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/20252\/revisions\/30129"}],"wp:attachment":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20252"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcoauthors&post=20252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}