denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Denemo musical error tests


From: Richard Shann
Subject: Re: [Denemo-devel] Denemo musical error tests
Date: Tue, 14 Jun 2011 17:53:23 +0100

I have turned on the debug statements in the script, it would seem that
the consecutives being returned are no longer a list of positions, it
looks like a list of these

 #(musobj (1070) 1 4 7 1 1 9216 1536 1536 0)

I am not quite sure, as the start of the list scrolled off the terminal.

Richard

On Tue, 2011-06-14 at 17:46 +0100, Richard Shann wrote:
> Trying the first of Handel's exercises, and playing every chord in
> parallel motion I get an error:
> 
> (apply:nconc2last Wrong type argument in position ~A: ~S (1 ((#f .
> #(musobj (1420) 1 3 1 2 1 0 768 768 0)))) (((#f . #(musobj (1420) 1 3 1
> 2 1 0 768 768 0)))))
> 
> I have scrubbed my .denemo of local commands so I think this is for
> real. (To test, run the Handel's Figured Bass Exercises command, Hit
> start, y, and then play root position chords with each bass note in the
> exercise, played in parallel with the bass they should cause
> consecutives everywhere).
> (The script works by splitting the chords you play in into parts (in a
> separate tab) and applying the consecutives finder script there. The
> positions it gives are then used to mark the original, untouched first
> tab).
> 
> Richard
> 
> 
> 
> 
> On Tue, 2011-06-14 at 17:55 +0200, Nils Gey wrote:
> > Eventhough the error testing was never a public part of Denemo it is in 
> > since februrary 2011 or so.
> > 
> > Now I've rewritten the test system and its much better. We have a function 
> > MapToAbstractionMovement now which takes as many functions as needed. The 
> > functions need to follow some parameter guideline but otherwise they have 
> > free hand. All is done in one run so performance should be quite good. 
> > 
> > The test does not touch your score, its read-only.
> > 
> > Here is a ready-to-paste snippet for Denemos Scheme window to test your 
> > music for consecutive 5ths, 8ths and for simultaneous 4th to the bass.
> > Warning 1: Using this with merged voices is untested and I think it will 
> > just crash. 
> > warning 2: Using this with chords (in one staff) will maybe not crash but 
> > the results will be wrong.
> > 
> > (use-modules (ice-9 pretty-print)) 
> > (Blank) 
> > (d-PushPosition)
> > (pretty-print (MapToAbstractionMovement (CreateAbstractionMovement) 
> > AM::consecutive5th AM::consecutive8th 
> > AM::simultaneousFromBaseMetricalMain4th))
> > (d-PopPosition)
> > 
> > _______________________________________________
> > Denemo-devel mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/denemo-devel
> 
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]