Eradicating duplicated notes with different lengths

Author
Twigman
Max Output Level: -38.5 dBFS
  • Total Posts : 3667
  • Joined: 2006/08/24 04:45:15
  • Location: United Kingdom of Great Britain & Northern Ireland
  • Status: offline
2007/01/31 09:19:34 (permalink)

Eradicating duplicated notes with different lengths

In the PRV I had a piece with several crotchet and quaver notes with several crotchet rests between.
I needed these stretching to at least minims but rather than pulling the end of the notes, I drew new notes over the top of the old notes.
Sometimes these new notes play and other times the old notes play.

Is there an easy way to isolate the old notes so that they can be erased as they are no longer visible in the PRV?

Thanks.

And I truly don't mind how you spell the responses.
post edited by Twigman - 2007/01/31 09:59:41

Become a Fan on Facebook
Buy our stuff on iTunes
Q9550-P5QL-E-8GB1066RAM-GT9800 1GB-RME HDSP9632-W7Prox64-X2x64
#1

9 Replies Related Threads

    Keith Albright [Cakewalk]
    Max Output Level: -68 dBFS
    • Total Posts : 1117
    • Joined: 2006/07/10 15:44:42
    • Location: Boston, MA
    • Status: offline
    RE: Eradicating duplicated notes with different lengths 2007/01/31 09:28:18 (permalink)
    One way, you can use the Event Viewer.

    Another way staying in the PRV, select by time or lasso select and then control click to remove the visible note from selection, then delete or move first then delete.

    Keith
    #2
    Twigman
    Max Output Level: -38.5 dBFS
    • Total Posts : 3667
    • Joined: 2006/08/24 04:45:15
    • Location: United Kingdom of Great Britain & Northern Ireland
    • Status: offline
    RE: Eradicating duplicated notes with different lengths 2007/01/31 09:35:27 (permalink)
    Thanks

    I realised I could do it in the Event Viewer but as there are a large number of notes involved I hoped there might be a more graphical solution.

    I'm not sure I understand the effect of Ctrl-Click in the PRV, I shall experiment futher.


    Become a Fan on Facebook
    Buy our stuff on iTunes
    Q9550-P5QL-E-8GB1066RAM-GT9800 1GB-RME HDSP9632-W7Prox64-X2x64
    #3
    Keith Albright [Cakewalk]
    Max Output Level: -68 dBFS
    • Total Posts : 1117
    • Joined: 2006/07/10 15:44:42
    • Location: Boston, MA
    • Status: offline
    RE: Eradicating duplicated notes with different lengths 2007/01/31 12:53:35 (permalink)
    Ctrl (key) + (Left Mouse Button) Click removes a selected event from the selection. Conversely, it can also add an unselected event to already selected events.

    Since I am assuming the visible one is the one to keep, Ctrl+Clicking on it will unselect it and leave the invisible event still selected thereby allowing one to remove it.

    Keith
    #4
    tyronehowe
    Max Output Level: -88 dBFS
    • Total Posts : 131
    • Joined: 2006/10/05 08:40:14
    • Location: Cirencester, UK
    • Status: offline
    RE: Eradicating duplicated notes with different lengths 2007/01/31 13:36:02 (permalink)
    Hi

    Not sure if this will help but here is a link to a "Remove Duplicates CAL" programme:

    ftp://ftp.cakewalk.com/pub/CAL/


    Tyrone Howe

    Sonar 6, Pentium D 2.8 Ghz
    Edirol PCR-50 and UA-25
    #5
    Twigman
    Max Output Level: -38.5 dBFS
    • Total Posts : 3667
    • Joined: 2006/08/24 04:45:15
    • Location: United Kingdom of Great Britain & Northern Ireland
    • Status: offline
    RE: Eradicating duplicated notes with different lengths 2007/01/31 13:41:20 (permalink)

    ORIGINAL: tyronehowe

    Hi

    Not sure if this will help but here is a link to a "Remove Duplicates CAL" programme:

    ftp://ftp.cakewalk.com/pub/CAL/





    I already have that but with that I cannot tell Sonar which of the duplicates to remove

    Become a Fan on Facebook
    Buy our stuff on iTunes
    Q9550-P5QL-E-8GB1066RAM-GT9800 1GB-RME HDSP9632-W7Prox64-X2x64
    #6
    tyronehowe
    Max Output Level: -88 dBFS
    • Total Posts : 131
    • Joined: 2006/10/05 08:40:14
    • Location: Cirencester, UK
    • Status: offline
    RE: Eradicating duplicated notes with different lengths 2007/01/31 13:45:00 (permalink)
    Are the old notes all the same length? or always smaller than a particular length?

    If so, tell me the length and I will try to update the CAL Script.

    No promises, but I'll try!

    Tyrone Howe

    Sonar 6, Pentium D 2.8 Ghz
    Edirol PCR-50 and UA-25
    #7
    tyronehowe
    Max Output Level: -88 dBFS
    • Total Posts : 131
    • Joined: 2006/10/05 08:40:14
    • Location: Cirencester, UK
    • Status: offline
    RE: Eradicating duplicated notes with different lengths 2007/01/31 18:20:32 (permalink)
    Hi Twigman

    Here is the CAL program. Just copy the following into notepad and save it as whatever name you like, with a .CAL extension.

    Select the part you want to check and run the CAL (Ctrl+F1). First dialog asks for the maximum distance between notes that are considered duplicates (0 is a good default meaning notes must be exactly on top of each other). Second dialog asks for the maximum size of note that will be deleted. So in you case choose a crochet size which is most likely 960 - but you cancheck this in Options/Project/Clock.

    Have fun!

    ; DELSMALLDUPES.CAL
    ; Modified by Tyrone Howe (info@tyronehowemusic.com)


    (do
    (dword lastTime 0)
    (int lastKey 0)
    (int nDeleted 0)
    (int timeWindow 0)
    (int longestDuration 480)

    (getInt timeWindow "Furthest notes can be apart but still considered duplicates (in ticks):" 0 TIMEBASE)
    (++ timeWindow)
    (/= timeWindow 2)

    (getInt longestDuration "Longest duration for removal (in ticks):" 480 3840)
    )


    (do
    (if (== Event.Kind NOTE)
    (if (== lastKey Note.Key)
    (do
    (if (&& (>= Event.Time (- lastTime timeWindow)) (<= Event.Time (+ lastTime timeWindow)))
    (if (&& (== Note.Key lastKey) (<= Note.Dur longestDuration ))
    (do
    (delete)
    (++ nDeleted)
    )
    NIL
    )
    NIL
    )
    NIL
    )
    (= lastKey Note.Key)
    ) NIL
    )
    (= lastTime Event.Time)
    )

    (do
    (pause "Deleted " nDeleted " duplicate events.")
    )

    hmmmm - posting here seems to eliminate all the TABs - I'll PM you the file as well.

    Tyrone Howe

    Sonar 6, Pentium D 2.8 Ghz
    Edirol PCR-50 and UA-25
    #8
    Twigman
    Max Output Level: -38.5 dBFS
    • Total Posts : 3667
    • Joined: 2006/08/24 04:45:15
    • Location: United Kingdom of Great Britain & Northern Ireland
    • Status: offline
    RE: Eradicating duplicated notes with different lengths 2007/02/01 03:31:48 (permalink)
    thanks I'll give it a try

    Become a Fan on Facebook
    Buy our stuff on iTunes
    Q9550-P5QL-E-8GB1066RAM-GT9800 1GB-RME HDSP9632-W7Prox64-X2x64
    #9
    g_man_7489
    Max Output Level: -90 dBFS
    • Total Posts : 5
    • Joined: 2012/09/22 06:03:14
    • Status: offline
    Re: RE: Eradicating duplicated notes with different lengths 2012/09/23 04:30:57 (permalink)
    hi guys, I hope u guys help me for this proplems. How to remove them easily? I heard that using CAL to solve the problem. I used UNDUPE.CAL but it cannot remove Hyphens. I have to remove one by one :( There are some problems: duplicate notes --> hyphen sentences; note hide below note (when open the PRV, u'll see Duration is "0" or "1")  I attached two file, check them, thanks a lot!! 

    http://www.mediafire.com/?1y8ma1kk9rpe9a7   (duplicate notes --> hyphen sentences
    http://www.mediafire.com/?wiqrc8dn9xubwgg   (note hide below note) 
    #10
    Jump to:
    © 2025 APG vNext Commercial Version 5.1