Previous Thread
Index
Next Thread
Print Thread
Go To
#789401 12/14/23 04:33 PM
Band-in-a-Box VST and Pro Tools/AAX DAW Plugin (Windows)
Joined: Jun 2009
Posts: 3,110
M
Veteran
OP Offline
Veteran
M
Joined: Jun 2009
Posts: 3,110
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: 3,110
M
Veteran
OP Offline
Veteran
M
Joined: Jun 2009
Posts: 3,110
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: 3,110
M
Veteran
OP Offline
Veteran
M
Joined: Jun 2009
Posts: 3,110
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: 3,110
M
Veteran
OP Offline
Veteran
M
Joined: Jun 2009
Posts: 3,110
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: 3,110
M
Veteran
OP Offline
Veteran
M
Joined: Jun 2009
Posts: 3,110
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: 3,110
M
Veteran
OP Offline
Veteran
M
Joined: Jun 2009
Posts: 3,110
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: 3,110
M
Veteran
OP Offline
Veteran
M
Joined: Jun 2009
Posts: 3,110
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 02:05 PM.
Previous Thread
Next Thread
Go To

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
Band-in-a-Box® 2026 for Windows® Special Offers Extended Until January 15, 2026!

Good news! You still have time to upgrade to the latest version of Band-in-a-Box® for Windows® and save. Our Band-in-a-Box® 2026 for Windows® special now runs through January 15, 2025!

We've packed Band-in-a-Box® 2026 with major new features, enhancements, and an incredible lineup of new content! The program now sports a sleek, modern GUI redesign across the entire interface, including updated toolbars, refreshed windows, smoother workflows, a new dark mode option, and more. The brand-new side toolbar provides quicker access to key windows, while the new Multi-View feature lets you arrange multiple windows as layered panels without overlap, creating a flexible, clutter-free workspace. We have an amazing new “AI-Notes” feature. This transcribes polyphonic audio into MIDI so you can view it in notation or play it back as MIDI. You can process an entire track (all pitched instruments and drums) or focus on individual parts like drums, bass, guitars/piano, or vocals. There's an amazing collection of new content too, including 202 RealTracks, new RealStyles, MIDI SuperTracks, Instrumental Studies, “Songs with Vocals” Artist Performance Sets, Playable RealTracks Set 5, two RealDrums Stems sets, XPro Styles PAK 10, Xtra Styles PAK 21, and much more!

There are over 100 new features in Band-in-a-Box® 2026 for Windows®.

When you order purchase Band-in-a-Box® 2026 before 11:59 PM PST on January 15th, you'll also receive a Free Bonus PAK packed with exciting new add-ons.

Upgrade to Band-in-a-Box® 2026 for Windows® today! Check out the Band-in-a-Box® packages page for all the purchase options available.

Happy New Year!

Thank you for being part of the Band-in-a-Box® community.

Wishing you and yours a very happy 2026—Happy New Year from all of us at PG Music!

Season's Greetings!

Wishing everyone a happy, healthy holiday season—thanks for being part of our community!

The office will be closed for Christmas Day, but we will be back on Boxing Day (Dec 26th) at 6:00am PST.

Team PG

Band-in-a-Box 2026 Video: The Newly Designed Piano Roll Window

In this video, we explore the updated Piano Roll, complete with a modernized look and exciting new features. You’ll see new filtering options that make it easy to focus on specific note groups, smoother and more intuitive note entry and editing, and enhanced options for zooming, looping, and more.

Watch the video.

You can see all the 2026 videos on our forum!

Band-in-a-Box 2026 Video: AI Stems & Notes - split polyphonic audio into instruments and transcribe

This video demonstrates how to use the new AI-Notes feature together with the AI-Stems splitter, allowing you to select an audio file and have it separated into individual stems while transcribing each one to its own MIDI track. AI-Notes converts polyphonic audio—either full mixes or individual instruments—into MIDI that you can view in notation or play back instantly.

Watch the video.

You can see all the 2026 videos on our forum!

Bonus PAK and 49-PAK for Band-in-a-Box® 2026 for Windows®

With your version 2026 for Windows Pro, MegaPAK, UltraPAK, UltraPAK+, Audiophile Edition or PlusPAK purchase, we'll include a Bonus PAK full of great new Add-ons for FREE! Or upgrade to the 2026 49-PAK for only $49 to receive even more NEW Add-ons including 20 additional RealTracks!

These PAKs are loaded with additional add-ons to supercharge your Band-in-a-Box®!

This Free Bonus PAK includes:

  • The 2026 RealCombos Booster PAK: -For Pro customers, this includes 27 new RealTracks and 23 new RealStyles. -For MegaPAK customers, this includes 25 new RealTracks and 23 new RealStyles. -For UltraPAK customers, this includes 12 new RealStyles.
  • MIDI Styles Set 92: Look Ma! More MIDI 15: Latin Jazz
  • MIDI SuperTracks Set 46: Piano & Organ
  • Instrumental Studies Set 24: Groovin' Blues Soloing
  • Artist Performance Set 19: Songs with Vocals 9
  • Playable RealTracks Set 5
  • RealDrums Stems Set 9: Cool Brushes
  • SynthMaster Sounds Set 1 (with audio demos)
  • Android Band-in-a-Box® App (included)

Looking for more great add-ons, then upgrade to the 2026 49-PAK for just $49 and you'll get:


  • 20 Bonus Unreleased RealTracks and RealDrums with 20 RealStyle.
  • FLAC Files (lossless audio files) for the 20 Bonus Unreleased RealTracks and RealDrums
  • MIDI Styles Set 93: Look Ma! More MIDI 16: SynthMaster
  • MIDI SuperTracks Set 47: More SynthMaster
  • Instrumental Studies 25 - Soul Jazz Guitar Soloing
  • Artist Performance Set 20: Songs with Vocals 10
  • RealDrums Stems Set 10: Groovin' Sticks
  • SynthMaster Sounds & Styles Set 2 (sounds & styles with audio demos)

Learn more about the Bonus PAKs for Band-in-a-Box® 2026 for Windows®!

Video: New User Interface (GUI)

Join Tobin as he takes you on a tour of the new user interface in Band-in-a-Box® 2026 for Windows®! This modern GUI redesign offers a sleek new look with updated toolbars, refreshed windows, and a smoother workflow. The brand-new side toolbar puts track selection, the MultiPicker Library, and other essential tools right at your fingertips. Plus, our upgraded Multi-View lets you layer multiple windows without overlap, giving you a highly flexible workspace. Many windows—including Tracks, Piano Roll, and more—have been redesigned for improved usability and a cleaner, more intuitive interface, and more!

Watch the video.

You can see all the 2026 videos on our forum!

Forum Statistics
Forums57
Topics85,505
Posts792,724
Members39,904
Most Online25,754
Jan 24th, 2025
Newest Members
William Anderson, Olivia51, DCJ, odooexpress314, davyb
39,903 Registered Users
Top Posters(30 Days)
MarioD 181
DC Ron 119
jpettit 111
Noel96 88
Today's Birthdays
Birchwood, Jim Williams
Powered by UBB.threads™ PHP Forum Software 7.7.5