{"id":4869,"date":"2019-06-17T23:53:16","date_gmt":"2019-06-17T21:53:16","guid":{"rendered":"https:\/\/demdlx704as001.ad.harman.com\/?p=4869"},"modified":"2021-06-07T08:15:34","modified_gmt":"2021-06-07T06:15:34","slug":"steps-for-adding-external-audio-objects-to-the-framework-using-audio-object-cmake-and-source-files","status":"publish","type":"post","link":"https:\/\/audioworx.transfunnel.co\/old\/?p=4869","title":{"rendered":"Steps for adding external audio objects to the framework using audio object cmake and source files"},"content":{"rendered":"<p class=\"text actions\" style=\"margin-top: 0px; text-indent: 0.2cm;\">Create the audio object and corresponding cmake to build the audio object<\/p>\n<p class=\"text actions\" style=\"margin-top: 0px; text-indent: 0.2cm;\">Go to extendable-audio-framework\\build\\externalObjConfig.cmake<\/p>\n<p class=\"text actions\" style=\"margin-top: 0px; text-indent: 0.2cm;\">Type add_subdirectory() to the folder where cmake file for the audio object is present.<br \/>\nExample: ISZ audio object cmake files are present under $(AAT_PATH)<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-4870 alignnone\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2019\/06\/086.jpg\" alt=\"\" width=\"689\" height=\"16\" \/><\/p>\n<p class=\"text actions\" style=\"margin-top: 0px; text-indent: 0.2cm;\">Set EXTERNAL_OBJECT_INCLUDE to audio object include directory<br \/>\nExample for ISZ audio object:<\/p>\n<p><img decoding=\"async\" class=\"size-medium wp-image-4871 alignnone\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2019\/06\/087.jpg\" alt=\"\" width=\"278\" height=\"67\" \/><\/p>\n<p class=\"text actions\" style=\"margin-top: 0px; text-indent: 0.2cm;\">Set EXTERNAL_OBJECT_TARGETNAME with audio object target name specified in the audio object Cmake file<br \/>\nExample : ISZ target name specified in the cmake is isz_xaf<\/p>\n<p><img decoding=\"async\" class=\"size-medium wp-image-4872 alignnone\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2019\/06\/088.jpg\" alt=\"\" width=\"330\" height=\"67\" \/><\/p>\n<p class=\"text actions\" style=\"margin-top: 0px; text-indent: 0.2cm;\">Go to extendable-audio-framework\\build\\ExternalObjAudioIds.h and audio object Id<br \/>\nExmaple: ID for ISZ is 1201<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4873 alignnone\" src=\"https:\/\/audioworx.transfunnel.co\/old\/wp-content\/uploads\/2019\/06\/089.jpg\" alt=\"\" width=\"359\" height=\"18\" \/><\/p>\n<p class=\"text actions\" style=\"margin-top: 0px; text-indent: 0.2cm;\">Once the above steps are completed, go to extendable-audio-framework and execute below command to generate the libraries:<br \/>\nbuild.py &#8211;platform=WinPc &#8211;target=Win32 \u2013profile=Debug for Win32 debug build<br \/>\nbuild.py &#8211;platform=WinPc &#8211;target=Win64 \u2013profile=Debug for Win64 debug build<\/p>\n<p class=\"text actions\" style=\"margin-top: 0px; text-indent: 0.2cm;\">build.py &#8211;platform=WinPc &#8211;target=Win32 \u2013profile=Release for Win32 release build and<br \/>\nbuild.py \u2013platform=WinPc \u2013target=Win64 \u2013profile=Release for Win64 release build<\/p>\n<p class=\"text actions\" style=\"margin-top: 0px; text-indent: 0.2cm;\">This will produce the following xAF libraries under public\/lib\/win32\/Debug folder if built for Debug mode<br \/>\nand public\/lib\/win32\/Release folder if built for Release mode:<\/p>\n<ul style=\"list-style-type: disc;\">\n<li>xaf.lib<\/li>\n<li>xAFBasicOps.lib<\/li>\n<li>xAFInterface.lib<\/li>\n<li>xAFMasterModule.lib<\/li>\n<li>xAFUtil.lib<\/li>\n<\/ul>\n<p class=\"text actions\" style=\"margin-top: 0px; text-indent: 0.2cm;\">Each of the newly created external audio object(s) will have their own libraries<\/p>\n<p class=\"text actions\" style=\"margin-top: 0px; text-indent: 0.2cm;\">Visual studio solution file containing the audio object will be under extendable-audio-framework\\output\\build_dir_Win32\\xAFLibraries.sln which can be used for debugging purpose<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create the audio object and corresponding cmake to build the audio object Go to extendable-audio-framework\\build\\externalObjConfig.cmake Type add_subdirectory() to the folder where cmake file for the audio object is present. Example: ISZ audio object cmake files are present under $(AAT_PATH) Set EXTERNAL_OBJECT_INCLUDE to audio object include directory Example for ISZ audio object: Set EXTERNAL_OBJECT_TARGETNAME with audio [&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\/4869"}],"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=4869"}],"version-history":[{"count":4,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/4869\/revisions"}],"predecessor-version":[{"id":13010,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/4869\/revisions\/13010"}],"wp:attachment":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4869"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcoauthors&post=4869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}