bugDenemo - Bugs: bug #33327, DENEMO_OVERRIDE_DURATION needed

 
 

bug #33327: DENEMO_OVERRIDE_DURATION needed

Submitted by:  Nils Gey <steele>
Submitted on:  Tue 17 May 2011 10:44:22 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 24 Jul 2011 08:28:09 AM UTC, comment #3:

I should have said:
I have just implemented DENEMO_OVERRIDE_DURATION for standalone Denemo Directives
This allows Upbeat to have no MIDI duration, so that the music starts straight away.

Richard Shann <rshann>
Project Administrator
Wed 06 Jul 2011 04:13:56 PM UTC, comment #2:

I have just implemented DENEMO_OVERRIDE_DURATION for Denemo Directives. Only tested with 0 so far.
Looking at the CHORD case, I can confirm that it would be a different thing to shorten the sounding part of notes (as opposed to shortening the notes, thereby bringing succeeding music forward), the attempt to do this in the code was failing and is not compiled in.

Richard Shann <rshann>
Project Administrator
Tue 17 May 2011 12:04:23 PM UTC, comment #1:

My recollection was that this would not be easy to implement, which is why I left it out. In fact, the original implementor of the MIDI generation in Denemo wrote code to respond to staccato, dynamics and so on - it was flaky, and, naturally rather rigid (to give them credit, they did allow environment variables to be set to influence it). It is disabled as it caused crashes sometimes.

Since proposing the DENEMO_OVERRIDE_DURATION flag I have thought that it would be better to do any sort of "humanizing" midi output by generating a new score from the old one with durations, volumes, start times etc adjusted to make the MIDI output desired. Support in C would be needed to keep this underlying mechanism out of the user's view, and to let the playback head show on the user's score, not the hidden score. This is written up on denemo.org.
Initial development would be to create a visible score for playback, as this will assist in debugging the script.

Richard Shann <rshann>
Project Administrator
Tue 17 May 2011 10:44:22 AM UTC, original submission:

DENEMO_OVERRIDE_DURATION is needed for various scripts like staccato or the chord-member overrides. (single-voice chord with different duration notes).

The difference to change duration in ticks is that this override should not affect the logic behind. Its purely for playback. Measure calculation, GetDurationInTicks etc. would still show the original value.

I see a problem when it comes to handle this in scripts. Is a relative (%) or absolute (tick) value better? And what if two of these modificators are on one note?
This problem is not Denemo specific but originates already in music notation. Staccato dots combined with legato slurs or tenuto signs... I've seen it all.

I have not yet thought much about the musical methods to handle this but I think it is not unsolvable. But maybe one modifier is not enough.

Nils Gey <steele>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rshann (Posted a comment)
  • -unavailable- added by steele (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup