Previous Thread
Index
Next Thread
Print Thread
Go To
#789401 12/14/23 05:33 PM
Band-in-a-Box VST and Pro Tools/AAX DAW Plugin (Windows)
Joined: Jun 2009
Posts: 2,547
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,547
I thought you had it set to fit a tempo map (i just tried it with as tempo change not map) but it's just using the tempo at the start point for whole item not following the varying tempo.
I'm not sure how you are inserting the media item sections so not sure the best way to solve the issue.
You have:
Main_OnCommand(42374, 0) -- Item properties: Set item rate from user-supplied source media tempo/bpm...

Main_OnCommand(42375, 0) -- Item properties: Set item timebase to beats (auto-stretch at tempo changes)

SetMediaItemInfo_Value( sel_item, "C_BEATATTACHMODE", 1 )

SetMediaItemInfo_Value( sel_item, "C_AUTOSTRETCH", 1 )

In the SGU import script:
below
function main2()
I have a function to stretch the item end to the track position:
function stretch_item_to_pos(xpos)

Open SGU in Reaper

[Linked Image - Only viewable when logged in]

Band-in-a-Box VST and Pro Tools/AAX DAW Plugin (Windows)
Joined: Jun 2009
Posts: 2,547
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,547
Here's a varying tempo map:
Live-Song-tempo-map.mid drop it into Reaper to import the tempo map.

Band-in-a-Box VST and Pro Tools/AAX DAW Plugin (Windows)
Joined: Jun 2009
Posts: 2,547
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,547
You have the track data now:

<SOURCE VIDEO
FILE "E:\bb\RealTracks\Bass, Electric, PopShiningA-B Ev 120\bs2126.wav"
>


You just need to stretch marker info in the data:

<SOURCE VIDEO
FILE "E:\bb\RealTracks\Bass, Electric, PopShiningA-B Ev 120\bs2126.wav"
>
SM 0 200.0575 0 1 0 + 1.986666667 202.044166667 0 1 3.973333333

Band-in-a-Box VST and Pro Tools/AAX DAW Plugin (Windows)
Joined: Jun 2009
Posts: 2,547
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,547
When it's using stretch markers the default Stretch marker fade amount is 2.5 if you set this to 0 it will take out any glitches of sustained notes or vocal to a varying tempo map by setting Item Properties > Stretch markers fade size: 0

Set-selected-items-stretch-marker-fade-size-to-0.zip

Band-in-a-Box VST and Pro Tools/AAX DAW Plugin (Windows)
Joined: Jun 2009
Posts: 2,547
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,547
This is a varying tempo map with the default stretch marker fade amount of 2.5 then set to 0:
Reaper-StretchMarkersFadeAmount.mp4

Band-in-a-Box VST and Pro Tools/AAX DAW Plugin (Windows)
Joined: Jun 2009
Posts: 2,547
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,547
You need to add: IMPLIEDWARP 1
with the stretch markers
you can also have an option for take markers to show the instrument name and where changes are.
Code
  <ITEM
      POSITION 3.44392857142857
      SNAPOFFS 0
      LENGTH 3.43928571428571
      IMPLIEDWARP 1
      SOFFS 100.017916666667
      PLAYRATE 1.16666666666667 1 0 -1 0 0.0025
      <SOURCE VIDEO
        FILE "E:\bb\RealTracks\Bass, Electric, PopShiningA-B Ev 120\bs2126.wav"
      >
      TKM 200.0575 "Bass, Electric, PopShiningA-B Ev 120" 16822272
      SM 0 200.0575 0 1 0 + 1.986666667 202.044166667 0 1 3.973333333
    >

Band-in-a-Box VST and Pro Tools/AAX DAW Plugin (Windows)
Joined: Jun 2009
Posts: 2,547
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,547
UPDATE:
Originally Posted by musocity
PG could add these in to the .di data file Biab makes, this is default fade size .010 ms, try whatever works the best.

Code
    <ITEM
      POSITION 4.01291666666667
      SNAPOFFS 0
      LENGTH 2.0125
      BEAT 1
      SOFFS 158.012916666667
      PLAYRATE 1 1 -2 -1 0 0.0025
      <SOURCE VIDEO
        FILE "E:\bb\RealTracks\Bass, Electric, BritInvasion Ev 120\BS1681.wav"
      >
      FADEIN 1 0 0 1 0 0 0
      FADEOUT 1 0 0 1 0 0 
    >
Don't forget to add the stretch markers also so it will fit any varying tempo map, you will need to work them out.
You need to add: IMPLIEDWARP 1
with the stretch markers
the stretch marker fade amount is best @ 0.0 as you don't get any clicks or glitches
PLAYRATE 1 1 2 -1 0 0

this is the default stretch marker fade amount @2.5
PLAYRATE 1 1 2 -1 0 0.0025
Code
    <ITEM
      POSITION 4.01291666666667
      SNAPOFFS 0
      LENGTH 2.0125
      IMPLIEDWARP 1
      BEAT 1
      SOFFS 158.012916666667
      PLAYRATE 1 1 -2 -1 0 0
      <SOURCE VIDEO
        FILE "E:\bb\RealTracks\Bass, Electric, BritInvasion Ev 120\BS1681.wav"
      >
      FADEIN 1 0 0 1 0 0 0
      FADEOUT 1 0 0 1 0 0 
      SM 0 200.0575 0 1 0 + 1.986666667 202.044166667 0 1 3.973333333
    >

