# Mixed Mode CD (data track + redbook audio)

**URL:** <https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363>\
**Category:** Style\
**Tags:** format, cd\
**Created:** [May 31, 2022, 5:30pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363 "2022-05-31T17:30:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![yindesu](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/y/b77776/32.png) [@yindesu](https://community.metabrainz.org/u/yindesu)\
**Post date:** [May 31, 2022, 5:30pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/1 "2022-05-31T17:30:09Z")

</div>

> **[Mixed Mode CD](https://en.wikipedia.org/wiki/Mixed_Mode_CD)**
>
> A mixed mode CD is a compact disc which contains both data and audio in one session. Typically the first track is a data track while the rest are audio tracks. The most common use for mixed mode CDs is to add CD-quality audio to video games on a CD.
> The term "enhanced CD" is sometimes used to refer to mixed mode CDs, though it is most commonly used to refer to either a more general category of formats that mix audio and data tracks, or to the particular Enhanced Music CD format.
> Mixed mode CDs ...

What Format should be picked for these?

Some examples:

1. [Release “Magic & Mayhem” by Afro Celt Sound System - MusicBrainz](https://musicbrainz.org/release/9cd9e81a-2dab-46d0-988e-bb486ddc1b05) is currently marked as a Data CD.
2. [Release “Extreme Assault Game CD” by Chris Hülsbeck & Fabian Del Priore - MusicBrainz](https://musicbrainz.org/release/5a2a881d-50c7-4575-809e-5d8764d25a1f) is currently marked as a (Audio) CD.

Should a dedicated “mixed mode” format be added?

---

<div class="post-metadata">

**Author:** ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)\
**Post date:** [May 31, 2022, 5:56pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/2 "2022-05-31T17:56:09Z")

</div>

Doesn’t this kinda overlap the Enhanced CD world? A music CD with video tracks in a data session?

---

<div class="post-metadata">

**Author:** ![yindesu](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/y/b77776/32.png) [@yindesu](https://community.metabrainz.org/u/yindesu)\
**Post date:** [May 31, 2022, 5:59pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/3 "2022-05-31T17:59:02Z")

</div>

No. Enhanced CD requires the data track be at the end, not the first.

---

<div class="post-metadata">

**Author:** ![outsidecontext](https://community.metabrainz.org/user_avatar/community.metabrainz.org/outsidecontext/32/90_2.png) [@outsidecontext](https://community.metabrainz.org/u/outsidecontext)\
**Post date:** [May 31, 2022, 6:20pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/5 "2022-05-31T18:20:53Z")

</div>

I’d always thought this would also be an Enhanced CD. But reading the Wikipedia article makes it rather clear that both should be distinct. So I think we need the media type “Mixed Mode CD” as a separate entry.

---

<div class="post-metadata">

**Author:** ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)\
**Post date:** [May 31, 2022, 6:23pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/6 "2022-05-31T18:23:52Z")

</div>

How would a normal person know the layout of their CD? I get the technical difference, but in the average CD player in a PC is this not going to just show up as “music bit” and “data bit”?

---

<div class="post-metadata">

**Author:** ![draconx](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/d/c5a1d2/32.png) [@draconx](https://community.metabrainz.org/u/draconx)\
**Post date:** [May 31, 2022, 7:03pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/7 "2022-05-31T19:03:16Z")

</div>

> [@IvanDobsky](#):
>
> How would a normal person know the layout of their CD? I get the technical difference, but in the average CD player in a PC is this not going to just show up as “music bit” and “data bit”?

They key technical point of blue book CDs is that they are indistinguishable from an audio-only CD in an ordinary CD player. Multisession discs are not part of the original CD specification and are therefore not typically implemented by CD players. Only the first TOC, containing audio tracks exclusively, will be used.

In mixed mode, there are a mixture of audio and data tracks within a single TOC. Normally track 1 is a data track and the rest are audio. Both audio and data tracks will show up in a CD player, and you may need to manually skip over the data track.

---

<div class="post-metadata">

**Author:** ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)\
**Post date:** [May 31, 2022, 7:07pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/8 "2022-05-31T19:07:34Z")

</div>

I know how the discs work (I am old technical person), just wondering how we would help normal people know what they have in their hands. If MB is to separate Red book and Blue book there needs to be a simple way to spot them.

---

<div class="post-metadata">

**Author:** ![draconx](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/d/c5a1d2/32.png) [@draconx](https://community.metabrainz.org/u/draconx)\
**Post date:** [May 31, 2022, 7:10pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/9 "2022-05-31T19:10:05Z")

</div>

> [@IvanDobsky](#):
>
> If MB is to separate Red book and Blue book there needs to be a simple way to spot them.

If the type of disc is not obviously marked on the packaging the only way will be to put it in a CD-ROM drive and inspect the contents of the disc (since you will not be able to identify the existence of multiple sessions in a normal CD player).

Most examples of blue book CDs in my collection have one of the CD-EXTRA, CD+ or Enhanced CD logos printed somewhere on the packaging.

Edited to add: the cd-info utility included in the [GNU libcdio package](https://www.gnu.org/software/libcdio/) can be used to identify what’s on each session and will clearly distinguish these different types of data+audio CDs.

**Sample output from single-session mixed-mode CD-ROM** :

> `[...]`  
> ` __________________________________ `  
> `CD Analysis Report`  
> `No CD-TEXT on Disc.`  
> **`mixed mode CD`**  
> `[...]`

**Sample output from blue-book “enhanced CD”** :

> `[...]`  
> ` __________________________________ `  
> `CD Analysis Report`  
> `No CD-TEXT on Disc.`  
> **`CD-Plus/Extra`**  
> `[...]`

---

<div class="post-metadata">

**Author:** ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)\
**Post date:** [June 2, 2022, 6:19pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/10 "2022-06-02T18:19:24Z")

</div>

> [@draconx](#):
>
> Edited to add: the cd-info utility included in the [GNU libcdio package](https://www.gnu.org/software/libcdio/) can be used to identify what’s on each session and will clearly distinguish these different types of data+audio CDs.

Anyone got a GUI tool for the Windows world? I am trying to think of the average editor.

Also I would love to get my hands on these tools again as I used to have them in the 90s when I first burnt CDs.

---

<div class="post-metadata">

**Author:** ![jesus2099](https://community.metabrainz.org/user_avatar/community.metabrainz.org/jesus2099/32/36_2.png) [@jesus2099](https://community.metabrainz.org/u/jesus2099)\
**Post date:** [June 3, 2022, 7:25am UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/11 "2022-06-03T07:25:04Z")

</div>

Maybe we don’t really need software.  
Or maybe I missed an important info. 🤭

If you see **a _data track_ first** , followed by _audio track(s)_, then it’s this kind, **old fashion** _mixed mode_.

But if you see **_audio track(s)_ first**, followed by a _data track_, then it’s the **now more common** CD Extra, Enhanced CD, CDDA+ thing.

But in fact, unfortunately, **these terms are interchangeable** , it’s just a habit to call data first = mixed mode and audio first = Enhanced CD Extra.

## Update

> [@yindesu](#):
>
> Enhanced CD requires the data track be at the end, not the first.

True for the _official_ Enhanced CD terms, but colloquially:

> [Blue Book (CD standard) - Wikipedia](https://en.wikipedia.org/wiki/Blue_Book_(CD_standard))  
> The term “enhanced CD” is also an umbrella term and a certification mark used to refer to different CD formats that support audio and data content, including mixed mode CDs, CD-i and CD-i Ready.

---

<div class="post-metadata">

**Author:** ![reosarevok](https://community.metabrainz.org/user_avatar/community.metabrainz.org/reosarevok/32/69228_2.png) [@reosarevok](https://community.metabrainz.org/u/reosarevok)\
**Post date:** [June 3, 2022, 9:04am UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/12 "2022-06-03T09:04:07Z")

</div>

FWIW, I expect most non-CD-expert users will just use “CD” anyway for all three of these, so I’m not sure how much it matters how easy it is to tell which one is which if you don’t know about them…

---

<div class="post-metadata">

**Author:** ![jesus2099](https://community.metabrainz.org/user_avatar/community.metabrainz.org/jesus2099/32/36_2.png) [@jesus2099](https://community.metabrainz.org/u/jesus2099)\
**Post date:** [June 3, 2022, 9:30am UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/13 "2022-06-03T09:30:48Z")

</div>

So we can maybe keep what we have now?  
For user friendliness sake.

> Does your audio CD contain data?

Yes? Then:

## Enhanced CD

If it’s **data track first** , we have to make a `[data track]` appear in the tracklist at position 1, because of how disc ID is computed.

If it’s **audio track(s) first**, we ~~don’t have to~~ shouldn’t append a `[data track]` at the end of the tracklist.

In both cases, regardless the _data track_ position in the CD, if it contains musical stuff (video or audio files), we add one special track for each, at the end of the tracklist, thanks to the dedicated data track checkbox of the release tracklist editor.

---

<div class="post-metadata">

**Author:** ![yindesu](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/y/b77776/32.png) [@yindesu](https://community.metabrainz.org/u/yindesu)\
**Post date:** [June 4, 2022, 6:14pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/14 "2022-06-04T18:14:08Z")

</div>

Can you explain a good reason _not_ to add Mixed Mode CD as a separate medium type?

I can provide a reason why I’d want it - being able to automatically decrement the total track count by 1 in Picard if the medium is Mixed Mode CD.

Or can you provide an alternative userscript that decrements the total track count for the entire medium if the first track on that medium is named “[data track]”? (Because that’s what a Mixed Mode CD is in practice - the first track is a “[data track]”, as required by Disc ID, which isn’t audio.)

---

<div class="post-metadata">

**Author:** ![jesus2099](https://community.metabrainz.org/user_avatar/community.metabrainz.org/jesus2099/32/36_2.png) [@jesus2099](https://community.metabrainz.org/u/jesus2099)\
**Post date:** [June 4, 2022, 6:30pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/15 "2022-06-04T18:30:39Z")

</div>

> [@yindesu](#):
>
> Can you explain a good reason _not_ to add Mixed Mode CD as a separate medium type?

Not really, except maybe people won’t know how to choose type?  
It doesn’t seem like an urgent change to me.  
Maybe because I don’t understand the problem with the track number in Picard Tagger.

But it would be an interesting fact about releases.

But if we get a mixed mode type, maybe first track (data track) should not be ~~visible or~~ editable?  
And if we add the data track content (music and video files) to the MB release, they could be shown at the top for mixed mode and still at the top for Enhanced CD Extra?

---

<div class="post-metadata">

**Author:** ![yindesu](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/y/b77776/32.png) [@yindesu](https://community.metabrainz.org/u/yindesu)\
**Post date:** [June 4, 2022, 6:52pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/16 "2022-06-04T18:52:29Z")

</div>

It doesn’t seem like this is supposed to be that complicated to me?

1. CD = pure CD Digital Audio - 100% audio tracks, no data tracks at either end.
2. Enhanced CD = data track at the end, which can be split out into individual files. All tracks before the data section are audio tracks.
3. Mixed Mode CD = data track is the first track (which cannot be split out into individual files due to Disc ID), and all remaining tracks are audio tracks.

For actually more complicated things:

- Copy Control CDs sometimes look like Enhanced CDs, but I assume everyone still wants them to go under Copy Control CD.

> [@jesus2099](#):
>
> Maybe because I don’t understand the problem with the track number in Picard Tagger.

Using the first example [Release “Magic & Mayhem” by Afro Celt Sound System - MusicBrainz](https://musicbrainz.org/release/9cd9e81a-2dab-46d0-988e-bb486ddc1b05), Picard will see it as a 13-track release, with 13 total tracks. Someone trying to put this in their music library will only be expecting 12 total tracks, not 13. If Mixed Mode CD is available as the medium format to scripting, then the user can just decrement the tracknumber and the totaltracks by 1, so it makes sense in their music library.

---

<div class="post-metadata">

**Author:** ![rdswift](https://community.metabrainz.org/user_avatar/community.metabrainz.org/rdswift/32/7032_2.png) [@rdswift](https://community.metabrainz.org/u/rdswift)\
**Post date:** [June 4, 2022, 7:30pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/17 "2022-06-04T19:30:27Z")

</div>

> [@yindesu](#):
>
> Or can you provide an alternative userscript that decrements the total track count for the entire medium if the first track on that medium is named “[data track]”?

Using the [Persistent Variables](https://picard.musicbrainz.org/plugins/) plugin, you might be able to do it with a tagging script something like ( **Untested Code Warning** ):

```auto
$if($and($eq(%tracknumber%,1),$in(%title%,[data)),$set_a(_first_track_is_data,1))

```

This should set an album-level persistent variable `_first_track_is_data` that can be tested in the file naming script to adjust the track numbers. Something like:

```auto
$if($get_a(_first_track_is_data),$set(_tracknumber,$sub(%tracknumber%,1))$set(_totaltracks,$sub(%totaltracks%,1)))

```

If you want to change the actual `%tracknumber%` and `%totaltracks%` tags, then you should use another tagging script which would be triggered manually just prior to saving the release (and not make the changes in your file naming script):

```auto
$if($get_a(_first_track_is_data),$set(tracknumber,$sub(%tracknumber%,1))$set(totaltracks,$sub(%totaltracks%,1)))

```

**EDIT:** If you try this and find that it works for you, please let me know and I’ll add it as a better real-world example to the plugin documentation. Thanks.

---

<div class="post-metadata">

**Author:** ![jesus2099](https://community.metabrainz.org/user_avatar/community.metabrainz.org/jesus2099/32/36_2.png) [@jesus2099](https://community.metabrainz.org/u/jesus2099)\
**Post date:** [June 4, 2022, 10:59pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/18 "2022-06-04T22:59:40Z")

</div>

> [@yindesu](#):
>
> Mixed Mode CD = data track is the first track (which cannot be split out into individual files due to Disc ID)

Why not adding individual files, if any, with the data section checkbox?

If you’re making an improvement suggestion, it should make this section appear in place of the first track of mixed mode CD, currently hand titled `[data track]`, instead of at the end.

---

<div class="post-metadata">

**Author:** ![yindesu](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/y/b77776/32.png) [@yindesu](https://community.metabrainz.org/u/yindesu)\
**Post date:** [June 4, 2022, 11:19pm UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/19 "2022-06-04T23:19:42Z")

</div>

> [@jesus2099](#):
>
> Why not adding individual files, if any, with the data section checkbox?
> 
> If you’re making an improvement suggestion, it should make this section appear in place of the first track of mixed mode CD, currently hand titled `[data track]`, instead of at the end.

That sounds like a schema change, and by definition will require all of the Disc ID code in both the server and the clients to be rewritten, which is far beyond the act of adding a new CD sub-format that has no further consequences on either.

---

<div class="post-metadata">

**Author:** ![reosarevok](https://community.metabrainz.org/user_avatar/community.metabrainz.org/reosarevok/32/69228_2.png) [@reosarevok](https://community.metabrainz.org/u/reosarevok)\
**Post date:** [June 7, 2022, 8:16am UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/20 "2022-06-07T08:16:56Z")

</div>

> [@yindesu](#):
>
> Can you explain a good reason _not_ to add Mixed Mode CD as a separate medium type

I do think we should add it, I just haven’t gotten to it yet and I was checking whether someone here had a good reason not to 🙂 my post was specifically about how I don’t feel the confusing the newbies thing is a big deal

---

<div class="post-metadata">

**Author:** ![reosarevok](https://community.metabrainz.org/user_avatar/community.metabrainz.org/reosarevok/32/69228_2.png) [@reosarevok](https://community.metabrainz.org/u/reosarevok)\
**Post date:** [June 8, 2022, 11:18am UTC](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363/21 "2022-06-08T11:18:46Z")

</div>

Added this now. Apparently [Collection “Mixed Mode CD-ROMs” - MusicBrainz](https://musicbrainz.org/collection/f70d8575-6687-413a-ab0f-17c944ef89c8) is ripe for editing now 😉

[Next page](https://community.metabrainz.org/t/mixed-mode-cd-data-track-redbook-audio/587363.md?page=2)
