Coder Social home page Coder Social logo

Comments (6)

danigb avatar danigb commented on September 4, 2024

represents a pitch shift in semitones

I think that all notes after that event are modified by transposition... Correct me if I'm wrong. Maybe a better name would be "transpose".

from sequence-json.

brianbreitsch avatar brianbreitsch commented on September 4, 2024

Could be--seems a a bit too specific for the MusicJSON spec. If this was a feature required by a certain implementation--is that implementation example around?

from sequence-json.

stephband avatar stephband commented on September 4, 2024

pitch is simply an attempt to be compatible with MIDI pitch bend information.

I would agree that it probably needs a re-think for the modern age. MIDI limits pitch events to a channel, where they affect all notes on that channel. I don't see why we would actually need to build in that limitation, but can anyone think of a better way of storing pitch bend info?

from sequence-json.

stephband avatar stephband commented on September 4, 2024

One idea might be to allow note to carry a sequence of automation events.

[0, "note", 60, 80, 1, {
  "events": [
    [0, "pitch", 0],
    [1, "pitch", 0.2],
    [1.25, "pitch", 0.2],
  ]
}]

My gut tells me that feels a little clunky.

from sequence-json.

brianbreitsch avatar brianbreitsch commented on September 4, 2024

My feeling is that the best way to carry such information is heavily dependent on whether the context is real-time vs sequencing vs notation editing/rendering.

@stephband Your comment clears up the misunderstanding, shall I close this one? Perhaps we can open a new issue to discuss MIDI compliance--as you allude to in the spec. I think it would be helpful to think about the problem from the stance of designing a spec for real-time vs notation.

from sequence-json.

stephband avatar stephband commented on September 4, 2024

@brianbreitsch Possibly... but the aim here is to try and devise something interchangeable that is useful for all those contexts.

Sure, start a discussion on MIDI compat, it's a good idea. Or just change the title of this discussion.

from sequence-json.

Related Issues (6)

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.