Giter VIP home page Giter VIP logo

Comments (7)

rmtuckerphx avatar rmtuckerphx commented on August 16, 2024

For simplicity, the initial intention was to not support nesting. We can consider expanding the concept of sections to include additional (or maybe all) tags. Looking for feedback on this.

from speechmarkdown-js.

RokasVaitkevicius avatar RokasVaitkevicius commented on August 16, 2024

@rmtuckerphx Overall, ssml supports nested tags, why speechmarkdown shouldn't? Also, what do you mean by 'simplicity'? Is it library coding simplicity or speechmarkdown syntax simplicity that you are concerned with?

from speechmarkdown-js.

rmtuckerphx avatar rmtuckerphx commented on August 16, 2024

The primary users of speech markdown are content authors and designers and thirdly developers. Simplicity should always be framed with content authors in mind. It is true the SSML supports nesting. In some cases markdown also supports nesting, but it is towards markdown's simplicity that we should be leaning.

By allowing multiple tags in square braces, we remove the burden of nesting from the content author:
ex: My favorite chemical element is (Al)[sub:"aluminum";volume:"x-loud";rate:"slow";pitch:"low"]

Seems like the only issue might be with breaks. Trying to weigh which one would be better from a content author's perspective:
Option 1. (break after this [0.2s] another break after this [0.2s])[rate:"slow"]
Option 2. (break after this)[rate:"slow"] [0.2s] (another break after this)[rate:"slow"][0.2s]

My perspective is that Option 2 is simpler for content authors.
Would enjoy others to join in with their perspective.

from speechmarkdown-js.

tomhewitson avatar tomhewitson commented on August 16, 2024

Hullo. As a content creator, option 1 feels more intuitive to me and I nest tags fairly frequently (IPA combined with prosody is another good example), maybe worth asking a few others who write a lot of ssml what they think too?

from speechmarkdown-js.

rmtuckerphx avatar rmtuckerphx commented on August 16, 2024

@tomhewitson Thanks Tom for your feedback. You can already combine (which auto nests) IPA and prosody:
speech markdown: I say, (pecan)[ipa:"ˈpi.kæn";rate:"x-slow"].
converts to
SSML:

<speak>
I say, <prosody rate="x-slow"><phoneme alphabet="ipa" ph="ˈpi.kæn">pecan</phoneme></prosody>.
</speak>

from speechmarkdown-js.

rmtuckerphx avatar rmtuckerphx commented on August 16, 2024

Looks like there is no further conversation on this topic. Thanks for a good discussion and thanks for your involvement in this project.

I am open to nesting. That way those who want to use it can and those who don't are covered as well. We need someone to write the tests and implement.

from speechmarkdown-js.

arjan avatar arjan commented on August 16, 2024

Closing issue due to no activity.

from speechmarkdown-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.