Need to Stretch Midi File

Author
triscuit
Max Output Level: -56.5 dBFS
  • Total Posts : 1860
  • Joined: 2004/02/27 20:31:22
  • Location: USA, IL
  • Status: offline
2011/02/27 23:31:53 (permalink)

Need to Stretch Midi File

I need to stretch a midi file in sonar. It's at the wrong tempo. This seems like something that should be easy to do. Why can't I figure this out? Someone help me out.
#1

20 Replies Related Threads

    daveny5
    Max Output Level: 0 dBFS
    • Total Posts : 16934
    • Joined: 2003/11/06 09:54:36
    • Location: North Carolina
    • Status: offline
    Re:Need to Stretch Midi File 2011/02/27 23:54:40 (permalink)
    Just change the project tempo. MIDI will follow the project's tempo. Its audio that needs to be stretched. 

    Dave
    Computer: Intel i7, ASROCK H170M, 16GB/5TB+, Windows 10 Pro 64-bit, Sonar Platinum, TASCAM US-16x08, Cakewalk UM-3G MIDI I/F
    Instruments: SL-880 Keyboard controller, Korg 05R/W, Korg N1R, KORG Wavestation EX
    Axes: Fender Stratocaster, Line6 Variax 300, Ovation Acoustic, Takamine Nylon Acoustic, Behringer GX212 amp, Shure SM-58 mic, Rode NT1 condenser mic.
    Outboard: Mackie 1402-VLZ mixer, TC Helicon VoiceLive 2, Digitech Vocalist WS EX, PODXTLive, various stompboxes and stuff. 
    Controllers: Korg nanoKONTROL, Wacom Bamboo Touchpad
    #2
    triscuit
    Max Output Level: -56.5 dBFS
    • Total Posts : 1860
    • Joined: 2004/02/27 20:31:22
    • Location: USA, IL
    • Status: offline
    Re:Need to Stretch Midi File 2011/02/28 00:05:56 (permalink)
    daveny5


    Just change the project tempo. MIDI will follow the project's tempo. Its audio that needs to be stretched. 

    That's what I thought too. There is something obvious I'm not seeing here. You see the project has audio clips so I can't change the tempo.

    The midi clip is 80 measures. If I change the tempo it stays 80 measures long. I need it to stretch to 160 measures. This seems really easy. What am I missing?


    #3
    triscuit
    Max Output Level: -56.5 dBFS
    • Total Posts : 1860
    • Joined: 2004/02/27 20:31:22
    • Location: USA, IL
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/02 11:24:50 (permalink)
    Is there really no way to stretch a midi file from 80 measures to 160? I just need for someone to tell me it can't be done so I can start redoing the midi part.
    #4
    Kalle Rantaaho
    Max Output Level: -5 dBFS
    • Total Posts : 7005
    • Joined: 2006/01/09 13:07:59
    • Location: Finland
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/02 12:15:57 (permalink)
    Copy paste the MIDI track to a blank project, change the tempo, and bring it back.
    I assume that should work.
    Stretching is simply something that can not be fitted in the MIDi-formula.
     
    Oops. I did not read your post #3 carefully enough. Changing the tempo has got nothing whatsoever to do with the number of measures.
    That will remain the same no matter what you set the tempo to. Doubling the number of measures requires simply copy-pasting, AFAIK.
    post edited by Kalle Rantaaho - 2011/03/02 12:20:55

    SONAR PE 8.5.3, Asus P5B, 2,4 Ghz Dual Core, 4 Gb RAM, GF 7300, EMU 1820, Bluetube Pre  -  Kontakt4, Ozone, Addictive Drums, PSP Mixpack2, Melda Creative Pack, Melodyne Plugin etc.
    The benefit of being a middle aged amateur is the low number of years of frustration ahead of you.
    #5
    daveny5
    Max Output Level: 0 dBFS
    • Total Posts : 16934
    • Joined: 2003/11/06 09:54:36
    • Location: North Carolina
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/02 13:10:22 (permalink)
    That's what I thought too. There is something obvious I'm not seeing here. You see the project has audio clips so I can't change the tempo.



    You didn't mention the audio tracks in the original post. That's a whole other ball of wax. 

    Dave
    Computer: Intel i7, ASROCK H170M, 16GB/5TB+, Windows 10 Pro 64-bit, Sonar Platinum, TASCAM US-16x08, Cakewalk UM-3G MIDI I/F
    Instruments: SL-880 Keyboard controller, Korg 05R/W, Korg N1R, KORG Wavestation EX
    Axes: Fender Stratocaster, Line6 Variax 300, Ovation Acoustic, Takamine Nylon Acoustic, Behringer GX212 amp, Shure SM-58 mic, Rode NT1 condenser mic.
    Outboard: Mackie 1402-VLZ mixer, TC Helicon VoiceLive 2, Digitech Vocalist WS EX, PODXTLive, various stompboxes and stuff. 
    Controllers: Korg nanoKONTROL, Wacom Bamboo Touchpad
    #6
    dmbaer
    Max Output Level: -49.5 dBFS
    • Total Posts : 2585
    • Joined: 2008/08/04 20:10:22
    • Location: Concord CA
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/02 16:31:45 (permalink)
    triscuit


    I need to stretch a midi file in sonar. It's at the wrong tempo. This seems like something that should be easy to do. Why can't I figure this out? Someone help me out.


    Depending on the nature of your audio track, this could be easy or it could be a lot of work.  You can use the process/fit-to-improv feature.  Look it up in the doc.  Basically, you need to create a click track that has a note-on MIDI event for each beat and those align with the beats in the audio track.  Sonar will then take care of remapping the MIDI accordingly.  The click track is a throwaway.  Once you've done the fit-to-improv, it's of no further use.
    #7
    WDI
    Max Output Level: -54.5 dBFS
    • Total Posts : 2069
    • Joined: 2007/08/28 02:31:11
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/02 17:13:02 (permalink)
    triscuit


    Is there really no way to stretch a midi file from 80 measures to 160? I just need for someone to tell me it can't be done so I can start redoing the midi part.

    Process/Length should do it. Change to 200%.

    Sonar 7 PE
    Windows XP Pofessional (SP3)
    MSI K8N Neo4-F
    AMD Athlon 64 3500+
    2 GB PC 3200 Ram
    RME Fireface 800
    Edirol FA-66
    CM Labs MotorMix

    Old stuff: ARJO
    #8
    John6528
    Max Output Level: -82 dBFS
    • Total Posts : 409
    • Joined: 2008/01/19 10:45:28
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/03 00:30:58 (permalink)
    triscuit


    I need to stretch a midi file in sonar. It's at the wrong tempo. This seems like something that should be easy to do. Why can't I figure this out? Someone help me out.




    Just double all the note values in the midi. that will make it half as fast and twice as long won't it? Is that what your trying to do? If that screwes up the measures go to meter/key and halve  the denominator. Anyway... something like that ought to fix it.
    John

    Sonar 8.5 64, Win 7 64
    Asrock X58 Extreme3, I7-950, 12G ram
    OCZ Vertx3 120, Vertex2 90, WDM 1T
    Focusrite Saffire
    Yamaha P-70 Keyboard
    M-Audio Midisport Uno
    Miroslav Philharmonik , Nanosynth
    #9
    Kalle Rantaaho
    Max Output Level: -5 dBFS
    • Total Posts : 7005
    • Joined: 2006/01/09 13:07:59
    • Location: Finland
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/03 12:28:35 (permalink)
    WDI


    triscuit


    Is there really no way to stretch a midi file from 80 measures to 160? I just need for someone to tell me it can't be done so I can start redoing the midi part.

    Process/Length should do it. Change to 200%.


    How would it do it for a MIDI track??? In midi a measure is a measure, no matter what the length or tempo is.
    No Processing could change a 80-bar MIDI track into a 160-bar one, AFAIK (???) Or have you actually tested that it works?

    SONAR PE 8.5.3, Asus P5B, 2,4 Ghz Dual Core, 4 Gb RAM, GF 7300, EMU 1820, Bluetube Pre  -  Kontakt4, Ozone, Addictive Drums, PSP Mixpack2, Melda Creative Pack, Melodyne Plugin etc.
    The benefit of being a middle aged amateur is the low number of years of frustration ahead of you.
    #10
    andypanda
    Max Output Level: -87 dBFS
    • Total Posts : 151
    • Joined: 2007/01/29 09:39:25
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/03 13:11:01 (permalink)
    John6528



    Just double all the note values in the midi. that will make it half as fast 


    I hate when my music comes out sounding half fast
     (say it out loud - lol).
    #11
    WDI
    Max Output Level: -54.5 dBFS
    • Total Posts : 2069
    • Joined: 2007/08/28 02:31:11
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/03 14:19:13 (permalink)
    Kalle Rantaaho


    WDI


    triscuit


    Is there really no way to stretch a midi file from 80 measures to 160? I just need for someone to tell me it can't be done so I can start redoing the midi part.

    Process/Length should do it. Change to 200%.


    How would it do it for a MIDI track??? In midi a measure is a measure, no matter what the length or tempo is.
    No Processing could change a 80-bar MIDI track into a 160-bar one, AFAIK (???) Or have you actually tested that it works?
    Yeah, it works. Make sure groove clip looping is not enabled for the clip. Then select the midi clip then choose Process/Length from the top menu items and change the "By:_Percent" value to 200 and check both "Start Times" and "Durations". 


    EDIT:
    Unless something has changed since Sonar 7.


    Try it yourself and let me know what you happens.
    post edited by WDI - 2011/03/03 14:30:33

    Sonar 7 PE
    Windows XP Pofessional (SP3)
    MSI K8N Neo4-F
    AMD Athlon 64 3500+
    2 GB PC 3200 Ram
    RME Fireface 800
    Edirol FA-66
    CM Labs MotorMix

    Old stuff: ARJO
    #12
    rbowser
    Max Output Level: -10 dBFS
    • Total Posts : 6518
    • Joined: 2005/07/31 14:32:34
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/06 12:31:01 (permalink)
    Kalle Rantaaho


    WDI


    triscuit


    Is there really no way to stretch a midi file from 80 measures to 160? I just need for someone to tell me it can't be done so I can start redoing the midi part.

    Process/Length should do it. Change to 200%.


    How would it do it for a MIDI track??? In midi a measure is a measure, no matter what the length or tempo is.
    No Processing could change a 80-bar MIDI track into a 160-bar one, AFAIK (???) Or have you actually tested that it works?

    Incorrect, and WDI has twice explained that no copying and pasting is needed - you use Process/Length and ask for note start times and length to be doubled.  Obviously, this will make the clip play at half the speed as in the original clip, as Andypanda points out.

    But the Length tool is a quick and easy way to change MIDI clips.  I use the process a lot, most often I use it for fast, tricky passages which I play at what is actually half the project tempo, then I shrink the clip by asking for start times and lengths to be reduced to 50% of the original.

    I'm not sure if Triscuit really wants this MIDI track to play at half the time as the original, but he does say it's the wrong tempo and he need 80 measures to be 160 - if this is an accurate description of what he needs, this is the way to do it, and takes 2 seconds.

    Randy B.


    Sonar X3e Studio
    Roland A-800 MIDI keyboard controller
    Alesis i|O2 interface
    Gigabyte Technology-AMD Phenom II @ 3 GHz
    8 Gb RAM 6 Core Windows 7 Home Premium x64
    with dual monitors
    #13
    Kalle Rantaaho
    Max Output Level: -5 dBFS
    • Total Posts : 7005
    • Joined: 2006/01/09 13:07:59
    • Location: Finland
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/06 12:53:20 (permalink)
    rbowser


    Kalle Rantaaho


    WDI


    triscuit


    Is there really no way to stretch a midi file from 80 measures to 160? I just need for someone to tell me it can't be done so I can start redoing the midi part.

    Process/Length should do it. Change to 200%.


    How would it do it for a MIDI track??? In midi a measure is a measure, no matter what the length or tempo is.
    No Processing could change a 80-bar MIDI track into a 160-bar one, AFAIK (???) Or have you actually tested that it works?

    Incorrect, and WDI has twice explained that no copying and pasting is needed - you use Process/Length and ask for note start times and length to be doubled.  Obviously, this will make the clip play at half the speed as in the original clip, as Andypanda points out.

    But the Length tool is a quick and easy way to change MIDI clips.  I use the process a lot, most often I use it for fast, tricky passages which I play at what is actually half the project tempo, then I shrink the clip by asking for start times and lengths to be reduced to 50% of the original.

    I'm not sure if Triscuit really wants this MIDI track to play at half the time as the original, but he does say it's the wrong tempo and he need 80 measures to be 160 - if this is an accurate description of what he needs, this is the way to do it, and takes 2 seconds.

    Randy B.


    Yep. That was cleared three days ago.

    SONAR PE 8.5.3, Asus P5B, 2,4 Ghz Dual Core, 4 Gb RAM, GF 7300, EMU 1820, Bluetube Pre  -  Kontakt4, Ozone, Addictive Drums, PSP Mixpack2, Melda Creative Pack, Melodyne Plugin etc.
    The benefit of being a middle aged amateur is the low number of years of frustration ahead of you.
    #14
    rbowser
    Max Output Level: -10 dBFS
    • Total Posts : 6518
    • Joined: 2005/07/31 14:32:34
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/06 13:10:57 (permalink)
    Kalle Rantaaho



    I'm not sure if Triscuit really wants this MIDI track to play at half the time as the original, but he does say it's the wrong tempo and he need 80 measures to be 160 - if this is an accurate description of what he needs, this is the way to do it, and takes 2 seconds.

    Randy B.


    Yep. That was cleared three days ago.


    Oh, OK -But there's no indication of it being "cleared" by Triscuit, the OP-- His last post asks the same question again.

    This thread was helpful to people who weren't previously familiar with the great, simple "Length" tool - Very useful, and so much more straight-forward than Interpolate (which of course is super at other, more complicated edits).

    Randy B.

    Sonar X3e Studio
    Roland A-800 MIDI keyboard controller
    Alesis i|O2 interface
    Gigabyte Technology-AMD Phenom II @ 3 GHz
    8 Gb RAM 6 Core Windows 7 Home Premium x64
    with dual monitors
    #15
    triscuit
    Max Output Level: -56.5 dBFS
    • Total Posts : 1860
    • Joined: 2004/02/27 20:31:22
    • Location: USA, IL
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/07 01:17:24 (permalink)
    Thank you very much to all that helped. Process/Length did just what I wanted. I knew there had to be a very easy solution, but I just couldn't put my finger on how to do it.
    #16
    rbowser
    Max Output Level: -10 dBFS
    • Total Posts : 6518
    • Joined: 2005/07/31 14:32:34
    • Status: offline
    Re:Need to Stretch Midi File 2011/03/07 10:03:28 (permalink)
    triscuit


    Thank you very much to all that helped. Process/Length did just what I wanted. I knew there had to be a very easy solution, but I just couldn't put my finger on how to do it.


    That's great, Triscuit - I appreciate that you came back to let us know your problem was solved.  It's good to add "Solved" in the subject line of a thread, then other people know they can find a tip on the thread.  This info about the Length tool was helpful to Kalle, and probably others who didn't know about it.  These kind of threads are so helpful, and even more so when the original poster edits the subject line to indicate the issue's been fixed.

    Randy B.

    Sonar X3e Studio
    Roland A-800 MIDI keyboard controller
    Alesis i|O2 interface
    Gigabyte Technology-AMD Phenom II @ 3 GHz
    8 Gb RAM 6 Core Windows 7 Home Premium x64
    with dual monitors
    #17
    David R.
    Max Output Level: -90 dBFS
    • Total Posts : 12
    • Joined: 2013/03/01 09:53:39
    • Status: offline
    Re:Need to Stretch Midi File 2013/03/01 11:39:38 (permalink)
    Hello everyone.
    Concerning stretching midi tracks. Yes it can be done. This is how I did it except I reduced the track length.
    In Sonar X1 loaded a Roland midi file titled TXPLASMA. It is a mess as is. The Tempo is marked 250.00.
    However the actual meter of the music is 140.00. The notes are all out of alignment/sync with the bars.
    Changing the Tempo to 140.00 caused the music to play too slow. After reading at this forum I did some tests.
    Set the Tempo at 140.00. Then highlight all tracks. Next click on Process and select Fit to Time and set New Thru 
    from 92:03:032 to 56:03:032 and click Ok. The notes are now more closely aligned/synced with the bars. 
    The music also fits the Tempo of 140.00. The notes can now be Quantized and tweaked to perfection. 
    The Fit to Time process works in fractions being more versatile than the Length feature which works in percentages.
    This is a good method for syncing Midi to Audio or Video. Hope this helps. 



    #18
    summerbreezelandn@yahoo.com
    Max Output Level: -90 dBFS
    • Total Posts : 1
    • Joined: 2014/07/16 19:27:00
    • Status: offline
    Re:Need to Stretch Midi File 2014/07/16 19:40:24 (permalink)
    Hi Guy's .New to sonar, but need to learn how to stretch  midis to make them longer for dancing,as I use them as backup,but some are so short as they were probably made with sheet music,which is usually somewhere between 2 & 3 minutes long. I need at least 5 minutes,but I don't know the process of stretching a midi . Is there a tutorial somewhere,or some one who can explain the process to me in language a 12 year old could understand. I'm a Guitar player ,not a midi maker,but i really need help please.  Thanks in advance   Larry  summerbreezelandn@yahoo.com
    #19
    57Gregy
    Max Output Level: 0 dBFS
    • Total Posts : 14404
    • Joined: 2004/05/31 17:04:17
    • Location: Raleigh, North Carolina
    • Status: offline
    Re:Need to Stretch Midi File 2014/07/17 12:20:12 (permalink)
    Welcome to the forum.
    You can either
    a. right-click the clip, select Edit>Copy then paste the clip after the original clip or
    b. right-click the clip and select Groove Looping. The corners of the clip will become bevelled to show they are Groove Clips, then you can drag either end of the clip as far as you want and it will repeat.

    Greg 
    I am selling my MIM Fender Stratocaster HSS, red and black. PM for more details.

    Music Creator 2003, MC Pro 24, SONAR Home Studio 6 XL, SONAR  X3e, CbB, Focusrite Saffire, not enough space.
    Everything is better with pie. 

    http://www.soundclick.com/bands/default.cfm?bandID=609446
    http://www.reverbnation.com/#!/gregfields 
    #20
    Cactus Music
    Max Output Level: 0 dBFS
    • Total Posts : 8424
    • Joined: 2004/02/09 21:34:04
    • Status: offline
    Re:Need to Stretch Midi File 2014/07/17 18:04:31 (permalink)
    Y
    post edited by Cactus Music - 2014/07/21 23:38:01

    Johnny V  
    Cakelab  
    Focusrite 6i61st - Tascam us1641. 
    3 Desktops and 3 Laptops W7 and W10
     http://www.cactusmusic.ca/
     
     
    #21
    Jump to:
    © 2024 APG vNext Commercial Version 5.1