{"id":1024,"date":"2016-06-13T19:43:42","date_gmt":"2016-06-13T19:43:42","guid":{"rendered":"http:\/\/ico.bukvic.net\/main\/?page_id=1024"},"modified":"2026-03-05T15:58:05","modified_gmt":"2026-03-05T15:58:05","slug":"d4","status":"publish","type":"page","link":"https:\/\/ico.bukvic.net\/main\/d4\/","title":{"rendered":"D4 Software Page"},"content":{"rendered":"<p><a href=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_logo_4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1037 size-full\" title=\"D4\" src=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_logo_4.jpg\" alt=\"D4\" width=\"1624\" height=\"648\" srcset=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_logo_4.jpg 1624w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_logo_4-300x120.jpg 300w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_logo_4-768x306.jpg 768w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_logo_4-1024x409.jpg 1024w\" sizes=\"auto, (max-width: 1624px) 100vw, 1624px\" \/><\/a><\/p>\n<div class=\"nav-logo\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4.gif\" alt=\"D4 Logo\" width=\"150\" height=\"100\"><\/div>\n<div id=\"nav-threshold\"><\/div>\n<div class=\"nav\">\n<p style=\"text-align: center; font-size: 13px;\"><span style=\"color: #333333;\"><strong>D<sup>4<\/sup><\/strong><\/span>&nbsp; &nbsp;&nbsp;<strong>\u00b7<\/strong> &nbsp;&nbsp;<a href=\"#news\">NEWS<\/a> &nbsp;&nbsp;<strong>\u00b7<\/strong> &nbsp;&nbsp;<a href=\"#about\">ABOUT<\/a> &nbsp;&nbsp;<strong>\u00b7<\/strong> &nbsp; <a href=\"#why\">WHY<\/a>&nbsp; &nbsp;<strong>\u00b7<\/strong> &nbsp;&nbsp;<a href=\"#features\">FEATURES<\/a>&nbsp; &nbsp;<strong>\u00b7<\/strong>&nbsp; &nbsp;<a href=\"#media\">MEDIA<\/a> &nbsp;&nbsp;<strong>\u00b7<\/strong> &nbsp; <a href=\"#tldr\">TL;DR<\/a>&nbsp; &nbsp;<strong>\u00b7<\/strong>&nbsp; &nbsp;<a href=\"#download\"><strong>GET<\/strong><\/a>&nbsp; &nbsp;<strong>\u00b7<\/strong> &nbsp; <a href=\"#faq\">FAQ<\/a>&nbsp;&nbsp;&nbsp;<strong>\u00b7<\/strong>&nbsp; &nbsp;<a href=\"#support\">SUPPORT<\/a>&nbsp; &nbsp;<strong>\u00b7<\/strong>&nbsp; &nbsp;<a href=\"#top-bar\">TOP<\/a><\/p>\n<\/div>\n<div id=\"nav-placeholder\"><\/div>\n<p><a name=\"news\"><\/a>&nbsp<br \/>\n&nbsp<\/p>\n<h3>News<\/h3>\n<p><strong>2026.03.05 &nbsp;\u00b7 &nbsp;<\/strong>Fixes long-standing D4 bugs, including 2-speaker layer issues, version 2.6.0. (<a href=\"https:\/\/ico.bukvic.net\/Max\/CHANGELOG.txt\">CHANGELOG<\/a>)<br \/>\n<strong>2026.02.25 &nbsp;\u00b7 &nbsp;<\/strong>Added IU KIX Lab RTV100 calibration and made it default, replaced Ambeo Orbit with Sennheiser&#8217;s dearVR MICRO for Mac only, version 2.5.7.<br \/>\n<strong>2026.02.18 &nbsp;\u00b7 &nbsp;<\/strong>Max9 compatible versions of the external, automated OS detection for the HRTF plugins, version 2.5.6.<br \/>\n<strong>2022.08.11 &nbsp;\u00b7 &nbsp;<\/strong>Maintenance release with additional calibration and visualization options, version 2.5.5.<br \/>\n<strong>2022.04.12 &nbsp;\u00b7 &nbsp;<\/strong>Bug-fix release with improvements, version 2.5.4.<br \/>\n<strong>2022.03.17 &nbsp;\u00b7 &nbsp;<\/strong>Bug-fix release with minor improvements, version 2.5.3.<br \/>\n<strong>2022.02.15 &nbsp;\u00b7 &nbsp;<\/strong>Bug-fix release with minor improvements, version 2.5.2.<br \/>\n<strong>2022.02.09 &nbsp;\u00b7 &nbsp;<\/strong>Bug-fix release with minor improvements, version 2.5.1.<br \/>\n<strong>2022.01.25 &nbsp;\u00b7 &nbsp;<\/strong>Bug-fix release with new builds of the external, version 2.5.0.<br \/>\n<strong>2022.01.17 &nbsp;\u00b7 &nbsp;<\/strong>Minor release with documentation and demo patch improvements, version 2.4.1.<br \/>\n<strong>2021.06.08 &nbsp;\u00b7 &nbsp;<\/strong>Major release with the introduction of the binaural mesh, bug-fixes, documentation, version 2.4.0.<br \/>\n<strong>2019.09.17 &nbsp;\u00b7 &nbsp;<\/strong>Minor improvements and bug-fixes, version 2.3.1.<br \/>\n<strong>2019.08.22 &nbsp;\u00b7 &nbsp;<\/strong>Major release with a native Max external, bunch of additions, improvements, and bug-fixes, version 2.3.0.<br \/>\n<strong>2018.09.10 &nbsp;\u00b7 &nbsp;<\/strong>Minor improvements and bug-fixes, version 2.2.2.<br \/>\n<strong>2018.08.06 &nbsp;\u00b7 &nbsp;<\/strong>Minor improvements to the modular output example, version 2.2.1.<br \/>\n<strong>2018.08.03 &nbsp;\u00b7 &nbsp;<\/strong>Enabled applying mask to custom parameters and modular output abstractions, included Moogfest 2017 demo, version 2.2.0.<br \/>\n<strong>2017.05.19 &nbsp;\u00b7 &nbsp;<\/strong>Minor version bump for the Moogfest 2017, version 2.1.2.<br \/>\n<strong>2016.09.14 &nbsp;\u00b7 &nbsp;<\/strong>Minor version bump, version 2.1.1.<br \/>\n<strong>2016.09.11 &nbsp;\u00b7 &nbsp;<\/strong>Upcoming workshop at the <a href=\"https:\/\/www.openconf.org\/icmc2016\/papers\/modules\/request.php?module=oc_program&amp;action=summary.php&amp;id=72\">ICMC 2016<\/a> (Sept. 15th @ 130pm in RASA Studio). Special pricing available for the workshop participants.<br \/>\n<strong>2016.08.15 &nbsp;\u00b7 &nbsp;<\/strong>Version 2.1.0 now available with new features, including the D4.timeline.editor, and a series of optimizations.<br \/>\n<strong>2016.07.07 &nbsp;<strong>\u00b7 &nbsp;<\/strong><\/strong>ICAD 2016 paper now available <a href=\"https:\/\/www.researchgate.net\/publication\/305073743_3D_TIME-BASED_AURAL_DATA_REPRESENTATION_USING_D_4_LIBRARY%27S_LAYER_BASED_AMPLITUDE_PANNING_ALGORITHM\">online<\/a>.<br \/>\n<strong>2016.07.05 &nbsp;\u00b7 &nbsp;<\/strong>ICAD 2016 workshop, released version 2.0.6.<strong><br \/>\n<strong>2016.06.20<\/strong>&nbsp;&nbsp;<strong>\u00b7 &nbsp;<\/strong><\/strong>First public release, version 2.0.0.<\/p>\n<p><a name=\"about\"><\/a>&nbsp<br \/>\n&nbsp<\/p>\n<h3>Welcome to the Future of Audio Spatialization<\/h3>\n<p>Originally introduced in 2014 as a framework for a <a href=\"https:\/\/ico.bukvic.net\/main\/tornado-simulation\/\">tornado simulation<\/a> in&nbsp;the newfound Virginia Tech&#8217;s $30M holodeck-like&nbsp;<a href=\"https:\/\/ico.bukvic.net\/main\/icat\/\">ICAT Cube<\/a>,<em>&nbsp;D<sup>4<\/sup><\/em>&nbsp;(2016) is a comprehensive audio spatialization library for the <a href=\"https:\/\/cycling74.com\/\">MaxMSP<\/a>&nbsp;(version 7) visual programming language. It consists of two components:<\/p>\n<ul>\n<li>An innovative <strong>Layer Based Amplitude Panning (LBAP)<\/strong> algorithm first&nbsp;publicly introduced&nbsp;at the ICAD 2016 conference in Canberra, Australia, and<\/li>\n<li>A multimodal library of <a href=\"https:\/\/cycling74.com\">MaxMSP<\/a> patches and&nbsp;abstractions designed to optimize the use of the <a title=\"Layer Based Amplitude Panning\">LBAP<\/a> algorithm and complement it with first-of-a-kind cutting-edge features, such as the <strong>Binaural Mesh<\/strong>, <strong>Motion Blur<\/strong>, and the <strong>Spatial Mask<\/strong>.<\/li>\n<\/ul>\n<p><a name=\"why\"><\/a>&nbsp<br \/>\n&nbsp<\/p>\n<h3>Yet another spatialization algorithm?<\/h3>\n<p>From an artistic perspective, whereas the 20th century can be seen as the emancipation of timbre in music, 21st century&nbsp;is shaping into the&nbsp;long overdue&nbsp;emancipation of spatial sound.&nbsp;Sound spatialization is indeed the last&nbsp;remaining frontier in the musical expression that is yet to attain structural importance matching that of pitch, loudness, timbre, and their derivatives, such as rhythm, harmony, and polyphony.<\/p>\n<p>The lack of the spatial revolution may be in part indebted to the slow and often costly adoption of High Density Loudspeaker Arrays (<a title=\"High Density Loudspeaker Array\">HDLA<\/a>s) which has in turn limited its extensive research and integration as a core element that guides musical form and structure. The second reason may be the lack of tools that make time-based&nbsp;spatialization a breeze, particularly in a growing number of unique <a title=\"High Density Loudspeaker Array\">HDLA<\/a> venues. Even though massively multichannel electronic music&nbsp;works already point towards the aforesaid spatial&nbsp;emancipation, they tend to be regarded as experimental and are usually difficult to transport between various venues.&nbsp;Similarly, the mainstream media seldom&nbsp;goes beyond the conventional stereo sound diffusion with Dolby Surround entertainment systems rarely utilizing additional channels in a compelling way.<\/p>\n<p>In respect to research in the area of audification and sonification, spatial sound remains largely an unknown quantity. Other&nbsp;emerging areas include&nbsp;immersion, Virtual and Augmented Reality. The lack of an accessible&nbsp;and easily transportable\/reproducible translation of data sources into spatial sound is seen as a major obstacle. Consequently, the review of the existing spatialization tools, their features, and limitations has identified core traits necessary for a tool to optimally address the said challenges:<\/p>\n<ul>\n<li>Support for irregular High Density Loudspeaker Arrays (<a title=\"High Density Loudspeaker Array\">HDLA<\/a>s), with particular focus on perimeter-based 3D spatialization<\/li>\n<li>Focus on the ground truth and immersion with minimal amount of idiosyncrasies<\/li>\n<li>Leverage vantage point to promote data comprehension<\/li>\n<li>Optimized, lean, scalable, and accessible, and<\/li>\n<li>Ease of use through supporting rapid-prototyping time-based&nbsp;tools<\/li>\n<\/ul>\n<p><em>D<sup>4<\/sup><\/em>&nbsp;aims to address these challenges by:<\/p>\n<ul>\n<li>Introducing&nbsp;a new&nbsp;<a title=\"Layer Based Amplitude Panning\">LBAP<\/a> algorithm that gracefully scales to a large number of speakers supporting virtually any speaker configuration (e.g. in the ICAT Cube it has been utilized&nbsp;with up to 128&nbsp;speakers with sub-20ms latency), while also providing ground truth with minimal amount of idiosyncrasies;<\/li>\n<li>Integrating the the <a title=\"Layer Based Amplitude Panning\">LBAP<\/a> algorithm into a comprehensive library of time-based editing tools, offering different levels of granularity from audio spatialization beginners to experts, thereby shifting focus away from the algorithm and low-level knowledge of spatialization to content spatialization itself,&nbsp;and<\/li>\n<li>Offering a <strong>Mostly Open Source Software (MOSS)<\/strong>&nbsp;approach where the proprietary components are lean and leverage maximum possible amount of built-in objects and tools whose open source model&nbsp;allows the ensuing community to easily and collaboratively build upon the core spatialization model and fine-tune system to their specific needs, including additional filtering and other techniques that further enhance its core functionality.<\/li>\n<\/ul>\n<p>&nbsp<br \/>\n&nbsp<br \/>\n<a href=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_Cube.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1045 size-full\" title=\"D4 ICAT Cube Monitor\" src=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_Cube.jpg\" alt=\"D4 ICAT Cube Monitor\" width=\"1444\" height=\"886\" srcset=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_Cube.jpg 1444w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_Cube-300x184.jpg 300w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_Cube-768x471.jpg 768w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_Cube-1024x628.jpg 1024w\" sizes=\"auto, (max-width: 1444px) 100vw, 1444px\" \/><\/a><\/p>\n<p><a name=\"features\"><\/a>&nbsp<br \/>\n&nbsp<\/p>\n<h3>Unique Opportunities<\/h3>\n<p>What arguably sets <em>D<sup>4&nbsp;<\/sup><\/em>apart from other spatialization approaches is its accessibility&nbsp;and malleability. Alongside the usual <strong>azimuth<\/strong> and <strong>elevation<\/strong> parameters that enable it&nbsp;to serve as a drop-in replacement for the existing spatialization approaches, <em>D<sup>4<\/sup><\/em>&nbsp;also offers an array of interactive and time-based tools for manipulating spatial audio, making it suitable for hobbyists and professionals alike. These include options like <strong>Radius<\/strong>, a high precision version of&nbsp;<a title=\"Vector Based Amplitude Panning\">VBAP<\/a>&#8216;s source spread that enables growing a sound source akin to a spotlight, and, more importantly, the&nbsp;<strong>Motion Blur<\/strong>, <strong>Spatial Mask<\/strong>, and&nbsp;the <strong>Binaural Mesh<\/strong>.<\/p>\n<p>The Spatial Mask mimics its visual counterpart by allowing users to specify predetermined amplitude limits onto each physical source or loudspeaker. Each sound source or an audio bus can have its own mask. Where the Spatial Mask is 0 (zero), no sound will come out no matter the source position or amplitude, whereas where it is 1 (one) the mask will have no effect on the sound source as it traverses target loudspeaker. Therefore, as the sound source traverses the <a title=\"High Density Loudspeaker Array\">HDLA<\/a>, its output will be limited by the Spatial Mask. Consequently, <em>D<sup>4<\/sup><\/em>&nbsp;leverages <a href=\"https:\/\/cycling74.com\">MaxMSP<\/a>&#8216;s Jitter library to empower its users for the first time ever to paint spatial sound. The built-in <strong>Mask Editor<\/strong>&nbsp;offers visual rendering of each loudspeaker&#8217;s Spatial Mask, enabling complex spatial mapping that goes beyond a simple point and spherically expanding source. More importantly, the mask can read from any grayscale multidimensional array and can be imported from just about any data source that is readable by the Jitter library. From video (e.g. with its RGB channels split into three masks and therefore three sources) to abstract multidimensional data sets, Spatial Mask can render such data by leveraging to the fullest extent human ability to perceive audio spatially. This makes it particularly fit for pursuing research in the area of spatial data sonification, artistic production, as well as the movie industry.<\/p>\n<p>&nbsp<br \/>\n&nbsp<br \/>\n<a href=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1018 size-full\" title=\"D4 Mask Editor\" src=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4.jpg\" alt=\"D4 Mask Editor\" width=\"1678\" height=\"837\" srcset=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4.jpg 1678w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4-300x150.jpg 300w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4-768x383.jpg 768w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4-1024x511.jpg 1024w\" sizes=\"auto, (max-width: 1678px) 100vw, 1678px\" \/><\/a><\/p>\n<p>&nbsp<br \/>\n&nbsp<br \/>\nSpatial Mask is further coupled by other abstractions, including <strong>time-based mask reader<\/strong> and <strong>renderer<\/strong>. This allows for both real-time and non-real-time rendering of mask data and the ensuing sound.&nbsp;Each of these elements are carefully crafted as optional complementing modules that can be invoked and operate in perfect harmony with other components of the <em>D<sup>4<\/sup><\/em>&nbsp;ecosystem and beyond.&nbsp;Another exciting feature introduced by the&nbsp;<em>D<sup>4<\/sup><\/em>&nbsp;library is ability to customize per-channel&nbsp;<strong>audio envelope up and down ramps<\/strong>. As the audio increases in loudness, its increase can be different than its decrease. The ensuing envelope manipulation&nbsp;serves as the foundation for&nbsp;an aural version of a spatial&nbsp;<strong>Motion Blur<\/strong>.<\/p>\n<p>As of version 2.4.0, <em>D<sup>4<\/sup><\/em> has introduced another first-of-a-kind feature&#8211;the <strong>Binaural Mesh<\/strong>. Whereas traditional approaches to virtualizing sound using headphone-based binauralization of the audio source utilizes one binaural pathway or plugin per source, the Binaural Mesh creates an array of binaural pathways or plugins for each virtualized loudspeaker. This approach offers a number of unique advantages over its traditional counterparts. First, it allows for a more accurate rendering of a venue it aims to simulate, including the way Radius propagates across various loudspeakers, any unique coloring of various loudspeakers, a finer control over special loudspeakers such as subwoofers, avoidance of potentially inconsistent coloring of the sound as it transitions from one position to another due to limitations of the parametric and\/or convolution-based mapping, as well as simulation of other potential idiosyncrasies of the simulated space and the underlying spatialization algorithm, such as phasing between adjacent loudspeakers rendering the same sound. The same also allows for the use of <em>D<sup>4<\/sup><\/em>&#8216;s unique affordances, such as the Spatial Mask, as well as a battery of its supporting tools and widgets. It offers seamless transition from physical to virtual, requiring only minimal adjustments to your code. Each such virtual loudspeaker further enables per-loudspeaker enhancements, e.g. per-loudspeaker modulation of the audio signal that goes beyond the usual parametric options offered by the common binaural tools and plugins, something that may prove particularly useful in the area of immersive sonification research.<\/p>\n<p>The <em>D<sup>4<\/sup><\/em>&#8216;s approach to binaural reproduction of spatial audio sources is also uniquely modular. By default, it relies on a free <a href=\"https:\/\/en-us.sennheiser.com\/ambeo-orbit\">Sennheiser&#8217;s Ambeo Orbit<\/a> plugin. With minor adaptation of the provided example abstraction, this design choice allows users to experiment with different plugins and their approaches (e.g. parametric versus convolution-based) to binaural rendering of sources.<\/p>\n<p>Lastly, <em>D<sup>4<\/sup><\/em>&#8216;s binaural mesh has a unique ability to scale. It instantiates all the outputs once to be used by as many of audio sources as the users desires. Once the outputs are instantiated, additional sources generate minimal additional computational overhead. Note that depending on the number of virtual loudspeakers, rendering even a single source may prove significantly more computationally demanding than a traditional approach to binaural rendering of the same that utilizes only one binaural plugin. However, as the number of virtual sources increases, a live rendering of binaural sources using traditional one-plugin-per-source approach eventually catches up and exceeds the computational overhead of D4&#8217;s Binaural Mesh implementation. As of 2021, D4 library has been able to render up to 32 virtual and parallelly processed loudspeakers using Ambeo Orbit&#8217;s HRTF-driven binauralization.<\/p>\n<p><em>D<sup>4<\/sup><\/em>&#8216;s focus is on <strong>optimization<\/strong>. It dynamically creates only minimal amount of necessary objects to offer the desired functionality. As such, numbers of outputs are dynamically generated using supporting scripts at runtime. The library implementation also utilizes parallel processing to the extent afforded by the <a href=\"https:\/\/cycling74.com\/\">MaxMSP<\/a> (version 7). As part of its original launch in 2014 <em>D<sup>4<\/sup><\/em> has been utilized&nbsp;in the Virginia Tech ICAT Cube for the inaugural <a href=\"https:\/\/ico.bukvic.net\/main\/tornado-simulation\/\">tornado simulation<\/a> with 128 channels of audio at 48KHz 24-bit using Dante interface with single audio buffer size of 256 bytes (or 5.33ms) with 21 simultaneous audio streams, 5 of which were in constant motion, for a total of 1,018 software audio streams being mixed down to 128 physical channels. No audio dropouts were observed in the said scenario. In 2019, with new optimizations introduced in the version 2.3.0, MaxMSP and the library were further pushed as part of a new composition titled <a href=\"https:\/\/www.youtube.com\/watch?v=jPBzkMkQlq4\">Traces<\/a> to utilize 130 (124.4.2) channels of audio, while increasing the number of software audio streams to 7,955, or almost 800% over the Tornado implementation, with the number of function calls increasing 500% from 5,103 in the tornado simulation to 25,337. <em>D<sup>4<\/sup><\/em>has also served as the foundation for a <a href=\"https:\/\/ico.bukvic.net\/main\/sadie\/\">NSF-funded research<\/a> and comes with an example of sonified spatial mask generated from the rich 3D geospatial data. Today, library is used worldwide among professionals and universities.<\/p>\n<p>Best of all, <em>D<sup>4<\/sup><\/em>&nbsp;is designed to leverage maximum amount of builtin <a href=\" http:=\" \"=\"\" cycling74.com\"=\"\">MaxMSP<\/a> resources. With the exception of&nbsp;the two proprietary externals responsible for the computation of the <a title=\"Layer Based Amplitude Panning\">LBAP<\/a>&nbsp;algorithm and its rendition, all of the abstractions, editors, and supporting tools are free and open source, published under the <a href=\"https:\/\/creativecommons.org\/licenses\/by\/3.0\/us\/\" rel=\"license\">Creative Commons Attribution 3.0 United States License<\/a> designed to encourage customization and derivative work. Unlike other spatialization algorithms whose implementations tend to be&nbsp;exclusively&nbsp;black box solutions, this hybrid&nbsp;approach leaves plenty of room for users and researchers to extend its functionality, embed such functionality in their own projects, and share the ensuing findings and improvements with the community at large.<\/p>\n<p>&nbsp<br \/>\n&nbsp<\/p>\n<p><a href=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_3D_visualizer.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1111 size-full\" title=\"D4 3D Visualizer\" src=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_3D_visualizer_wide.jpg\" alt=\"D4 3D Visualizer\" width=\"1600\" height=\"755\" srcset=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_3D_visualizer_wide.jpg 1600w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_3D_visualizer_wide-300x142.jpg 300w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_3D_visualizer_wide-768x362.jpg 768w, https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4_3D_visualizer_wide-1024x483.jpg 1024w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/a><\/p>\n<p>&nbsp<br \/>\n&nbsp<\/p>\n<p>Supporting tools include 3D visualization of the space and speaker levels using built-in <strong>3D visualizer<\/strong>, as well as a collection of <strong>helper abstractions<\/strong> for advanced audio motion,&nbsp;like the sound rotation around the perimeter at an angle, so that the sound&#8217;s rotation appears to wobble or be off-center. The system is comes with a <strong>built-in set of level monitors<\/strong> for ICAT and Virginia Tech spaces (e.g. <em>D<sup>4<\/sup><\/em>&nbsp;ICAT Cube Monitor showcased above), plus a template monitor for a 7.1 space. Additional visualizations are easily created using a collection of built-in abstractions specially built for this purpose.<\/p>\n<p><em>D<sup>4<\/sup><\/em>&nbsp;allows for easy&nbsp;reconfiguration of all&nbsp;of the&nbsp;spatialization objects through a simple message. Its impact is near instantaneous and allows for seamless <strong>transportability<\/strong> of spatialized audio to a broad array of loudspeaker configurations, from monaural, to as many as your computer can handle. The <a title=\"Layer Based Amplitude Panning\">LBAP<\/a> algorithm <strong>can handle just about any loudspeaker arrangement<\/strong> and offers an ability to define <strong>independent layers<\/strong> (e.g. a subwoofer array) whose spatialization is calculated in parallel to the main loudspeaker&nbsp;system. More so, its implementation treats <strong>each audio stream as a separate bus<\/strong> that can be individually manipulated and monitored.<\/p>\n<p><a name=\"media\"><\/a>&nbsp<br \/>\n&nbsp<\/p>\n<h3>D<sup>4<\/sup> in Action<\/h3>\n<p><a href=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4.timeline.editor.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1253\" title=\"D4.timeline.editor\" src=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4.timeline.editor.gif\" alt=\"D4.timeline.editor\" width=\"1600\" height=\"1068\"><\/a><\/p>\n&nbsp\n<p><a href=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4.mask_.editor_in_acton.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1265\" title=\"D4.mask.editor and D4.meter.monitor.cube~\" src=\"https:\/\/ico.bukvic.net\/main\/wp-content\/uploads\/2016\/06\/D4.mask_.editor_in_acton.gif\" alt=\"D4.mask.editor and D4.meter.monitor.cube~\" width=\"1600\" height=\"1004\"><\/a><\/p>\n<p><a name=\"tldr\"><\/a>&nbsp<br \/>\n&nbsp<\/p>\n<h3><a title=\"Too long; Didn't Read\">TL;DR<\/a> Version<\/h3>\n<p>We all lead busy lives. Below are key highlights why you may want to consider investing in <em>D<sup>4<\/sup><\/em>&nbsp;for all your audio spatialization needs:<\/p>\n<ul>\n<li>Innovative&nbsp;<a title=\"Layer Based Amplitude Panning\">LBAP<\/a> algorithm that&nbsp;can handle just about any loudspeaker arrangement&nbsp;with particular focus on High Density Loudspeaker Arrays (<a title=\"High Density Loudspeaker Array\">HDLA<\/a>s)<\/li>\n<li>Innovative implementation of high precision audio source Radius and Motion Blur, and first-of-a-kind aural Spatial Mask and, most recently, first-of-a-kind Binaural Mesh that allows for seamless virtualization of spatialized content and the library&#8217;s advanced features<\/li>\n<li>Revolutionary visual spatialization editing tools for hobbyists and professionals alike, including spatial source painting<\/li>\n<li>Ability to import and spatialize a broad array of multidimensional data by leveraging the Jitter library<\/li>\n<li>Multilayered system with independent layers and focus on perimeter-based 3D immersion<\/li>\n<li>3D visualization of spatial audio and hooks for immersive scenarios, including Virtual Reality (VR) and Augmented Reality (AR)<\/li>\n<li>A comprehensive collection of time-based editing tools<\/li>\n<li>A Mostly Open Source Software (MOSS) approach empowering users to tinker and improve the system<\/li>\n<li>Lean and optimized implementation leveraging maximum amount of built-in <a href=\"https:\/\/cycling74.com\">MaxMSP<\/a> objects, including dynamic creation and parallel processing<\/li>\n<li>A drop-in replacement for the existing spatialization options (e.g. using azimuth and elevation)<\/li>\n<li>Ideal for researchers, production engineers, and artists alike<\/li>\n<\/ul>\n<p><a name=\"download\"><\/a>&nbsp<br \/>\n&nbsp<\/p>\n<h3>Download D<sup>4<\/sup><\/h3>\n<p>If you are here to check out the timed demo, please read the EULA and once you click on the EULA agreement button below, you will be given the download link. If you have decided to invest in <em>D<sup>4<\/sup><\/em>, thank you for supporting the ongoing development of the <em>D<sup>4<\/sup><\/em>&nbsp;library! You will be able to download the latest demo version below and authorize it with purchased authorization key.<\/p>\n<p>Please note <em>D<sup>4<\/sup><\/em>&nbsp;offers the following pricing packages (all prices are&nbsp;in US Dollars):<\/p>\n<ul>\n<li>Students <strong>$75<\/strong><\/li>\n<li>Professionals <strong>$150<\/strong><\/li>\n<li>Organizations (<a href=\"mailto:ico@bukvic.net?subject=D4 Organization License Quote\">REQUEST A QUOTE<\/a>)<\/li>\n<\/ul>\n<p>Students can purchase&nbsp;the software at a discount, while professionals&nbsp;pay the full price. Organizations can either receive software at a professional price per station or may want to consider paying for a&nbsp;site license&nbsp;which may also&nbsp;include a&nbsp;design of a custom solution for their specific audio infrastructure, as well as special licensing arrangements that offer greater flexibility in terms of sharing derivative approaches to spatialization. Given the potential complexity of such an endeavor, quotes are provided on individual project basis based upon the project scope and size.<\/p>\n<p><strong>IMPORTANT!<\/strong>&nbsp;All transactions are managed through the Paypal service and are subject to service terms. Each license is authorized per computer for up to two computers per license. Once you run any of the included examples containing the proprietary externals for the first time, you will be given a <strong>challenge token<\/strong> that will be printed out in the Max Console. Please email that challenge to the address provided in the console or click&nbsp;<a href=\"mailto:ico@bukvic.net?subject=D4 Authorization\">HERE<\/a>. Students should also attach a scan of their student ID as a proof of their student status. Once received, you will be emailed an authorization key. Simply drop the authorization key into the folder with the <em>D<sup>4<\/sup><\/em> objects and you should be all set. All authorization&nbsp;requests will be processed 9am-5pm Monday-Friday Eastern Time.<\/p>\n<p><strong>Please review the End User License Agreement (EULA) prior to purchasing the software and\/or downloading the demo.<\/strong><br \/>\n&nbsp<br \/>\n&nbsp<br \/>\n<img decoding=\"async\" style=\"margin-bottom: 3px;\" src=\"https:\/\/www.paypalobjects.com\/webstatic\/en_US\/i\/buttons\/cc-badges-ppppcmcvdam.png\" alt=\"Pay with PayPal, PayPal Credit or any major credit card\"><br \/>\n<a href=\"https:\/\/ico.bukvic.net\/main\/d4-eula\/\" target=\"\" rel=\"noopener noreferrer\"><button style=\"background-color: #dc0000; color: white; text-shadow: none; margin-top: 5px;\" type=\"button\">Read the EULA<\/button><\/a>&nbsp&nbsp<button id=\"buy-button\" style=\"background-color: orange; color: rgba(0, 0, 0, .8); margin-top: 5px;\" type=\"button\">Great!&nbsp;I agree to the EULA. Now show me the purchase&nbsp;and download options.<\/button><\/p>\n<div id=\"buy\">\n<form style=\"display: inline-block;\" action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\" target=\"_top\"><input name=\"cmd\" type=\"hidden\" value=\"_s-xclick\"><input name=\"hosted_button_id\" type=\"hidden\" value=\"TUTPJXPUJ6XV8\"><input style=\"padding: 12px 14px; font-size: 14px; margin-right: 5px; margin-top: 5px;\" alt=\"PayPal - The safer, easier way to pay online!\" name=\"submit\" type=\"submit\" value=\"PROFESSIONAL $150\"><\/form>\n<form style=\"display: inline-block;\" action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\" target=\"_top\"><input name=\"cmd\" type=\"hidden\" value=\"_s-xclick\"><input name=\"hosted_button_id\" type=\"hidden\" value=\"XUUK6BDB9ZZ6N\"><input style=\"padding: 12px 14px; font-size: 14px; margin-right: 5px; margin-top: 5px;\" alt=\"PayPal - The safer, easier way to pay online!\" name=\"submit\" type=\"submit\" value=\"STUDENT $75\"><\/form>\n<div style=\"display: inline-block;\"><a style=\"color: rgba(0, 0, 0, .8);\" href=\"mailto:ico@bukvic.net?subject=D4 Organization License Quote\"><input style=\"padding: 12px 14px; font-size: 14px; margin-right: 5px; margin-top: 5px;\" type=\"button\" value=\"ORGANIZATION (Request a Quote)\"><\/a><\/div>\n<div style=\"display: inline-block;\"><a style=\"color: rgba(0, 0, 0, .8);\" href=\"https:\/\/ico.bukvic.net\/Max\/D4.zip\"><input style=\"padding: 12px 14px; font-size: 14px; margin-right: 5px; margin-top: 5px;\" type=\"button\" value=\"DOWNLOAD\"><\/a><\/div>\n<\/div>\n<p><a name=\"faq\"><\/a>&nbsp<br \/>\n&nbsp<\/p>\n<h3>Frequently Asked Questions<\/h3>\n<p><strong>What operating systems does <em>D<sup>4&nbsp;<\/sup><\/em>support?<br \/>\n<\/strong><em>D<sup>4<\/sup><\/em> is a library&nbsp;that runs inside <a href=\"https:\/\/cycling74.com\">MaxMSP<\/a>. Therefore it currently supports Windows and Mac.<\/p>\n<p><strong>I would like to try <em>D<sup>4<\/sup><\/em> before buying it? Is there a demo?<br \/>\n<\/strong>Yes! Similar to&nbsp;<a href=\"https:\/\/cycling74.com\">MaxMSP<\/a>,&nbsp;<em>D<sup>4<\/sup><\/em>&nbsp;by default is a timed demo downloadable from the &#8220;<a href=\"#purchase\">get<\/a>&#8221; section above. Once&nbsp;<em>D<sup>4<\/sup><\/em>&nbsp;library is authorized,&nbsp;the timed demo limitation will be disabled.&nbsp;See FAQ below for more info on how to authorize&nbsp;<em>D<sup>4<\/sup><\/em>.<\/p>\n<p><strong>What are the software requirements for running <em>D<sup>4<\/sup><\/em>?<\/strong><br \/>\n<em>D<sup>4<\/sup><\/em> is a software that runs inside <a href=\"https:\/\/cycling74.com\">MaxMSP<\/a>, a commercial visual programming environment&nbsp;you will need to obtain separately. In addition its proprietary components require <a href=\"https:\/\/java.com\/en\/download\/\">Java<\/a> 1.6 or newer. While many&nbsp;computers come preinstalled with <a href=\"https:\/\/java.com\/en\/download\/\">Java<\/a>, you may need to manually install it yourself. <a href=\"https:\/\/java.com\/en\/download\/\">Java<\/a>&nbsp;is free to download and use.<\/p>\n<p><strong>Does support both 32-bit and 64-bit versions of MaxMSP?<br \/>\n<\/strong>Yes.<\/p>\n<p><strong>How do I get started?<br \/>\n<\/strong>The best way to start is to explore&nbsp;the D4.calc~-example file. From there you can investigate D4.mask.editor, D4.mask.renderer, D4.meter.monitor.* objects (cube~, disis~, and 7.1~), D4.mask.3D.visualizer, and D4.mask.player.<\/p>\n<p><strong>How do I authorize <em>D<sup>4<\/sup><\/em>?<br \/>\n<\/strong>Open the D4.calc~-example and you will be issued a&nbsp;<strong>challenge token<\/strong> on the Max console. Email the challenge token as per instructions provided there and you will receive an <strong>authorization key<\/strong>. Simply place the authorization key in the folder where the <em>D<sup>4<\/sup><\/em> library is located and you should be all set. You are more than welcome to have multiple copies of the <em>D<sup>4<\/sup><\/em> library on the same computer. Simply copy the same authorization key into all of the project folders containing the <em>D<sup>4<\/sup><\/em> library.<\/p>\n<p><strong>Can I have multiple installs of <em>D<sup>4<\/sup><\/em>?<br \/>\n<\/strong>Yes. A single license allows you to install <em>D<sup>4<\/sup><\/em> on up to two computers. Both should be owned by the same user and should not be used simultaneously.<\/p>\n<p><strong>Can I install <em>D<sup>4<\/sup><\/em> on multiple locations on the same computer?<br \/>\n<\/strong>Yes, you can have as many <em>D<sup>4<\/sup><\/em>&nbsp;installs&nbsp;as you like (e.g. for multiple projects) on the same computer. Just make sure that each location has the same authorization key and you should be all set.<\/p>\n<p><strong>Is the authorization key usable on multiple computers?<br \/>\n<\/strong>No. Each computer needs to be issued a unique authorization key.<\/p>\n<p><strong>I have a Bootcamp computer with both Mac and Windows operating systems installed. Do I need to authorize twice?<br \/>\n<\/strong>No.&nbsp;The <em>D<sup>4<\/sup><\/em> authorization is hardware-specific. Therefore, the same authorization should work on both Windows and Mac running on the same hardware, as is the case with Apple&#8217;s Bootcamp.<\/p>\n<p><strong>Once I purchase a license, am I eligible for free software updates?<br \/>\n<\/strong>All minor software updates are included in your license for free. For instance for owners of version 1.0, updated versions 1.1 or 1.7 will be free. For the same owners, however, the version 2.0 may require them to upgrade for a fee. Such upgrades will be announced with the next major release.<\/p>\n<p><strong>When I run all the different editors, my frame rate slows down significantly. What can I do about it?<br \/>\n<\/strong><em>D<sup>4<\/sup><\/em> comes with a collection of tools designed to provide complex visualization of dynamic audio data, such as D4.mask.editor and D4.mask.3D.visualizer.&nbsp;Their&nbsp;calculations when using a large number of speakers (e.g. &gt;100) can be rather computationally intensive. In order to allow for the system to scale, the library also includes lean versions of objects that can pre-render&nbsp;dynamic changes to the Spatial Mask into coll files and\/or calculate such data on the fly from an array of grayscale Jitter matrices, like the D4.mask.renderer. The same can be also played back using a lean D4.mask.player. Doing so will vastly increase performance.<\/p>\n<p><strong>I am on a Mac and when using the Cube visualizer, the meter refresh rate becomes visibly slower. What can I do about it?<br \/>\n<\/strong>If your primary focus is on editing, you can disable &#8220;Audio Interrupt&#8221; option found inside&nbsp;Max&#8217;s &#8220;Audio Status&#8230;&#8221; window. The side-effect of the ensuing speed-up may be that things are not as real-time as they ought to be. This is why in real-time tests and performances you should enable &#8220;Audio Interrupt&#8221; which will optimize latency at the expense of visual updates. Even if meters may not be updating fast enough, your audio output should remain unaffected.<\/p>\n<p><strong>Are there plans to implement <em>D<sup>4<\/sup><\/em>&nbsp;in other formats (e.g. VST)?<br \/>\n<\/strong>Yes. Their&nbsp;implementation will be driven primarily by the user demand. The goal is to also integrate a version inside the Ableton Live as a Max4Live plugin.<\/p>\n<p><strong>When using Max 8.1.11 Binaural Mesh examples seem unstable on Windows. How can I fix this?<br \/>\n<\/strong>As of 2.4.0 release (June 8th, 2021), it appears there may be a bug or a regression on Windows that is causing this instability whenever Max&#8217;s Signal Vector Size is anything other than 64. This bug has been reported to the Cycling74 devs and has been fixed for the upcoming 8.2.0 release. In the meantime, if you are looking to work with the Binaural Mesh patches on a Windows machine, until the bug is fixed you will want to stay with the Max version 8.0.8.<\/p>\n<p><strong>Have another question that has not been covered here?<br \/>\n<\/strong>Please feel free to <a href=\"mailto:ico@bukvic.net?subject=D4 Question\">contact me<\/a>.<\/p>\n<p><a name=\"support\"><\/a>&nbsp<br \/>\n&nbsp<\/p>\n<h3>Support<\/h3>\n<p>Please do not hesitate to <a href=\"mailto:ico@bukvic.net?subject=D4 Support Request\">contact me<\/a>&nbsp;should you encounter&nbsp;a problem or an unanswered question regarding installing&nbsp;or using<em> D<sup>4<\/sup><\/em>.<br \/>\n&nbsp<br \/>\n&nbsp<br \/>\n<center>D<sup>4<\/sup>, LBAP algorithm, Spatial Mask, Binaural Mesh, Radius, and Motion Blur \u00a9 2014-2026 Ivica Ico Bukvic. All items except the LBAP algorithm are All Rights Reserved. LBAP algorithm is available as public domain knowledge&#8211;see the first <a href=\"https:\/\/www.researchgate.net\/publication\/305073743_3D_TIME-BASED_AURAL_DATA_REPRESENTATION_USING_D_4_LIBRARY%27S_LAYER_BASED_AMPLITUDE_PANNING_ALGORITHM\">D4 publication<\/a> for more info.<\/center><br \/>\n&nbsp<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Originally introduced in 2014 as a framework for a Tornado simulation in the newfound Virginia Tech&#8217;s $30M holodeck-like ICAT Cube, D4 (2016) is a comprehensive audio spatialization library for the MaxMSP (version 7) visual programming language. It consists of an innovative Layer Based Amplitude Panning (LBAP) algorithm that was first publicly introduced at the ICAD 2016 conference in Canberra, Australia, and<br \/>\na multimodal library of MaxMSP patches and abstractions designed to optimize use of the LBAP algorithm.<\/p>\n","protected":false},"author":1,"featured_media":1037,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-fullwidth.php","meta":{"footnotes":""},"class_list":["post-1024","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/ico.bukvic.net\/main\/wp-json\/wp\/v2\/pages\/1024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ico.bukvic.net\/main\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ico.bukvic.net\/main\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ico.bukvic.net\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ico.bukvic.net\/main\/wp-json\/wp\/v2\/comments?post=1024"}],"version-history":[{"count":241,"href":"https:\/\/ico.bukvic.net\/main\/wp-json\/wp\/v2\/pages\/1024\/revisions"}],"predecessor-version":[{"id":2415,"href":"https:\/\/ico.bukvic.net\/main\/wp-json\/wp\/v2\/pages\/1024\/revisions\/2415"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ico.bukvic.net\/main\/wp-json\/wp\/v2\/media\/1037"}],"wp:attachment":[{"href":"https:\/\/ico.bukvic.net\/main\/wp-json\/wp\/v2\/media?parent=1024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}