<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Baoshan Sheng on Medium]]></title>
        <description><![CDATA[Stories by Baoshan Sheng on Medium]]></description>
        <link>https://medium.com/@baoshan_sheng?source=rss-7206bcaffeb0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*evgxOOGbIl4JAx0VTbB5LQ.png</url>
            <title>Stories by Baoshan Sheng on Medium</title>
            <link>https://medium.com/@baoshan_sheng?source=rss-7206bcaffeb0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 18:14:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@baoshan_sheng/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[New Classical Music Experience on macOS]]></title>
            <link>https://medium.com/tonal/new-classical-music-experience-on-macos-e027511fbaa8?source=rss-7206bcaffeb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e027511fbaa8</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[apple-music-classical]]></category>
            <category><![CDATA[mac]]></category>
            <dc:creator><![CDATA[Baoshan Sheng]]></dc:creator>
            <pubDate>Wed, 12 Jul 2023 07:10:03 GMT</pubDate>
            <atom:updated>2023-07-14T13:42:32.484Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n7vsSmoeiKOra-znPlh8Zg.png" /><figcaption>Photo by <a href="https://unsplash.com/@larisabirta?utm_source=medium&amp;utm_medium=referral">Larisa Birta</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>According to <a href="https://luminatedata.com/reports/luminate-2022-u-s-year-end-report/">Luminate</a>, classical and jazz lovers are more receptive to digital downloads. Compared to streaming services, the advantages of a <em>local music collection</em> include the following:</p><ul><li><strong>More degree of freedom</strong>. Digital downloads and CD/SACD rips cover most classical music recordings. If you have some <em>bootlegs</em>, feel free to add them to your local music collection. Because you can edit <em>embedded tags</em> freely, you also have <em>higher autonomy</em> regarding music metadata.</li><li><strong>Audiophile playback.</strong> Local <em>“audiophile”</em> players usually have better<em> control</em> over playback: some support Hi-Res, some support <em>bit-accurate</em> playback, and some support direct DSD playback without converting to PCM. If you need EQ, upsampling, volume dithering, room correction, etc., you also have more choices within local players.</li><li><strong>No lock-in.</strong> Streaming apps have built-in charts, radios, editor’s picks, and algorithm-based recommendations, but these cannot replace traditional channels such as print media, podcasts, websites, forums, and live experiences. Streaming apps <em>may slowly kill one’s spontaneity</em>.</li><li><strong>Lean and lightweight.</strong> Local players’ familiar and snappy experience encourages you to accomplish your task quickly and focus more on the music. Streaming apps are usually less responsive and more distracting.</li><li><strong>Predictable sound quality.</strong> Remember the blurry image when an Apple TV+ or Netflix show starts? Streaming apps use <em>adaptive quality</em> to avoid frequent buffering during playback <em>under certain conditions</em>. By contrast, local playback is more predictable.</li><li><strong>Longer <em>“half-life.”</em></strong> Young idols of 10 years ago may have disappeared, but <em>Gould’s Goldberg</em> from nearly 70 years ago will still be reissued.</li></ul><p>Building a classical music collection, at its essence, is building your <em>répertoire</em> and challenges your <em>curation thinking</em>. It would be best to have a <em>tool</em> that understands <em>collection building</em>, not only an <em>audio player</em>.</p><h3>Build a Classical Music Collection on Mac</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bjBbFiF-5Z6WlOypy9WSng.png" /><figcaption>Tonal is an audiophile player for macOS.</figcaption></figure><p>I’ve been <em>playing </em>with <a href="http://apps.apple.com/app/tonal/id6449281141">the new Tonal app</a> for several weeks to build a <em>mini collection</em> of dozens of albums. Does Tonal <em>support</em> classical music well? Let’s take a look.</p><h4>The Visual Design</h4><p>Compared to cross-platform audiophile players, Tonal’s visual design is <em>anonymized, minimal, and authentic </em>— in line with users’ expectations for a <em>native</em> macOS app. You must find Tonal familiar if you are familiar with Apple’s <em>first-party</em> apps such as <em>Finder</em>, <em>Music</em>, etc.</p><p>Tonal is also consistent with the <em>Music</em> app in using shortcut keys.</p><h4>The Sidebar</h4><p>Like <em>Finder</em>, Tonal’s sidebar provides navigation entries. From top to bottom, the sidebar is divided into three sections: <em>Library</em>, <em>Browse,</em> and <em>Audio Devices</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*II_o-PD7m7PlzQvF5slxnQ.png" /><figcaption>Tonal’s sidebar.</figcaption></figure><h4>Library Section</h4><p>Entries in the <em>Library</em> section group and sort albums by <em>Release Years</em>, <em>Collection Years</em>, <em>Last Played Years,</em> and <em>Audio Formats</em>.</p><p>Take <em>Release Years</em> as an example: the middle column profiles the years and decades in which your albums were released; the grid view will also be grouped and sorted according to an album’s release year or decade.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*80RfpAokvcnQAxnpmWsX1g.png" /><figcaption>Browse albums by release years.</figcaption></figure><p>When <em>Audio Formats</em> is selected, the middle column profiles the audio formats of your collection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gcwdYjUiZ3EpYnC9XxVkkQ.png" /><figcaption>Tonal supports high-res PCM up to 768 kHz and DSD 256.</figcaption></figure><p>Entries in the <em>Library</em> section are uncommon in streaming apps because streaming apps index millions of albums. I less often use these entries, but knowing what you’ve <em>collected</em> or <em>listened to </em>10<em> </em>years ago is a beautiful experience.</p><h4>Global Search</h4><p>You can search for combinations of keywords such as <em>Prokofiev Concerto</em> using the <em>global search field</em> in the upper left corner.</p><p><em>Global search</em> and other features play nicely together. Search for <em>Prokofiev Concerto</em> with <em>Release Years</em> selected in the sidebar, and you can see the grid view is grouped and sorted according to an album’s release year or decade.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*03YRvGfddYMWhQnAkZhzZQ.png" /><figcaption>My newest Prokofiev concerto album was released in 2014.</figcaption></figure><p>I believe apps should be designed with a <em>“minimal and mutually orthogonal”</em> feature set to serve the <em>open needs</em> of users through <em>“collaborations”</em> — a tribute to the Unix philosophy:</p><blockquote>Write programs that do one thing and do it well. Write programs to work together.</blockquote><p>We will see more examples of <em>global search</em> later.</p><h4>Artists and Groups</h4><p>The <em>Browse</em> section provides six <em>domain-specific</em> entries that I use more often. <em>Artists</em> and <em>Groups</em> apply to all music genres: <em>The Beatles</em> will appear in <em>Groups</em>, and <em>Tori Amos </em>will appear in <em>Artists</em>. You can browse artists or groups <em>alphabetically</em>, <em>by releases</em>, or <em>by search</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dy-WMgOELYdVooQgjJr8kA.png" /><figcaption>Browse artists.</figcaption></figure><h4>Composers and Conductors</h4><p><em>Composers</em> and <em>Conductors</em> are for classical music. Like <em>Artists</em> and <em>Groups, </em>these two entries serve similar purposes, but here are some details that may impress you:</p><ul><li>If you know who <em>Mussorgsky-Ravel</em> or <em>Bach-Busoni</em> is, Tonal’s notation of the original composer and the arranger/orchestrator is accurate:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xUDxDC2S4Kkk9uHY7NRiPw.png" /><figcaption>Mussorgsky’s picture at an exhibition orchestrated by Ravel.</figcaption></figure><ul><li>Tonal understands that some pianists are also conductors. You can browse albums of <em>Mikhail Pletnev</em> as <em>a pianist</em> or <em>a conductor</em>:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Il5nagYI4eDzcuUsJtVMsQ.png" /><figcaption>Tonal understands that some pianists are also conductors.</figcaption></figure><ul><li>Find <em>Brahms</em> in <em>Composers</em>, find <em>Karajan</em> in <em>Conductors,</em> but what if you want to listen to “<em>Karajan conducts Brahms</em>”? Just search for “<em>Karajan Brahms”</em> in the <em>global search field</em>. Tonal lists all the albums and suggests that you could choose between “<em>BPO</em>” or <em>“VPO”:</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GwN22_8LMt-Jj7-QfVAJIA.png" /><figcaption>Tonal suggests that you could choose between “BPO” or “VPO” when searching for “Karajan Brahms”.</figcaption></figure><h4>Genres and Labels</h4><p>The last two entries in the <em>Browse</em> section are <em>music genres</em> and <em>record labels</em>. Here are some interesting details:</p><ul><li>An album can belong to multiple genres, such as <em>J-Pop</em> and <em>Anison</em>.</li><li>Sub-genres (such as <em>Classical &gt; Opera</em>) are well supported, as shown in this figure:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zYgHqMVYYtL9--e8-LjkgQ.png" /><figcaption>Sub-genres are supported.</figcaption></figure><ul><li>Series of releases (such as <em>Deutsche Grammophon &gt; Originals</em>) are well supported, as shown in this figure:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B_n9wCdho9Y94PlATyryFQ.png" /><figcaption>Release series of record labels are supported.</figcaption></figure><h3>A Homage to the Tradition</h3><p>In the 2nd half of this article, we use an album (<em>Prokofiev’s 2nd and Rachmaninoff’s 3rd piano concertos performed by Yujia Wang</em>) as an example to see how <em>Apple Music Classical</em> and <em>Tonal</em> present the same information differently.</p><p>We will reference the typography design done by the record label (<em>Deutsche Grammophon</em> here). Record labels’ in-house designers have long been familiar with such design requirements. The <em>information shape</em> in the figure below is believed to be familiar to many:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*dsMcd2_QPA1t2Upi1D3laQ.png" /><figcaption>Tracklists in classical albums share a similar shape.</figcaption></figure><p>Here is how Apple Music Classical layouts the content of the album (red numbers correspond to the notes below):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qvCD6hh3y8P7bx7KIQU6HA.png" /><figcaption>A classical album presented in Apple Music Classical.</figcaption></figure><ol><li>The <em>album title</em> takes five lines and is still incomplete — mainly due to the inclusion of recording information.</li><li>The <em>ordering of artists</em> does not comply with the industry’s best practice — for concertos, it is usually arranged in the order of <em>soloist</em>, <em>orchestra</em>, and <em>conductor</em>.</li><li>Due to the space limit, only the composers’ surnames are shown ( different forms, <em>Rachmaninov</em> and <em>S. Prokofiev</em>, are used).</li><li>Recording information is repeated for all tracks.</li><li>Inconsistent artists of tracks are displayed; roles (<em>piano</em> and <em>conductor</em>) are missing.</li><li>Although the information density is high, displaying the album’s content still takes three screens.</li></ol><p>Some issues can be fixed by editing the <em>tags</em>, so let’s focus on design-related problems here. The below figure shows how Tonal renders the same content (red numbers correspond to the notes below):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UUydwxq14Nv7CkxEZuptfw.png" /><figcaption>The same album when presented in Tonal.</figcaption></figure><ol><li>Full composer names (<em>Sergei Rachmaninoff</em> and <em>Sergei Prokofiev</em>) are shown.</li><li>Opus numbers (<em>Op. 30</em> and <em>Op. 16</em>) are de-emphasized.</li><li>Roman numerals are <em>right-aligned</em> so that movement titles are <em>left-aligned</em>.</li><li>Conventional <em>ordering of artists</em> is adopted, and roles (<em>piano</em> and <em>conductor</em>) are included (both without redundancy).</li><li>Recording information is included without redundancy.</li><li>Information density is relatively low, so there is more whitespace.</li></ol><p>Objectively speaking, Tonal does not have too much <em>ingenuity</em> here — only <em>paying homage to the tradition.</em> Luckily, the result <em>“just works</em>.<em>”</em></p><h4>Play on Demand</h4><p>Take <em>Pletnev’s Live at Carnegie Hall</em> as another example. What if you only want to listen to the <em>four Scherzos</em>? Most players require many (pointer or keyboard) interactions. In Tonal, press the ▶ button in front of <em>Chopin — </em>after these four tracks have been played, Tonal will stop automatically.</p><p>In the same way, you can also play tracks that belong to a specific <em>disc</em>, <em>composer</em>, <em>multi-movement work</em>, or <em>act</em> (of an opera).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aUOBvn_2LLjvknYNCMIHog.gif" /><figcaption>Want to play all the Scherzos? Tap the button in front of Chopin.</figcaption></figure><h3>Before You Start</h3><p>Tonal is a <em>misfit</em> in many ways<strong> — </strong>it does <em>not</em> fit everyone’s needs, and for those who choose Tonal, Tonal <em>won’t</em> be their <em>only</em> player:</p><ul><li>Due to the <a href="https://medium.com/tonal-app/secrets-of-audiophile-playback-on-macos-8f940e8f4625"><em>always-bit-accurate</em></a> strategy, you can neither listen to 192 kHz albums on your Mac’s built-in speakers nor play a DSD album on a PCM-only D/A converter.</li><li>Tonal collects albums into its <em>managed directory,</em> which contains packed lossless audio data in a uniform encoding (but no music metadata). If you cannot make an extra, standalone space for Tonal, whether internal or external, on a NAS or an SD card, there may be a better time for you to experience Tonal.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FbKnqBSFNE1skiXpEu7ykA.png" /><figcaption>By 2030, a $50 SSD can store over 30,000 CD-quality albums. Source: <a href="https://wikibon.com/qlc-flash-hamrs-hdd/">Wikibon</a></figcaption></figure><ul><li>Tonal accepts lossless and complete discs only. CD-quality discs must also be AccurateRip verified (Tonal uses CUETools to repair broken rips automatically).</li></ul><p>You can <a href="http://apps.apple.com/app/tonal/id6449281141">download Tonal for free</a> from the <a href="http://apps.apple.com/app/tonal/id6449281141">Mac App Store</a> if such limitations are acceptable. At only 25 MB, Tonal is lightweight. The free version has no restrictions on features or usage. You can add up to 20 (CD-quality or high-res) discs to build a <em>mini collection</em> of your favorite artists.</p><p>A <em>one-time (non-subscription)</em> in-app purchase, priced at $99.99 for the introductory period, is offered to remove the limit. There is an even better way to unlock — if you have reviewed Tonal, please contact me for a free coupon; if you have conducted an in-depth review, an additional coupon will be provided to share with your best friend.</p><p>Please read the <a href="https://b.ton.al/tonal_user_guide.pdf">complete User’s Guide</a> before downloading.</p><h3>Listen Different</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zbFG-bAVI18Qs-L2y6_-TQ.png" /><figcaption>A homage to Apple’s “Think Different” slogan.</figcaption></figure><p>This article explains why Tonal’s support for classical music is <em>in the details</em>. This may not be the most interesting one in the series of articles on Tonal:</p><ul><li><a href="https://medium.com/tonal-app/music-metadata-without-tags-bdc99af196e5"><em>Music Metadata Without Tags</em></a><em> </em>reveals Tonal’s genuinely original thinking. Editing music metadata in Tonal is fun and can bring your music collection to a new level.</li><li>Read <a href="https://medium.com/tonal-app/secrets-of-audiophile-playback-on-macos-8f940e8f4625"><em>Secrets of Audiophile Playback on macOS</em></a> to learn how Tonal handles bit-accurate playback without introducing any <em>playback setting</em>. Even if you don’t like Tonal, you can better understand how mainstream audiophile players work in the context of bit-accurate playback.</li><li>Read <a href="https://medium.com/tonal-app/3-things-to-think-about-before-building-your-lossless-music-collection-d9ce3956f7ee"><em>3 Things to Think About Before Building Your Lossless Music Collection</em></a><em> </em>to have a new perspective on the quality of your music collection.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e027511fbaa8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tonal/new-classical-music-experience-on-macos-e027511fbaa8">New Classical Music Experience on macOS</a> was originally published in <a href="https://medium.com/tonal">Tonal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secrets of Audiophile Playback on macOS]]></title>
            <link>https://medium.com/tonal/secrets-of-audiophile-playback-on-macos-8f940e8f4625?source=rss-7206bcaffeb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f940e8f4625</guid>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[new-tonal-app]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[audiophile]]></category>
            <category><![CDATA[apple]]></category>
            <dc:creator><![CDATA[Baoshan Sheng]]></dc:creator>
            <pubDate>Wed, 12 Jul 2023 07:09:22 GMT</pubDate>
            <atom:updated>2023-07-14T03:07:49.483Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CORoVdB7wCnN4b5sEcTS2g.png" /><figcaption>Photo by <a href="https://unsplash.com/@julianhochgesang?utm_source=medium&amp;utm_medium=referral">Julian Hochgesang</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>I never understood why some audiophile players <strong>exhibit</strong> <em>professionalism</em> via unnecessary playback <em>settings.</em> This is not honest in Dieter Rams’ 10 principles for good design.</blockquote><p><em>Audiophile playback software </em>has long been plentiful; this is also true on macOS. If you have some lossless music or use a USB D/A converter, you can name one or more <em>audiophile players</em> for macOS. More likely, you are hosting your music collection using one already.</p><p>Within the scope of bit-accurate playback,<em> </em>which means audio data sent to the D/A converter is identical to that contained in audio files, this article decrypts the key features, settings, and marketing gimmicks of some audiophile players for macOS.</p><p>DSP-related features such as oversampling, EQ, dithering, or room correction are not discussed here.</p><p>Regardless of whether you are satisfied with your player, these are worth checking out. At the end of this article, I’ll explain how <a href="http://apps.apple.com/app/tonal/id6449281141">the new Tonal app</a> handles <em>audiophile playback</em>.</p><h3>The Mac as a Hi-Fi Player</h3><blockquote>Technology is nothing. What’s important is that you have faith in people, that they’re basically good and smart — and if you give them tools, they’ll do wonderful things with them.</blockquote><blockquote>— — Steve Jobs (1955–2011)</blockquote><p>From Jobs’ words, it is not difficult to understand why <em>content creation</em> is always the driving force behind Apple products. <em>Content consumption</em> often benefits from that. Take <em>audio playback</em> as an example:</p><ul><li>To provide predictable, low-latency audio I/O for <em>Digital Audio Workstations</em>, Apple introduced the audio <em>HAL (Hardware Abstraction Layer)</em> services at WWDC 2003 (yes, 2003), earlier than the (third-party) ASIO protocol on the Windows platform.</li><li>In 2009, Apple added USB Audio Class 2.0 protocol support in Mac OS X 10.6 (the same time as RME’s introduction of its first USB 2.0 audio interface). This is why “<em>compatible with Mac OS X 10.6 and above”</em> still appears in USB D/A converters’ specifications. In contrast, Microsoft added USB Audio Class 2.0 protocol support in 2017.</li></ul><p>Mainstream audiophile players for macOS are all based on the above services and protocols — although decades old, they are still the foundations to macOS’s audio experience. For audiophile players that <em>talk</em> with output devices, these services and protocols are still the <em>de facto choice</em> because:</p><ul><li>HAL services satisfy the requirements of audiophile players and are <em>close enough</em> to output devices (although not at the level of “hardware interruptions handling”).</li><li>Those that use <em>lower-level interfaces</em> (such as IOAudioFamily in the kernel space) will gradually (or already) fail to work correctly as the operating system is updated, and new (user space) interfaces are offered.</li><li>Those that use <em>higher-level interfaces</em> (such as AVFoundation or high-level Core Audio services) suffer both ergonomic and marketing disadvantages. However, the playback can still be bit-accurate when certain conditions are met.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NNCHHcdHXmQ3vosaHBGP_A.png" /><figcaption>Mainstream audiophile players use low-level HAL services.</figcaption></figure><p>Well, let’s sort out the key features and settings of the audiophile players for macOS.</p><h4>Sample Rate Switching</h4><p><em>Sample rate</em> and <em>bit depth</em> of digital audio are sometimes <em>inappropriately</em> compared to monitors’ <em>resolution</em> and <em>color depth</em>. If a marketer is <em>brave</em> enough, he can compare a low-res image to another 300-dpi one as <em>red book </em>vs. <em>DSD 256</em>… Please don’t take it seriously next time you see such words.</p><p>When you play an album in 24/48 (24-bit, 48 kHz) format, but your D/A converter is working in 24/96, you will not hear the double-speed sound effect — the <em>operating system</em> or your <em>player</em> performs <em>sample-rate conversion</em> (SRC) using <em>digital signal processing algorithms</em>. Some D/A converters do <em>upsampling/oversampling</em> internally, meaning the music you hear may result from multiple SRCs.</p><p>Should sample rate conversion be performed on your Mac for audiophile playback? Not recommended for most users because it introduces a new <em>variable</em> in addition to the <em>audio content </em>and your <em>output device</em>. This <em>opaque</em> variable is usually affected by <em>DSP parameters</em>, <em>app version</em>, <em>commercial licensing</em>, etc.</p><p>When this <em>variable</em> changes, you won’t be able to evaluate the performance of other components in your system independently, and you won’t be able to answer questions such as “<em>whether an album bought from HDTracks sounds better than its CD version”</em> with confidence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*innFOIDocTqk0-m88jlLjw.png" /><figcaption>Audio MIDI Setup is our old friend.</figcaption></figure><p>In <em>Audio MIDI Setup</em> app, we can manually match the <em>output device&#39;s sample rate</em> to the audio content being played. When <em>bit depth</em> and <em>volume</em> are appropriately set, you can achieve bit-accurate playback without any 3rd party app. This is just impractical.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KBQHWWKD1wRRIrXoBlIdYQ.png" /><figcaption>Studio Display supports up to 96 kHz.</figcaption></figure><p>Setting the output device’s sample rate to that of the audio content automatically is an <em>essential feature</em> of a bit-accurate player.</p><h4>Bit Depth Switching</h4><p><em>Bit depth</em> indicates sampling/quantization precision. For a USB audio interface, <em>interface bit depth</em> is the bit depth on the USB cable. I use <em>interface bit depth</em> here because you can not confirm the bit depth used by your converter when performing D/A.</p><p>In <em>Audio MIDI Setup</em>, you can adjust the <em>interface bit depth</em> of an audio device manually:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X2Owxld4I8bgYuVGAVTNgg.png" /><figcaption>Newer D/A converters support 32-bit interface depth, although the <a href="https://en.wikipedia.org/wiki/Effective_number_of_bits">ENOB</a> is much less.</figcaption></figure><p>USB audio protocol allows 32-bit floating-point numbers in IEEE-754 format, usually seen in pro-audio devices only. Most Hi-Fi D/A converters use signed integers as <em>interface formats</em>. Some users prefer to set it to the maximum supported value (e.g., 32-bit integer) to reduce <em>quantization noise at low volumes</em> because more MSB bits are zero. Additional information is required to test if this claim is valid:</p><ul><li>When volume is controlled by the operating system or player using a software volume algorithm (for example, you are watching  TV+), setting <em>interface bit depth</em> to the maximum supported value (and using a high-quality volume algorithm with dithering) is acceptable (may not be the case for R-2R converters, which is not discussed).</li><li>When volume is controlled by the output device or an analog preamplifier, and a bit-accurate player is used, the <em>interface bit depth</em> only needs to be equal to (or greater than) the audio content. Newer (e.g., those using ESS chips) output device’s volume algorithms have 32-bit (or better) integer precision and are independent of <em>interface bit depth</em>.</li></ul><p>Some output devices have a <em>bit depth indicator</em> that can display the <em>content bit depth</em> instead of the <em>interface bit depth — </em>when a bit-accurate player plays CD-quality content, the indicator shows 16-bit no matter if you set the <em>interface bit depth</em> to 32-, 24-, or 16-bit. This feature can identify some <em>“false”</em> hi-res music generated using bit shifting.</p><p>Setting the output device’s bit depth to that of the audio content automatically is an <em>essential feature</em> of a bit-accurate player.</p><h4>Integer Mode</h4><p>Some audiophile players provide a toggle named <em>integer mode</em>. This is a macOS-only concept — if the app also has a Windows or Linux release, you won’t find the exact setting there.</p><p>A <em>simplified</em> digital signal link can be expressed <em>roughly</em> like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S22AKZrxaA6M7Y2PqIGwDA.png" /><figcaption>Digital signal link of an audiophile player for macOS.</figcaption></figure><p>The <em>driver</em> sends audio data to the output device in the <em>interface format</em> asked by that device (such as 24-bit integer) but allows apps to offer audio data in a different <em>virtual format</em> (such as 32-bit floating-point number). Enabling <em>integer mode</em> means using a <em>virtual format</em> that is also integral.</p><ul><li>For 32-bit <em>source formats</em>, bit-accurate playback can only be achieved in <em>integer mode</em> because 32-bit IEEE-754 floating-point numbers can only represent 25-bit signed integers.</li><li>Although bit-accurate playback is possible with or without integer mode enabled for 24- or 16-bit <em>source formats,</em> integer mode avoids <em>an extra lossless conversion</em> from 32-bit floating-point to 24- or 16-bit integer in the driver.</li></ul><p>Integer mode should be <em>automatically</em> enabled by an audiophile player when possible. It is a <em>clever</em> marketing gimmick when exposed or promoted to end users.</p><h4>Exclusive Mode</h4><p><em>Exclusive mode</em> may also be called <em>hog mode</em>.</p><p>You can hear Messages’ alerts when watching YouTube — the driver allows multiple apps to simultaneously use the same output device. “But how,” you may ask, “an output device has only one input!” The answer is: the driver mixes the sound up.</p><p>However, sometimes you may not want or cannot allow such <em>mixing</em> to happen:</p><ul><li>You don’t want to hear any alert sound when listening to <em>Mahler’s “Resurrection.”</em></li><li>When playing DSD content in DoP mode, the DoP flag will be lost after <em>mixing</em>, and the D/A converter will fall back to PCM mode. Also, DSD content can not be mixed.</li></ul><p><em>Exclusive/hog mode</em> solves this problem: a <em>hogged</em> output device accepts only one input — other apps cannot perform I/O on it.</p><p>An audiophile player should automatically enter or exit exclusive mode to play DSD content or avoid interference.</p><h4>I/O Buffer Size</h4><p><em>I/O buffer size</em> is a continuous value (e.g., 512 samples). The setting may be presented as a slider, a text field adjusting an integral number, or in mysterious forms such as <em>mode a/b.</em></p><p>We know that the driver produces no audio data; it is a <em>porter</em> of audio data. The driver periodically requests audio data from apps to pass audio data to an output device. This is called an <em>I/O process,</em> like moving packages. Here is the question: how fast should the pace be? For pro-audio apps, the answer is “<em>neither too fast nor too slow”</em>:</p><ul><li>Doing it every millisecond leads to high processor overhead: the package-moving operation has to be performed 1,000 times per second</li><li>Doing it once per minute leads to increased output latency: the audio generated at 0 seconds is not ported until 60 seconds</li></ul><p><em>I/O buffer size</em> adjusts the pace of the package-moving operation — the larger the buffer, the lower the frequency. For playback purposes, there is no requirement for <em>low latency</em>. Audiophile players should automatically select the large applicable I/O buffer to reduce CPU usage. Letting users set it themselves makes less sense.</p><h4>I/O Ratio</h4><p>As far as playback is concerned, <em>I/O ratio</em> or <em>I/O procedure duration </em>is irrelevant. Don’t worry if you cannot find this setting.</p><p>Although it sounds like jargon, it is not that hard to understand — if the <em>driver</em> transfers audio data every 1 second (I/O buffer size = 1 second), how long will it take from when you hit a snare in Garage Band to when you hear the sound from your speakers? Don’t rush to answer <em>“1 second”</em> because the correct answer is <em>“maybe 2 seconds</em>.<em>”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IaBWsSZn_ytsRt9MQCCvpw.png" /><figcaption>When the IO buffer is 1 second long, it can take up to 2 seconds to hear the snare.</figcaption></figure><p>After the <em>driver</em> requests audio data from an <em>app</em>, it will not let the <em>output device</em> come to read immediately. The <em>driver</em> knows that an <em>app</em> can take up to 1 second to produce audio data of 1 second. If the <em>driver</em> requests audio data from the <em>app</em> at 1.0 seconds, the <em>driver</em> usually lets the <em>output device</em> come to read at 2.0 seconds, which is the earliest you can hear the snare (additional latencies ignored).</p><p>Some pro-audio apps do not accept such a high latency, so they promise the driver: <em>“Bro, I am fast. I need less than 0.1 seconds to fill up this 1-second buffer. Just let the output device come to read at 0.1 seconds.”</em> With this commitment, the output delay was reduced by 0.9 seconds.</p><p>For macOS, this commitment is called <a href="https://developer.apple.com/documentation/coreaudio/kaudiodevicepropertyiocycleusage">I/O cycle usage</a>, which pro-audio apps use to fight against I/O latency. It makes zero sense for playback purposes.</p><h4>Memory Playback</h4><p>Sometimes it is also called <em>cache size</em> or <em>buffer size</em>. The setting may be presented as a toggle or a slider (or text field) adjusting some value in MB or GB.</p><p><em>Memory playback</em> looks remarkable: the D/A converter directly access decoded audio data in the RAM! Unfortunately, the reality is not that beautiful: when you stubbornly dump a decoded DSD 256 album into the memory <em>heap</em>, macOS has no choice but to <em>swap</em> them back to your poor internal SSD.</p><p>The following feature/setting is as deceptive as this one.</p><h4>System Optimization</h4><p>If you cannot find such a setting in your <em>audiophile players</em>, it’s all right.</p><p>Turn off some system services, reduce CPU usage and RF interference, sound quality improved! Well, this has been <a href="http://archimago.blogspot.com/2013/05/measurements-bit-perfect-audiophile.html">falsified as early as ten years ago</a>.</p><p><a href="http://apps.apple.com/app/tonal/id6449281141">The new Tonal app</a>, which will be introduced later, has low CPU consumption (around 1.2% on an Apple M1 Pro chip when playing DSD 256 with the window hidden) — that fact alone is <em>not</em> enough to prove its playback quality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gzbU20mU7IzCEYXk5khAFQ.png" /><figcaption>The Music app uses 13.8% of the CPU while playing 16/44 audio content.</figcaption></figure><p>There is no need to be anxious about CPU usage all the time. When an app becomes <em>sluggish</em> or simply <em>not responding</em>, start with the <em>Activity Monitor</em> to understand the consumption of system resources and analyze the rationality.</p><p>Humans <em>use</em> tools, not the other way around — neither <em>system services</em> nor <em>third-party services</em> harm <em>playback quality</em>.</p><h4>Good Design is Honest</h4><p>I never understood why some audiophile players exhibit professionalism via unnecessary playback settings. This is <em>not</em> honest in Dieter Rams’ <em>10 principles for good design</em>.</p><p>Some settings may make a difference under extreme conditions, but should end users be responsible for setting them up? For others, some may argue that the <em>absence of evidence </em>is not<em> evidence of absence</em>, but Tonal won’t position itself in the grey area.</p><p>There is no good reason to expose even one playback setting to end users for a bit-accurate player with no DSP to tweak and volume controlled by the preamplifier or D/A converter.</p><p>Still don’t believe me?</p><h3>Enter Tonal</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bjBbFiF-5Z6WlOypy9WSng.png" /><figcaption>Tonal is an audiophile player for macOS.</figcaption></figure><p>To prove my point, I made Tonal, an audiophile player for macOS, <em>configuration free — </em>it has <em>preferences</em> but no <em>settings</em>, not a single one.</p><h4>Know Your Output Device</h4><p>With Tonal, you can easily verify your D/A converter’s specifications. From the screenshot below, Tonal reveals that my D/A converter supports the following:</p><ul><li><strong>USB Audio Class 2.0</strong> protocol</li><li><strong>Asynchronous</strong> transfer mode</li><li><strong>128-level</strong> volume adjustment</li><li>Bit depths of <strong>16</strong>, <strong>24</strong>, and<strong> 32</strong></li><li>Sample rates up to <strong>768 kHz</strong> and <strong>DSD 256</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zfTTlrOJdNc5wZXHgr6d1A.png" /><figcaption>Tonal reveals the specification of a D/A converter in the middle column.</figcaption></figure><h4>Predictable Playback</h4><p>With Tonal, your expectations are pretty clear regarding playback quality: from CD quality to DSD 256, as long as supported by your D/A converter, playback is always <em>bit-accurate</em> and <em>properly handled</em> internally.</p><h4>How Does Tonal Sound?</h4><p>You may be surprised that all correctly implemented bit-accurate solutions share the same sonic performance in theory and practice<em>.</em> Find more details <a href="http://archimago.blogspot.com/2013/05/measurements-bit-perfect-audiophile.html">here</a>.</p><p>If you are still curious or believe that <em>subjective listening experience</em> is the <em>ultimate standard</em> for all audiophile products, please try it yourself.</p><h3>Before You Start</h3><p>Tonal is a <em>misfit</em> in many ways<strong> — </strong>it does <em>not</em> fit everyone’s needs, and for those who choose Tonal, Tonal <em>won’t</em> be their <em>only</em> player:</p><ul><li>Due to the <em>always bit-accurate</em> strategy, you can neither listen to 192 kHz albums on your Mac’s built-in speakers nor play a DSD album on a PCM-only D/A converter.</li><li>Tonal collects albums into its <em>managed directory,</em> which contains packed lossless audio data in a uniform encoding (but no music metadata). If you cannot make an extra, standalone space for Tonal, whether internal or external, on a NAS or an SD card, there may be a better time for you to experience Tonal.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FbKnqBSFNE1skiXpEu7ykA.png" /><figcaption>By 2030, a $50 SSD can store over 30,000 CD-quality albums. Source: <a href="https://wikibon.com/qlc-flash-hamrs-hdd/">Wikibon</a></figcaption></figure><ul><li>Tonal accepts lossless and complete discs only. CD-quality discs must also be AccurateRip verified (Tonal uses CUETools to repair broken rips automatically).</li></ul><p>You can <a href="http://apps.apple.com/app/tonal/id6449281141">download Tonal for free</a> from the <a href="http://apps.apple.com/app/tonal/id6449281141">Mac App Store</a> if such limitations are acceptable. At only 25 MB, Tonal is lightweight. The free version has no restrictions on features or usage. You can add up to 20 (CD-quality or high-res) discs to build a <em>mini collection</em> of your favorite artists.</p><p>A <em>one-time (non-subscription)</em> in-app purchase, priced at $99.99 for the introductory period, is offered to remove the limit. There is an even better way to unlock — if you have reviewed Tonal, please contact me for a free coupon; if you have conducted an in-depth review, an additional coupon will be provided to share with your best friend.</p><p>Please read the <a href="https://b.ton.al/tonal_user_guide.pdf">complete User’s Guide</a> before downloading.</p><h3>Listen Different</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zbFG-bAVI18Qs-L2y6_-TQ.png" /><figcaption>A homage to Apple’s “Think Different” slogan.</figcaption></figure><p>This article covers how Tonal handles bit-accurate playback without introducing any <em>playback setting</em>. This may not be the most interesting one in the series of articles on Tonal:</p><ul><li>Read <a href="https://medium.com/tonal-app/3-things-to-think-about-before-building-your-lossless-music-collection-d9ce3956f7ee"><em>3 Things to Think About Before Building Your Lossless Music Collection</em></a><em> </em>to have a new perspective on the quality of your music collection.</li><li>For those who still cannot find a player with first-class support for classical music, <a href="https://medium.com/tonal-app/new-classical-music-experience-on-macos-e027511fbaa8"><em>New Classical Music Experience on macOS</em></a><em> </em>explains why Tonal’s support for classical music is <em>in the details</em>. Much of this article applies to other music genres as well.</li><li><a href="https://medium.com/tonal-app/music-metadata-without-tags-bdc99af196e5"><em>Music Metadata Without Tags</em></a><em> </em>reveals Tonal’s genuinely original thinking. Editing music metadata in Tonal is fun and can bring your music collection to a new level.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f940e8f4625" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tonal/secrets-of-audiophile-playback-on-macos-8f940e8f4625">Secrets of Audiophile Playback on macOS</a> was originally published in <a href="https://medium.com/tonal">Tonal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Things to Think About Before Building Your Lossless Music Collection]]></title>
            <link>https://medium.com/tonal/3-things-to-think-about-before-building-your-lossless-music-collection-d9ce3956f7ee?source=rss-7206bcaffeb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9ce3956f7ee</guid>
            <category><![CDATA[classical-music]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[new-tonal-app]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[apple]]></category>
            <dc:creator><![CDATA[Baoshan Sheng]]></dc:creator>
            <pubDate>Wed, 12 Jul 2023 07:08:37 GMT</pubDate>
            <atom:updated>2023-07-14T03:12:26.795Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D0evqzxF-WgTSkTHlODWSQ.png" /><figcaption>Photo by <a href="https://unsplash.com/@priscilladupreez?utm_source=medium&amp;utm_medium=referral">Priscilla Du Preez</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>When building a <em>lossless music collection</em>, some issues <em>may be late</em> but <em>always present</em>. Make preemptive moves before they undermine the quality of your music collection. This article shares my thoughts and practice.</p><h3><strong>Folder &amp; File Naming</strong></h3><blockquote>There are only two hard things in Computer Science: cache invalidation and naming things.</blockquote><blockquote>—— Philip Lewis Karlton (1947–1997)</blockquote><p>Some people read this as a joke, and some people do not. The more <em>critical</em> the reader is, the higher the demand for good nomenclature.</p><p>English Wikipedia maintains at least <a href="https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Music">two</a> <em>“</em><a href="https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Classical_music/Guidelines"><em>Style Guides</em></a><em>”</em> for classical music. Whether you listen to classical music or not, <em>naming</em> is challenging if you cherish the quality of your music collection.</p><p>Downloaded albums will likely keep the filenames and folder names specified by distributors for a long time. From a distributor’s perspective, the supplier (record label) is the <em>first-level directory</em>, while the supplier’s internal SKU (catalog number) is the <em>second-level directory</em>. It is easy to understand why this single downloaded from NativeDSD has a file name starting with <em>PTC5186924</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L107YIvJAClr61b2H4zrvQ.png" /><figcaption>Downloaded digital albums retain the distributor’s nomenclature.</figcaption></figure><p>Things may be different for other folders:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uFqeO2dTTPwAW8FNND3oRQ.png" /><figcaption>Filenames in folders are even more <em>wild</em>.</figcaption></figure><p>Crazy filename such as <em>04. Suis-je gentille ainsi? … Obéissons quand leur voix appelle.flac</em> are common for classical albums.</p><p>When <em>“consistency is more important than perfection”</em> is well recognized, it is hard to believe these <em>wild</em> filenames and folder names belong to a high-quality music collection. You, on the other side of the screen, may already have ideas for improvement! Before we start, let’s see if your <em>best</em> naming scheme still suffers from these issues:</p><ol><li>You have entered dozens to hundreds of characters for each album (in the filenames and folder names), but the player <em>usually ignores</em> such information. Players prefer the <em>tags</em> embedded in audio files or the <em>music metadata</em> obtained via <em>scraping</em>. Browsing, searching, and other features are based on such music metadata. The smarter the player, the less helpful filenames and folder names are.</li><li>Complex <em>naming conventions</em> lose their versatility and beauty. Even if you conceived a well-thought-out naming scheme, you wouldn’t recommend it to a friend —— she’d think you were obsessive-compulsive.</li><li>When you have a collection of nearly a hundred albums, you suspect you have violated your convention. You search for tools that can perform automated checks or rely on scripts to keep them <em>in sync</em>.</li><li>If you use a tag editor to modify the <em>tags</em> of audio files, you may need to redo that for the filenames and folder names or accept that they are <em>drifting away</em>.</li><li>Sometimes you feel that the <em>flattened structure</em> (all albums placed directly under <em>~/music/</em>) lacks refinement; sometimes you think that the hierarchical structure (such as <em>~/music/beethoven/symphonies</em>) is less practical —— should the first level be <em>composer</em> or <em>artist</em>? What about albums with <em>multiple composers</em>?</li><li>For classical music lovers, should the <em>key (e.g., C minor)</em>, <em>common title (e.g., Pathétique)</em>, and <em>opus number (e.g., Op. 13)</em> of the work be included? If the record label gave the album a <em>standalone title (e.g., A Window in Time)</em>, you might not be able to get any helpful information about the work from the folder and file names.</li></ol><p>Think about it slowly. The <em>core conflict</em> is:</p><ul><li><em>Music metadata</em> is multi-dimensional, mutable, and adaptable to different scenarios.</li><li><em>The filesystem</em> uses a fixed and persisted topology and has to be planned in advance.</li></ul><h3>CD Rips with Pops or Clicks</h3><p>Lossless audio can be extracted from audio CDs. Local music collection, therefore, has a higher degree of freedom than <em>streaming services</em>. But even if you use dedicated <em>digital audio extraction</em> apps (such as <a href="https://tmkk.undo.jp/xld/index_e.html">XLD</a>, <a href="https://www.exactaudiocopy.de/en/index.php/overview/basic-technology/extraction-technology/">EAC</a>, etc.) with built-in <em>cache busting </em>(Karlton was not joking)<em> </em>and <em>multi-pass</em> technologies, it is still impossible to completely avoid pops, clicks, or digital silence, which occurs more often when the audio CD is physically damaged.</p><p><a href="http://www.accuraterip.com/">AccurateRip</a> technology, developed by <a href="https://www.dbpoweramp.com/">dBpoweramp</a>, was born in 2003. The AccurateRip database contains the checksums of almost 5 million audio CDs (as of 2023). Compare your rip to the AccurateRip database to see which track(s) are broken.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jHICpXpnfXk5CRftSg_ohA.png" /><figcaption>AccurateRip and AccurateRip database</figcaption></figure><p>Here comes another issue: what if you know a rip is broken? You still can’t fix it (<a href="https://john-millikin.com/%F0%9F%A4%94/why-i-ripped-the-same-cd-300-times">exceptions exist</a>). <a href="http://cuetools.net/">CUETools</a> technology, developed by Grigory Chudov, came into being in 2008. Reed-Solomon (RS) error correction codes of almost 7 million audio CDs are stored in the <a href="http://db.cuetools.net/">CUETools database</a> (as of 2023), which can correct error patterns commonly seen in broken rips.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*egU5dSZLdGmTKn2suh3VZg.png" /><figcaption>CUETools database</figcaption></figure><p>You can use AccurateRip to identify ripping errors and fix them with CUETools (XLD can perform AccurateRip verification, CUETools doesn’t have a macOS release currently). Remember: <em>this should be done before playback.</em> At the end of the day, we only have one need —— no pops or clicks.</p><h3>Inconsistent File Formats</h3><p>When a $50 SSD can hold 4,000 CD-quality lossless albums, I no longer worry about the storage cost of local lossless music collections. But I always pay attention to the <em>file formats</em>.</p><p>Encoding and decoding of lossless audio files are, well, lossless. There is <a href="http://archimago.blogspot.com/2013/05/measurements-do-lossless-compressed.html"><em>no</em> <em>substantial difference</em></a> between different formats of lossless audio files regarding <em>sound quality</em>. We can easily convert from WavPack to FLAC, Apple Lossless to Monkey’s Audio, or WAV, as long as the <em>integrity</em> is not compromised.</p><p>Differences in lossless audio files fall into three categories:</p><ol><li>File format —— such as <em>.flac</em> vs. <em>.ape</em></li><li>Encoder <em>(implementation &amp; version)</em> —— such as <em>libFLAC 1.4.3</em> vs. <em>0.9, </em>some codecs have multiple implementations</li><li>Encoding parameters —— compression levels, block sizes, etc.</li></ol><p>A specific audio file represents <em>a point</em> in this three-dimensional space. Looking at the following facts, you may understand why a high-quality music collection should choose the <em>file format</em>, <em>encoder</em>, and <em>encoding parameters</em> cautiously:</p><ul><li>If you edit <em>music metadata tags</em> by yourself, you may already know that different <em>file formats</em> have <a href="https://wiki.hydrogenaud.io/index.php?title=Tag_Mapping">different</a> <a href="https://2manyrobots.com/YateResources/InAppHelp/TagMappingTable.html">support</a> for <em>music metadata tags</em>.</li><li>The decoding speed differs several to dozens of times with different encoding parameters. During playback, you will experience different buffering speeds or CPU usage.</li><li>Some files created by <em>legacy encoders</em> will gradually lose 100% support from players (both Monkey’s Audio and WavPack have the concept of <em>Legacy Files</em>). If an audio file is considered <em>legacy</em>, you may need to <em>transcode</em> it some years later to play.</li></ul><p>Perhaps you have already made some efforts for <em>consistency</em>:</p><ul><li>Store DSD audio in <em>.dsf</em> files</li><li>Store PCM audio in <em>.flac</em> files</li><li>Store CD rips in <em>single</em> audio files with <em>.cue</em> sheets</li><li>Be consistent on <em>encoders</em> and <em>encoding parameters</em></li></ul><p>Congratulations, this is a huge step! But there are still some issues:</p><ul><li>You want to use <em>single </em>audio files with <em>.cue </em>sheets to ensure you won’t <em>lose some tracks accidentally</em>, but <em>.cue</em> sheets don’t play well with high-res and DSD audio.</li><li>You cannot use <em>read-only storage</em> (such as a write-protected NAS folder/SD card) to archive your audio files (changes to <em>music metadata tags</em> need to be written back to the audio files).</li></ul><p>I just finished <em>a long march</em> only to avoid <em>frontal conflict</em> with these issues ab initio. Fortunately, you don’t have to do that again because I have taught the <a href="http://apps.apple.com/app/tonal/id6449281141"><em>new Tonal app</em></a><em> </em>my methodology.</p><h3>Enter Tonal</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bjBbFiF-5Z6WlOypy9WSng.png" /><figcaption>Tonal is an audiophile player for macOS.</figcaption></figure><p>You can add music to your Tonal collection using the “+” button at the top of the sidebar.</p><h3>An Opinionated Player</h3><p>Three requirements must be met before adding an album to your <em>Tonal collection</em>.</p><h4>Lossless Only</h4><p>Tonal only supports lossless music in these formats:</p><ul><li>FLAC (<em>.flac</em>)</li><li>Monkey’s Audio (<em>.ape</em>)</li><li>WavPack (<em>.wv</em> or <em>.wv + .wvc)</em></li><li>Apple Lossless (<em>.m4a</em>)</li><li>WAV (<em>.wav</em>)</li><li>AIFF (<em>.aiff</em>)</li><li>DSD (<em>.dsf</em> or <em>.dff</em>, including DST encoded <em>.dff</em>)</li><li>SACD (<em>.iso</em>)</li></ul><p>You may think: <em>that’s fine — </em>the article is titled <em>lossless music</em>, and most mainstream lossless audio formats are on the list already.</p><p>Let’s look at the second requirement:</p><h4>Complete Discs Only</h4><p>Tonal accepts complete discs — a folder with several audio files or a single audio file with a <em>.cue</em> sheet. When Tonal believes some tracks are missing, it would say <em>no</em>.</p><p>This requirement may still be <em>acceptable </em>if you collect complete albums or listen to classical music. An album is like an art exhibition — it is easier to get the curator’s idea when watching it completely.</p><p>This is also a pre-condition for <em>gapless playback</em>.</p><p>Let’s look at the last requirement:</p><h4>AccurateRip Verified (for CD Rips)</h4><p>When adding a disc in CD-Quality (16/44), Tonal performs <em>AccurateRip verification</em> automatically. If AccurateRip believes there are ripping errors, Tonal will try to <em>fix them automatically</em> using CUETools. Discs that fail to be repaired will be excluded from your Tonal collection.</p><p>Tonal is the first macOS app with <em>CUETools error correction</em> built-in (although not in the traditional form). That’s the secret of Tonal’s click-free playback.</p><h3>“Managed” Music Collection</h3><p>Once albums are added to your collection, Tonal will not read the original files. Tonal uses a <em>managed</em> directory to store packed lossless audio data in a uniform encoding (but no music metadata). The benefits are:</p><ul><li>You no longer need to manage <em>filenames and folder names</em> by yourself.</li><li>You can experience <em>consistent</em> buffering speed and CPU usage regardless of playing any album.</li></ul><p>Your music collection is stored in <em>~/Music/Tonal/</em> by default, but you can easily move it to an <em>external drive or NAS</em>. I stash a 1TB SD card inside the SD card reader of my MacBook Pro, solely for my music collection managed by Tonal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*IPsfny5p5JwYGj8R5sVFqg.jpeg" /><figcaption>1 TB SD card can hold around 4,000 CD-quality lossless albums.</figcaption></figure><p>I am tired of managing scattered folders manually. Tonal’s <em>turnkey solution</em> allows me to remain true to our original aspiration. If you have difficulty accepting Tonal’s vision of a <em>managed</em> music collection, please think about it this way:</p><blockquote>You have thousands of photos on your iPhone, but you don’t view your photos as “a collection of images and folders.” You don’t name each photo and usually don’t care much about formats like HEIF, HEIC, JPEG, or PNG.</blockquote><blockquote>Because you have the Photos app.</blockquote><h3>Before You Start</h3><p>Tonal is a <em>misfit</em> in many ways<strong> — </strong>it does <em>not</em> fit everyone’s needs, and for those who choose Tonal, Tonal <em>won’t</em> be their <em>only</em> player:</p><ul><li>Due to the <a href="https://medium.com/tonal-app/secrets-of-audiophile-playback-on-macos-8f940e8f4625"><em>always bit-accurate</em></a> strategy, you can neither listen to 192 kHz albums on your Mac’s built-in speakers nor play a DSD album on a PCM-only D/A converter.</li><li>Tonal collects albums into its <em>managed directory,</em> which contains packed lossless audio data in a uniform encoding (but no music metadata). If you cannot make an extra, standalone space for Tonal, whether internal or external, on a NAS or an SD card, there may be a better time for you to experience Tonal.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FbKnqBSFNE1skiXpEu7ykA.png" /><figcaption>By 2030, a $50 SSD can store over 30,000 CD-quality albums. Source: <a href="https://wikibon.com/qlc-flash-hamrs-hdd/">Wikibon</a></figcaption></figure><ul><li>Tonal accepts lossless and complete discs only. CD-quality discs must also be AccurateRip verified (Tonal uses CUETools to repair broken rips automatically).</li></ul><p>You can <a href="http://apps.apple.com/app/tonal/id6449281141">download Tonal for free</a> from the <a href="http://apps.apple.com/app/tonal/id6449281141">Mac App Store</a> if such limitations are acceptable. At only 25 MB, Tonal is lightweight. The free version has no restrictions on features or usage. You can add up to 20 (CD-quality or high-res) discs to build a <em>mini collection</em> of your favorite artists.</p><p>A <em>one-time (non-subscription)</em> in-app purchase, priced at $99.99 for the introductory period, is offered to remove the limit. There is an even better way to unlock — if you have reviewed Tonal, please contact me for a free coupon; if you have conducted an in-depth review, an additional coupon will be provided to share with your best friend.</p><p>Please read the <a href="https://b.ton.al/tonal_user_guide.pdf">complete User’s Guide</a> before downloading.</p><h3>Listen Different</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zbFG-bAVI18Qs-L2y6_-TQ.png" /><figcaption>A homage to Apple’s “Think Different” slogan.</figcaption></figure><p>This article introduces how Tonal leverages the concept of a <em>managed collection</em> to solve three common problems when building a lossless music collection (inconsistent filesystem naming, broken rips with pops/clicks, and inconsistent file formats). This may not be the most interesting one in the series of articles on Tonal:</p><ul><li>Read <a href="https://medium.com/tonal-app/secrets-of-audiophile-playback-on-macos-8f940e8f4625"><em>Secrets of Audiophile Playback on macOS</em></a> to learn how Tonal handles bit-accurate playback without introducing any <em>playback setting</em>. Even if you don’t like Tonal, you can better understand how mainstream audiophile players work in the context of bit-accurate playback.</li><li>For those who still cannot find a player with first-class support for classical music, <a href="https://medium.com/tonal-app/new-classical-music-experience-on-macos-e027511fbaa8"><em>New Classical Music Experience on macOS</em></a><em> </em>explains why Tonal’s support for classical music is <em>in the details</em>. Much of this article applies to other music genres as well.</li><li><a href="https://medium.com/tonal-app/music-metadata-without-tags-bdc99af196e5"><em>Music Metadata Without Tags</em></a><em> </em>reveals Tonal’s genuinely original thinking. Editing music metadata in Tonal is fun and can bring your music collection to a new level.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9ce3956f7ee" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tonal/3-things-to-think-about-before-building-your-lossless-music-collection-d9ce3956f7ee">3 Things to Think About Before Building Your Lossless Music Collection</a> was originally published in <a href="https://medium.com/tonal">Tonal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Classical Music Metadata Without Tags]]></title>
            <link>https://medium.com/tonal/music-metadata-without-tags-bdc99af196e5?source=rss-7206bcaffeb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdc99af196e5</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[new-tonal-app]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[classical-music]]></category>
            <dc:creator><![CDATA[Baoshan Sheng]]></dc:creator>
            <pubDate>Wed, 12 Jul 2023 07:06:13 GMT</pubDate>
            <atom:updated>2023-07-18T06:11:18.634Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fpm1kGcC1tqyGiPMqBRiFA.png" /><figcaption>A woman using the card catalog at the main reading room of the Library of Congress (circa 1940).</figcaption></figure><blockquote>Don’t embed music metadata in audio files, and here is why.</blockquote><p>Audio files are full of <em>music tags</em>. The original intention was to make them accessible. These<em> tags</em> have been serving the purpose for decades. But this is <em>inelegant</em>. The proofs are in the <em>long, ugly</em> toolchain and workflow:</p><ul><li>keep local tags up to date with upstream sources like MusicBrainz</li><li>sync audio filenames with tags</li><li>edit tags <em>(maybe in batch with scripts)</em> and write back to the audio files <em>(maybe on NAS or cloud-based storage)</em></li></ul><p>What have we finally got? Disconnected islands of redundant and stale information.</p><h4>Tags Are Dead</h4><p><em>Embedded tags</em> are retiring in one way or another: when you watch Apple TV+, you won’t see them; when you listen to Apple Music, you won’t see them; when you browse your local video or music collection in <a href="https://www.plex.tv/">Plex</a> or <a href="https://roon.app/">Roon</a>, there is a big chance you won’t see them.</p><ul><li>Hosting the same song dozens of times with the <em>language of tags</em> being the only difference is a waste for streaming services. It also harms the user experience — updates to metadata take more steps to propagate.</li><li>For modern apps like Plex or Roon, their envisioned experience relies on data sources such as <a href="https://business.tivo.com/products-solutions/metadata">TiVo</a> or <a href="https://www.themoviedb.org/">The Movie Database</a>. They won’t even increase their “surface area” by adding features like <em>tag editing</em>.</li></ul><p>Without any <em>embedded tags</em>, audio files become <em>immutable</em> automatically and are suitable for <a href="https://en.wikipedia.org/wiki/Content-addressable_storage">content-addressable storage</a>. Also, the artwork will <em>not</em> be duplicated<em> </em>in every single track. But how about the music metadata? Let’s have some music first.</p><p><a href="https://en.wikipedia.org/wiki/A_German_Requiem_(Brahms)"><em>Ein deutsches Requiem</em></a> is a choral work composed by <a href="https://en.wikipedia.org/wiki/Johannes_Brahms"><em>Johannes Brahms</em></a> between 1865 and 1868. It is scored for a <em>soprano</em>, a <em>baritone</em>, a mixed <em>choir</em>, and an <em>orchestra</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AOGLQgyT3PBTOBRs2ovgAA.png" /><figcaption>Apple Music presenting Brahms’s <em>Ein deutsches Requiem.</em></figcaption></figure><p>How many tags do you need for the 7 tracks? The first track alone needs 9 tags (that’s not counting album-level tags such as <em>album title</em>, <em>genre</em>, <em>artwork, etc.</em>):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9VolvoY2qtfP_QB4GndPLA.png" /><figcaption>9 tags are required for the first track.</figcaption></figure><p>To describe all 7 tracks, you need 59 tags. And you have to be extremely careful not to mess up with the <em>ordering of artists</em> like Apple Music did:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GdmYQf8wfiJBc8NDazYfvA.png" /><figcaption>Inconsistencies in the ordering of artists found in Apple Music.</figcaption></figure><h4>Long-Live the Music Metadata</h4><p>Don’t store music metadata in an opaque format like binary. XML is much better but still not good enough. <em>Simple plain text is the best.</em></p><p>For this album, 59 tags can be reduced to 17 lines — no more redundancy, no need to check over and over, and roles like <em>baritone</em> and <em>soprano</em> are also included:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ZRDwsi67TW9D8VPIIVLCg.png" /><figcaption>17 lines are enough to model the <em>Ein deutsches Requiem album</em>.</figcaption></figure><h4>Tonal Metadata Language</h4><p>The example text is written in <em>Tonal Metadata Language</em> and is edited in the web-based <em>Tonal Editor</em>. The language is designed for <em>accuracy</em>, <em>brevity</em>, and <em>clarity</em>. The full specifications are defined in <a href="https://b.ton.al/tonal_user_guide.pdf">the user guide of Tonal</a>.</p><p>Take another album as an example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vfC82O-aV70F2el4-K5yFA.png" /><figcaption>An album rendered in the <a href="http://apps.apple.com/app/tonal/id6449281141">new Tonal app</a>.</figcaption></figure><p>The corresponding <em>metadata document</em> is presented below — very intuitive because it pays homage to physical albums’ <em>back covers</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*96ZWQpbh35zX-pnzbrFIUw.png" /></figure><h4>Separation of Concern</h4><p>With <a href="http://apps.apple.com/app/tonal/id6449281141">the new Tonal app</a>, music metadata is <em>no longer </em>embedded in audio files — you can modify the music metadata anytime without touching the audio files. Save the document in Safari; updates will be pushed to the Tonal app in real time — you will never see <em>stale</em> music metadata again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3pmGYmxdNoIG_Z4VA0op_w.gif" /><figcaption>Updates to music metadata will be pushed to the app in real time.</figcaption></figure><h4>A New Era of Music Metadata</h4><p>From <em>audio players</em> to <em>music streaming apps</em>, music metadata drives music content consumption silently — to some extent, music metadata <em>is the content</em>.</p><p>The new Tonal app is designed to prove it is time for a new music metadata database that is simple, open, designed for collaboration, and supports classical music well.</p><h3>Before You Start</h3><p>Tonal is a <em>misfit</em> in many ways<strong> — </strong>it does <em>not</em> fit everyone’s needs, and for those who choose Tonal, Tonal <em>won’t</em> be their <em>only</em> player:</p><ul><li>Due to the <a href="https://medium.com/tonal-app/secrets-of-audiophile-playback-on-macos-8f940e8f4625"><em>always-bit-accurate</em></a> strategy, you can neither listen to 192 kHz albums on your Mac’s built-in speakers nor play a DSD album on a PCM-only D/A converter.</li><li>Tonal collects albums into its <em>managed directory,</em> which contains packed lossless audio data in a uniform encoding (but no music metadata). If you cannot make a standalone space for Tonal, whether internal or external, on a NAS or an SD card, there may be a better time for you to experience Tonal.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FbKnqBSFNE1skiXpEu7ykA.png" /><figcaption>By 2030, a $50 SSD can store over 30,000 CD-quality albums. Source: <a href="https://wikibon.com/qlc-flash-hamrs-hdd/">Wikibon</a></figcaption></figure><ul><li>Tonal accepts lossless and complete discs only. CD-quality discs must also be AccurateRip verified (Tonal uses CUETools to repair broken rips automatically).</li></ul><p>You can <a href="http://apps.apple.com/app/tonal/id6449281141">download Tonal for free</a> from the <a href="http://apps.apple.com/app/tonal/id6449281141">Mac App Store</a> if such limitations are acceptable. At only 25 MB, Tonal is lightweight. The free version has no restrictions on features or usage. You can add up to 20 (CD-quality or high-res) discs to build a <em>mini collection</em> of your favorite artists.</p><p>A <em>one-time (non-subscription)</em> in-app purchase, priced at $99.99 for the introductory period, is offered to remove the limit. There is an even better way to unlock — if you have reviewed Tonal, please contact me for a free coupon; if you have conducted an in-depth review, an additional coupon will be provided to share with your best friend.</p><p>Please read the <a href="https://b.ton.al/tonal_user_guide.pdf">complete User’s Guide</a> before downloading.</p><h3>Listen Different</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zbFG-bAVI18Qs-L2y6_-TQ.png" /><figcaption>A homage to Apple’s “Think Different” slogan.</figcaption></figure><p>This article introduces how Tonal invented a <em>metadata language </em>and <em>an editor</em> to separate music metadata from audio files. This may not be the most interesting one in the series of articles on Tonal:</p><ul><li>For those who still cannot find a player with first-class support for classical music, <a href="https://medium.com/tonal-app/new-classical-music-experience-on-macos-e027511fbaa8"><em>New Classical Music Experience on macOS</em></a><em> </em>explains why Tonal’s support for classical music is <em>in the details</em>. Much of this article applies to other music genres as well.</li><li>Read <a href="https://medium.com/tonal-app/3-things-to-think-about-before-building-your-lossless-music-collection-d9ce3956f7ee"><em>3 Things to Think About Before Building Your Lossless Music Collection</em></a><em> </em>to have a new perspective on the quality of your music collection.</li><li>Read <a href="https://medium.com/tonal-app/secrets-of-audiophile-playback-on-macos-8f940e8f4625"><em>Secrets of Audiophile Playback on macOS</em></a> to learn how Tonal handles bit-accurate playback without introducing any <em>playback setting</em>. Even if you don’t like Tonal, you can better understand how mainstream audiophile players work in the context of bit-accurate playback.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdc99af196e5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tonal/music-metadata-without-tags-bdc99af196e5">Classical Music Metadata Without Tags</a> was originally published in <a href="https://medium.com/tonal">Tonal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>