{"id":4666,"date":"2019-06-17T02:00:50","date_gmt":"2019-06-17T00:00:50","guid":{"rendered":"https:\/\/demdlx704as001.ad.harman.com\/?p=4666"},"modified":"2019-06-17T02:00:50","modified_gmt":"2019-06-17T00:00:50","slug":"output-from-design-tool","status":"publish","type":"post","link":"https:\/\/audioworx.transfunnel.co\/old\/?p=4666","title":{"rendered":"Output from Design Tool"},"content":{"rendered":"<p class=\"text\">Once the design is completed in the SFD, it can generate files that contain data about the audio objects. This data is comprised of the <span class=\"emph\">tObjectProperties<\/span> structure shown in Error! Reference source not found. on the right. The framework uses it to configure the signal flow.<\/p>\n<p class=\"text\">To the audio object, this data is described in the Table below:<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 240px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td class=\"table-head\" style=\"width: 28.6567%; height: 24px;\">Member<\/td>\n<td class=\"table-head\" style=\"width: 71.3433%; height: 24px;\">Description<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.6567%; height: 24px;\">Object Type<\/td>\n<td style=\"width: 71.3433%; height: 24px;\">This is the unique class ID per type of object.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.6567%; height: 24px;\">NumAudioIn<\/td>\n<td style=\"width: 71.3433%; height: 24px;\">This is the number of input audio channels to the object in the signal flow.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.6567%; height: 24px;\">NumAudioOut<\/td>\n<td style=\"width: 71.3433%; height: 24px;\">This is the number of output audio channels to the object in the signal flow.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.6567%; height: 24px;\">NumElements<\/td>\n<td style=\"width: 71.3433%; height: 24px;\">This is the number of elements in the audio object. For example, for a Biquad filter, NumElements is the number of filters per channel of the Biquad.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.6567%; height: 24px;\">Mode<\/td>\n<td style=\"width: 71.3433%; height: 24px;\">This is the mode of operation of the object. For example, different modes in the Biquad denote different operating modes. One mode denotes a single set of filter coefficients per channel. Another denotes a distinct set of coefficients per channel.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.6567%; height: 24px;\">Block ID<\/td>\n<td style=\"width: 71.3433%; height: 24px;\">This is a unique ID per audio object in the signal flow. IDs cannot be used twice in the same signal flow.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.6567%; height: 24px;\">AdditionalVars<\/td>\n<td style=\"width: 71.3433%; height: 24px;\">This is the pointer to the additional object configuration data the tool sends to the framework.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.6567%; height: 24px;\">NumAdditionalVars<\/td>\n<td style=\"width: 71.3433%; height: 24px;\">Contains number of additional variables.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.6567%; height: 24px;\">SizeofAdditionalVars<\/td>\n<td style=\"width: 71.3433%; height: 24px;\">Contains total size of additional variables in bytes.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p class=\"text\">In addition to the information available in <span class=\"emph\">tObjectProperties<\/span>, a class ID per audio object is sent from the SFD to the framework so it knows what audio object to instantiate.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\" wp-image-4667 alignright\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2019\/06\/065.jpg\" alt=\"\" width=\"251\" height=\"353\" \/> <img decoding=\"async\" class=\"wp-image-4668 alignnone\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2019\/06\/066.jpg\" alt=\"\" width=\"437\" height=\"137\" \/><\/p>\n<p class=\"text\">The class ID should be declared and added to the audio object IDs file in the platform where they are being developed. When building, the IDs for the objects that developers would like to use should be added as shown in Figure below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4669\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2019\/06\/067.jpg\" alt=\"\" width=\"264\" height=\"112\" \/><\/p>\n<p class=\"text\">The class ID is an ID that is unique to each audio object class. If there are two gain objects in a signal flow, the class ID will be identical for these two objects.<\/p>\n<p class=\"text\">Developers should implement the <span class=\"emph\">assignAdditionalConfig()<\/span> function to interpret the additional variables as needed by the object. Dereferencing m accesses the additional variables<span class=\"emph\">_AdditionalVariables<\/span>:<\/p>\n<p class=\"text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4670\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2019\/06\/068.jpg\" alt=\"\" width=\"300\" height=\"94\" \/><\/p>\n<p class=\"text\">Each additional value is stored in four bytes of memory in float format.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once the design is completed in the SFD, it can generate files that contain data about the audio objects. This data is comprised of the tObjectProperties structure shown in Error! Reference source not found. on the right. The framework uses it to configure the signal flow. To the audio object, this data is described in [&hellip;]<\/p>\n","protected":false},"author":1,"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":"","ocean_second_sidebar":"","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":"","ocean_custom_header_template":"","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":"","ocean_menu_typo_font_family":"","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":"","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":[54,10],"tags":[],"coauthors":[165],"_links":{"self":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/4666"}],"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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4666"}],"version-history":[{"count":1,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/4666\/revisions"}],"predecessor-version":[{"id":4671,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/4666\/revisions\/4671"}],"wp:attachment":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4666"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcoauthors&post=4666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}