Last edited by musocity; 01/26/24 03:05 PM.
Previous Thread
Next Thread
Go To

Moderated by  Blake - PG Music 

Link Copied to Clipboard
ChatPG

Ask sales and support questions about Band-in-a-Box using natural language.

ChatPG's knowledge base includes the full Band-in-a-Box User Manual and sales information from the website.

PG Music News
Happy Victoria Day! (Monday, May 20th)

We are celebrating Victoria Day on Monday, May 20th!

Our availability through this long weekend is:

Saturday, May 18: Closed
Sunday, May 19: Closed
Monday, May 22: 6am-6pm PT

www.pgmusic.com/contact.htm

Henry Clarke: Revolutionize Your Band-in-Box® Tracks with Regenerating Function

One of the new features added with Band-in-Box® 2024 is the Tracks Window, which will look familiar if you've worked with other DAWs.

Henry Clarke explains why he loves the Re-generation function within the Tracks Window in their video Revolutionize Your Band-in-Box® Tracks with Regenerating Function.

Watch video.

Learn even more about what the Tracks Window can do with our video Band-in-a-Box® 2024: The Tracks Window.

User Video: Next-Level AI Music Editing with ACE Studio and Band-in-a-Box®

The Bob Doyle Media YouTube channel is known for demonstrating how you can creatively incorporate AI into your projects - from your song projects to avatar building to face swapping, and more!

His latest video, Next-Level AI Music Editing with ACE Studio and Band-in-a-Box, he explains in detail how you can use the Melodist feature in Band-in-a-Box with ACE Studio. Follow along as he goes from "nothing" to "something" with his Band-in-a-Box MIDI Melodist track, using ACE Studio to turn it into a vocal track (or tracks, you'll see) by adding lyrics for those notes that will trigger some amazing AI vocals!

Watch: Next-Level AI Music Editing with ACE Studio and Band-in-a-Box


Band-in-a-Box® 2024 German for Windows is Here!

Band-in-a-Box® 2024 für Windows Deutsch ist verfügbar!

Wir waren fleißig und haben über 50 neue Funktionen und eine erstaunliche Sammlung neuer Inhalte hinzugefügt, darunter 222 RealTracks, neue RealStyles, MIDI SuperTracks, Instrumental Studies, "Songs with Vocals" Artist Performance Sets, abspielbare RealTracks Set 3, abspielbare RealDrums Set 2, zwei neue Sets von "RealDrums Stems", XPro Styles PAK 6, Xtra Styles PAK 17 und mehr!

Paket | Was ist Neu

Update Your PowerTracks Pro Audio 2024 Today!

Add updated printing options, enhanced tracks settings, smoother use of MGU and SGU (BB files) within PowerTracks, and more with the latest PowerTracks Pro Audio 2024 update!

Learn more about this free update for PowerTracks Pro Audio & download it at www.pgmusic.com/support_windows_pt.htm#2024_5

The Newest RealBand 2024 Update is Here!

The newest RealBand 2024 Build 5 update is now available!

Download and install this to your RealBand 2024 for updated print options, streamlined loading and saving of .SGU & MGU (BB) files, and to add a number of program adjustments that address user-reported bugs and concerns.

This free update is available to all RealBand 2024 users. To learn more about this update and download it, head to www.pgmusic.com/support.realband.htm#20245

The Band-in-a-Box® Flash Drive Backup Option

Today (April 5) is National Flash Drive Day!

Did you know... not only can you download your Band-in-a-Box® Pro, MegaPAK, or PlusPAK purchase - you can also choose to add a flash drive backup copy with the installation files for only $15? It even comes with a Band-in-a-Box® keychain!

For the larger Band-in-a-Box® packages (UltraPAK, UltraPAK+, Audiophile Edition), the hard drive backup copy is available for only $25. This will include a preinstalled and ready to use program, along with your installation files.

Backup copies are offered during the checkout process on our website.

Already purchased your e-delivery version, and now you wish you had a backup copy? It's not too late! If your purchase was for the current version of Band-in-a-Box®, you can still reach out to our team directly to place your backup copy order!

Note: the Band-in-a-Box® keychain is only included with flash drive backup copies, and cannot be purchased separately.

Handy flash drive tip: Always try plugging in a USB device the wrong way first? If your flash drive (or other USB plug) doesn't have a symbol to indicate which way is up, look for the side with a seam on the metal connector (it only has a line across one side) - that's the side that either faces down or to the left, depending on your port placement.

Forum Statistics
Forums66
Topics81,814
Posts737,555
Members38,592
Most Online2,537
Jan 19th, 2020
Newest Members
tommy kissner, Namahi, JumpinJackP, xristos69, Eliana Davis
38,591 Registered Users
Top Posters(30 Days)
MarioD 158
rsdean 109
dcuny 103
DC Ron 99
Noel96 81
Today's Birthdays
valentimo
Powered by UBB.threads™ PHP Forum Software 7.7.5