{"id":4708,"date":"2019-06-17T03:40:14","date_gmt":"2019-06-17T01:40:14","guid":{"rendered":"https:\/\/demdlx704as001.ad.harman.com\/index.php\/section\/audio-object-template\/"},"modified":"2024-05-13T12:39:46","modified_gmt":"2024-05-13T10:39:46","slug":"audio-object-template","status":"publish","type":"post","link":"https:\/\/audioworx.transfunnel.co\/old\/?p=4708","title":{"rendered":"Audio object Examples"},"content":{"rendered":"<p class=\"text\"><span style=\"font-size: 12pt;\">A new audio object will implement the following functions depending on functionality. See the header files for the associated classes for detailed comments.<\/span><\/p>\n<p><strong>In the class which inherits CAudioObject &#8211; ie: CYourAudioObject.cpp<\/strong><\/p>\n<p class=\"text\"><span style=\"font-size: 12pt;\">Abstract Methods (required implementation)<\/span><\/p>\n<pre class=\"text\">xUInt32 CAudioObject::getSize() const \r\n<\/pre>\n<p>Virtual Methods (optional implementation &#8211; depending on object features). This is not a complete list but contains the major virtual methods.<\/p>\n<pre class=\"text\">void      CAudioObject::init()\r\nvoid      CAudioObject::calc(xFloat32** inputs, xFloat32** outputs)\r\nvoid      CAudioObject::tuneXTP(xSInt32 subblock, xSInt32 startMemBytes, xSInt32 sizeBytes, xBool shouldAttemptRamp)\r\nvoid      CAudioObject::controlSet(xSInt32 index, xFloat32 value)\r\nxAF_Error CAudioObject::controlSet(xSInt32 index, xUInt32 sizeBytes, const void * const pValues)\r\nvoid      CAudioObject::assignAdditionalConfig()\r\nxInt8*    CAudioObject::getSubBlockPtr(xUInt16 subBlock)\r\nxSInt32   CAudioObject::getSubBlockSize(xUInt16 subBlock)\r\n<\/pre>\n<p><strong>In the class which inherits CAudioObjectToolbox &#8211; ie: CYourAudioObjectToolbox.cpp<\/strong><\/p>\n<pre class=\"text\">const CAudioObjectToolbox::tObjectDescription*          CAudioObjectToolbox::getObjectDescription()\r\nconst CAudioObjectToolbox::tModeDescription*            CAudioObjectToolbox::getModeDescription(xUInt32 mode)\r\nconst CAudioObjectToolbox::additionalSfdVarDescription* CAudioObjectToolbox::getAdditionalSfdVarsDescription(xUInt32 index)\r\nxAF_Error                                               CAudioObjectToolbox::getObjectIo(ioObjectConfigOutput* configOut)\r\nxUInt32                                                 CAudioObjectToolbox::getXmlSVTemplate(tTuningInfo* info, xInt8* buffer, xUInt32 maxLen)\r\nxUInt32                                                 CAudioObjectToolbox::getXmlObjectTemplate(tTuningInfo* info, xInt8* buffer, xUInt32 maxLen)\r\nxUInt32                                                 CAudioObjectToolbox::getXmlFileInfo(tTuningInfo* info, xInt8* buffer, xUInt32 maxLen)\r\nvoid                                                    CAudioObjectToolbox::createStaticMetadata()\r\nvoid                                                    CAudioObjectToolbox::createDynamicMetadata(ioObjectConfigInput&amp; configIn, ioObjectConfigOutput&amp; configOut)\r\n<\/pre>\n<p><strong>In the class which inherits CMemoryRecordProperties &#8211; ie: CYourAudioObjectMemRecs.cpp<\/strong><\/p>\n<pre class=\"text\">xUInt8 CMemoryRecordProperties::getMemRecords(xAF_memRec* memTable, xAF_memRec&amp; scratchRecord, xInt8 target, xInt8 format)\r\n<\/pre>\n<p>Source code for AwxAudioObjExt audio object can be found in HarmanAudioworX installation folder. The path for the source code is<br \/>\n\\Program Files\\Harman\\HarmanAudioworX\\ext-reference-algorithms\\external\\inc<br \/>\n\\Program Files\\Harman\\HarmanAudioworX\\ext-reference-algorithms\\external\\src<\/p>\n<p>The code snippet for source and include files is provided in following sections for reference<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new audio object will implement the following functions depending on functionality. See the header files for the associated classes for detailed comments. In the class which inherits CAudioObject &#8211; ie: CYourAudioObject.cpp Abstract Methods (required implementation) xUInt32 CAudioObject::getSize() const Virtual Methods (optional implementation &#8211; depending on object features). This is not a complete list but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","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":"on","ocean_gallery_id":[]},"categories":[353],"tags":[],"coauthors":[165],"_links":{"self":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/4708"}],"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=4708"}],"version-history":[{"count":26,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/4708\/revisions"}],"predecessor-version":[{"id":28057,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/4708\/revisions\/28057"}],"wp:attachment":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4708"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcoauthors&post=4708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}