OpenMOSS / OpenMOSS/MOSS-TTS

[Feature Request] Explicit pt-BR (Brazilian Portuguese) language tag, separate from pt-PT

Open
#167 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.1k
Forks
373
Avg merge
20m
Merged PRs (30d)
1

Description

Problem

Currently, both Brazilian Portuguese and European Portuguese are merged
under a single pt language code. This causes unpredictable dialect output
during inference — even when providing a strong Brazilian Portuguese reference
audio, the model sometimes generates European Portuguese phonetics instead.

The two variants are phonetically distinct in ways that are immediately
noticeable to native speakers:

  • Palatalization of /t/ and /d/ before /i/ (e.g., "tia" → /tʃia/ in BR,
    /tia/ in PT)
  • Pre-consonant /r/ realization (guttural in BR, tapped in PT)
  • Open vowels and vocalic rhythm (fuller in BR, reduced in PT)
  • Syllable-final /l/ → /w/ vocalisation (BR only)

Use Case

I am building a video dubbing pipeline (English → Brazilian Portuguese)
where consistent pt-BR output per segment is a hard requirement.
The current ambiguity makes the model unreliable for this use case
without additional post-processing workarounds.

Brazil has 200M+ Portuguese speakers and is the largest Portuguese-speaking
market in the world. A dedicated pt-BR tag would make MOSS-TTS significantly
more useful for a large and underserved developer audience.

Request

For MOSS-TTS 2.0, please consider:

  1. Separate language codes: pt-BR for Brazilian Portuguese and pt-PT
    for European Portuguese, following the ISO 639-1 standard already used
    by most TTS systems.
  2. Dedicated training data per variant: ensuring the model has sufficient
    pt-BR speech data so the dialect is reliably reproduced without depending
    solely on reference audio to infer the variant.
  3. Reference audio + language tag combination: when both are provided,
    the explicit tag should take precedence over the dialect inferred from
    the audio.

Current Workaround (insufficient)

Using a reference audio with strong BR phonetics helps but does not guarantee
consistent output. The model still occasionally falls back to European
Portuguese, which is not acceptable for production dubbing workflows.

Thank you for the great work on MOSS-TTS — the token-level duration control
and Apache 2.0 license make it the most promising open-source TTS for this
use case. Looking forward to 2.0!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified. Start by locating language-code handling, training-data configuration, and the interaction between reference audio and language tags; done would require distinct pt-BR and pt-PT behavior, adequate variant data, and explicit-tag precedence.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.