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: 2,651
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,651
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,651
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,651
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,651
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,651
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,651
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,651
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,651
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,651
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,651
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,651
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,651
Veteran
OP Offline
Veteran
Joined: Jun 2009
Posts: 2,651
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
Generate Lyrics for your Band-in-a-Box songs with LyricLab!

Need some lyrics to complete your Band-in-a-Box song? LyricLab is here to help!

LyricLab (by Joanne Cooper) is an AI-powered tool designed to quickly create lyrics and chords to fit your music. Just enter a rough idea of your lyrics, and let the AI bring them to life. Once you're happy with the results, simply import the LyricLab file into Band-in-a-Box® 2024 or newer. From there, you can pick your style and generate melodies to match your song’s chords!

Learn more about LyricLab here!

Watch the video.


Band-in-a-Box 2024 Italian for Mac is Here!

Ci siamo dati da fare e abbiamo aggiunto oltre 50 nuove funzionalità e una straordinaria raccolta di nuovi contenuti, tra cui 222 RealTracks, nuovi RealStyles, MIDI SuperTracks, Instrumental Studies, "Songs with Vocals" Artist Performance Sets, Playable RealTracks Set 3, Playable RealDrums Set 2, due nuovi set di "RealDrums Stems", XPro Styles PAK 6, Xtra Styles PAK 17 e altro ancora!

Tutti Pacchetti | Nuove Caratteristiche

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

Band-in-a-Box® 2024 für Mac 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 & 7, Xtra Styles PAK 17 & 18, und mehr!

Paket | Was ist Neu

Band-in-a-Box® 2024 French for Mac® is Here!

Band-in-a-Box® 2024 apporte plus de 50 fonctions nouvelles ainsi qu'une importante de contenus nouveaux à savoir : 222 RealTracks, des RealStyles nouveaux, des SuperTracks MIDI, des Etudes d'Instruments, des Prestations d'Artistes, des "Morceaux avec Choeurs", un Set 3 de Tracks Jouables, un Set 2 de RealDrums Jouables, deux nouveaux Sets de "RealDrums Stems", des Styles XPro PAK 6 & 7, des Xtra Styles PAK 17 & 18, et bien plus encore!

New! XPro Styles PAK 7 for Band-in-a-Box 2024 for Mac!

We've just released XPro Styles PAK 7 with 100 brand new RealStyles, plus 50 RealTracks and RealDrums that are sure to delight!

With XPro Styles PAK 7 you can expect 25 rock & pop, 25 jazz, and 25 country styles, as well as 25 of this year's wildcard genre: Celtic!

Here's a small sampling of what XPro Styles PAK 7 has to offer: energetic rock jigs, New Orleans funk, lilting jazz waltzes, fast Celtic punk, uptempo train beats, gritty grunge, intense jazz rock, groovy EDM, soulful R&B, soft singer-songwriter pop, country blues rock, and many more!

Special Pricing! Until September 30, 2024, all the XPro Styles PAKs 1 - 7 are on sale for only $29 ea (Reg. $49 ea)! Supercharge your Band-in-a-Box 2024® with XPro Styles PAK 7! Order now!

Learn more and listen to demos of XPro Styles PAKs.

Watch the XPro Styles PAK 7 Overview & Styles Demos video.

XPro Styles PAKs require Band-in-a-Box® 2024 or higher and are compatible with ANY package, including the Pro, MegaPAK, UltraPAK, UltraPAK+, and Audiophile Edition.

New! Xtra Styles PAK 18 for Band-in-a-Box 2024 for Mac!

Xtra Styles PAK 18 for Band-in-a-Box version 2024 is here with 200 brand new styles to take for a spin!

Along with 50 new styles each for the rock & pop, jazz, and country genres, we’ve put together a collection of styles using sounds from the SynthMaster plugin!

In this PAK you'll find: dubby reggae grooves, rootsy Americana, LA jazz pop, driving pop rock, mellow electronica, modern jazz fusion, spacey country ballads, Motown shuffles, energetic EDM, and plenty of synth heavy grooves! Xtra Style PAK 18 features these styles and many, many more!

Special Pricing! Until September 30, 2024, all the Xtra Styles PAKs 1 - 18 are on sale for only $29 ea (Reg. $49 ea)! Expand your Band-in-a-Box 2024® library with Xtra Styles PAK 18! Order now!

Learn more and listen to demos of the Xtra Styles PAK 18 here.

Watch the Xtra Styles PAK 18 Overview & Styles Demos video.

Note: The Xtra Styles require the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box®. (Xtra Styles PAK 18 requires the 2024 UltraPAK/UltraPAK+/Audiophile Edition. They will not work with the Pro or MegaPAK version because they need the RealTracks from the UltraPAK, UltraPAK+, or Audiophile Edition.

New! Xtra Styles PAK 18 for Band-in-a-Box 2024 for Windows!

Xtra Styles PAK 18 for Band-in-a-Box version 2024 is here with 200 brand new styles to take for a spin!

Along with 50 new styles each for the rock & pop, jazz, and country genres, we’ve put together a collection of styles using sounds from the SynthMaster plugin!

In this PAK you'll find: dubby reggae grooves, rootsy Americana, LA jazz pop, driving pop rock, mellow electronica, modern jazz fusion, spacey country ballads, Motown shuffles, energetic EDM, and plenty of synth heavy grooves! Xtra Style PAK 18 features these styles and many, many more!

Special Pricing! Until September 30, 2024, all the Xtra Styles PAKs 1 - 18 are on sale for only $29 ea (Reg. $49 ea)! Expand your Band-in-a-Box 2024® library with Xtra Styles PAK 18! Order now!

Learn more and listen to demos of the Xtra Styles PAK 18 here.

Watch the Xtra Styles PAK 18 Overview & Styles Demos video.

Note: The Xtra Styles require the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box®. (Xtra Styles PAK 18 requires the 2024 UltraPAK/UltraPAK+/Audiophile Edition. They will not work with the Pro or MegaPAK version because they need the RealTracks from the UltraPAK, UltraPAK+, or Audiophile Edition.

Forum Statistics
Forums65
Topics82,885
Posts752,973
Members39,023
Most Online3,932
Nov 19th, 2024
Newest Members
Jack Peterson, RAB, Uke Berlin, Rodion Shynharov, davesbass
39,023 Registered Users
Top Posters(30 Days)
MarioD 156
DC Ron 105
dcuny 83
rsdean 83
DrDan 78
jpettit 75
Today's Birthdays
Fred Marzin, kindofblue, philncookie
Powered by UBB.threads™ PHP Forum Software 7.7.5