Previous Thread
Index
Next Thread
Print Thread
Go To
Band-in-a-Box for Windows
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
Live Arranger Mode was a 2011 post in the wishlist.
It has been asked for many times over the years.
This is another reason for direct play, if Biab just loads the RT data from the selected style then plays back the inputted chord direct from the RT's on the hard drive.
Biab already has midi keyboard chord input (see pic) so when a chord is played on the user's keyboard it could play that chord directly from the location in the source file.
If a new chord is not entered it will loop that same chord section again or another one with the same chord.

I tried this in Reaper and it all just works playing the files direct from hard drive without a glitch, as I change the input chord it will play that section in the files on the USB drive.
It can change on the next beat or at the end of a bar.

Rather than choosing chord sections from the source files to join together in RAM then play,
it will choose a section for the currently inputted chord, go straight to it and play.
This is what it is doing in the video Play-Direct-Arranger.mp4 they are 24bit 48khz files on a USB drive.
Biab could do that and be a live Arranger, I think Yamaha have audio drums but I don't know if they have audio instruments yet.
Biab could be then used with a laptop and the user's keyboard.

This Play-Direct-Arranger-BBvst.mp4 is using 2 BBPlugins to get a verse ending and chorus ending in the other.
It is playing the files back direct from the SavedTracks folders.
So Biab should be able to play the RTs direct and live.


It has been implemented into JJazzLab in the same year:
Originally Posted By: chrisroode
Jun 14, 2021 at 10:39pm Hello, just discovered this software...perfect for my teaching job! Anyway....Is there a way to have JJazzLab recognize chords from a midi input?

I only need (literally) the same thing those casio keyboards do, where I can play a C maj chord, and the accompaniment instead switches to C maj. Then when I play an Fmaj chord (even in 2nd inversion) it will switch to that.

I'm planning to use this software for echo playing of rhythms and melodic passages to teach beginning band kids. I like to have the chords change with what I play, but there is no specific form to what I'm doing...so if say the kids mess up a measure that goes Bb, F7, then I want to be able to repeat that on the fly, and I can easily do that if I am at a keyboard and just hammering out the melody on the right hand and playing block chord changes on the left.

Summer break is coming, and if this is not something available, I am willing to fork and make it...

Originally Posted By: Jerome
Oct 1, 2021 at 4:26am @chrisroode I've implemented it in JJazzLab 3.0, to be released in november probably.

There is a slight delay (<1 sec) when you change the chord on the keyboard to get the backing track updated, so it's not pure real-time like vArranger, but it should not be a problem for your use case.

Band-in-a-Box for Windows
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
I don't have an arranger keyboard so I'm not sure exactly how they are set up, but I thought something like this below, if you think that will work ?
If you hit a keyswitch that will be the next section played on a new chord or the same chord is played, the change will occur on next beat or bar. If no section keyswitch is hit it will continue with the current.

Attached Files (Click to download or enlarge) (Only available when you are logged in)
BB21-Live-Arranger-GUI.png (163.99 KB, 409 downloads)
Band-in-a-Box for Windows
Joined: Jun 2009
Posts: 3,110
M
Veteran
Offline
Veteran
M
Joined: Jun 2009
Posts: 3,110
It's just turned 2024 where I am, so it looks like I have to spend 2024 making this along with a VST with the generate code in it. I thought the 2024 version would have all this and I could retire from all the years getting Biab and the Plugin where they needs to be frown frown

Band-in-a-Box for Windows
Joined: Jun 2009
Posts: 3,110
M
Veteran
Offline
Veteran
M
Joined: Jun 2009
Posts: 3,110
I got the Live Arranger sorted and posted in the BiabVST thread:

Install Pre-Release SWS Extensions https://www.sws-extension.org/download/pre-release/

Code
file1 = "E:\\bb\\RealTracks\\Bass, Electric, BritInvasion Ev 120\\BS1691.wma"

wma_source1 = reaper.PCM_Source_CreateFromFile(file1)

track1 = reaper.CF_CreatePreview(wma_source1)

reaper.CF_Preview_SetValue(track1, "D_VOLUME", 1)

reaper.CF_Preview_SetValue(track1, "D_POSITION", 4)

reaper.CF_Preview_SetValue(track1, "D_PITCH", 2)

reaper.CF_Preview_SetValue(track1, "D_PLAYRATE", 1)

reaper.CF_Preview_SetValue(track1, "B_PPITCH", 1)

reaper.CF_Preview_Play(track1)

retval, current_pos  = reaper.CF_Preview_GetValue(track1, "D_POSITION")

This should work to play the sections the same way I demonstrated with a Video Here It's the same now how the Plugin inserts all the sections and Reaper plays them back yet it will be using the source files direct without loading into a Reaper track, you will have virtual tracks.

So you load all the track data for the chosen style,
When a chord is entered it will look for a chord section for each track from a source file,
The CF_Preview_GetValue(track1, "D_POSITION") will get the current play position in the file until that chord ends
it will then play another section with the same chord or until user changes chords.
You can reaper.CF_Preview_Stop(track1)
or reaper.CF_Preview_StopAll()

I used defer:
reaper.defer(function)

Adds code to be called back by REAPER. Used to create persistent ReaScripts that continue to run and respond to input, while the user does other tasks. Identical to runloop().
Note that no undo point will be automatically created when the script finishes, unless you create it explicitly.


You can try it this way using the Reaper C++ API and later you maybe able to get the BBvst to do it all allowing the BBPluginStandalone to be used ?


https://www.extremraym.com/cloud/reascript-doc/#CF_CreatePreview

https://www.extremraym.com/cloud/reascript-doc/
search CF_Preview

Code
The preview object is automatically destroyed at the end of a defer cycle if at least one of these conditions are met:
- playback finished
- playback was not started using CF_Preview_Play
- the output track no longer exists)", },
	{ APIFUNC(CF_Preview_GetValue), "bool", "CF_Preview*,const char*,double*", "preview,name,valueOut", R"(Supported attributes:
B_LOOP         seek to the beginning when reaching the end of the source
B_PPITCH       preserve pitch when changing playback rate
D_FADEINLEN    lenght in seconds of playback fade in
D_FADEOUTLEN   lenght in seconds of playback fade out
D_LENGTH       (read only) length of the source * playback rate
D_MEASUREALIGN >0 = wait until the next bar before starting playback (note: this causes playback to silently continue when project is paused and previewing through a track)
D_PAN          playback pan
D_PITCH        pitch adjustment in semitones
D_PLAYRATE     playback rate
D_POSITION     current playback position
D_VOLUME       playback volume
I_OUTCHAN      first hardware output channel (&1024=mono, reads -1 when playing through a track, see CF_Preview_SetOutputTrack)
I_PITCHMODE    highest 16 bits=pitch shift mode (see EnumPitchShiftModes), lower 16 bits=pitch shift submode (see EnumPitchShiftSubModes))", },
	{ APIFUNC(CF_Preview_GetPeak), "bool", "CF_Preview*,int,double*", "preview,channel,peakvolOut", "Read peak volume for channel 0 or 1. Only available when outputting to a hardware output (not through a track).", },
	{ APIFUNC(CF_Preview_SetValue), "bool", "CF_Preview*,const char*,double", "preview,name,newValue", "See CF_Preview_GetValue.", },
	{ APIFUNC(CF_Preview_SetOutputTrack), "bool", "CF_Preview*,ReaProject*,MediaTrack*", "preview,project,track", "", },
	{ APIFUNC(CF_Preview_Play), "bool", "CF_Preview*", "preview", "Start playback of the configured preview object.", },
	{ APIFUNC(CF_Preview_Stop), "bool", "CF_Preview*", "preview", "Stop and destroy a preview object.", },
	{ APIFUNC(CF_Preview_StopAll), "void", "", "", "Stop and destroy all currently active preview objects.", },

	{ NULL, } // denote end of table
};

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
Holiday Weekend Hours

As we hop into the Easter weekend, here are our holiday hours:

April 3 (Good Friday): 8:00 AM – 4:00 PM PDT
April 4 (Saturday): Closed
April 5 (Easter Sunday): Closed
April 6 (Easter Monday): Open regular hours

Wishing you an egg-cellent weekend!

— Team PG

Update to Build 10 of RealBand® 2026 for Windows®!

If you're already using RealBand 2026 for Windows, download build 10 to get all the latest additions and enhancements.

Band-in-a-Box® 2025 for Mac® users: Build 904 now available!

If you're already using Band-in-a-Box® 2025 for Mac®, make sure to grab the latest update! Build 904 is now available for download and includes the newest additions and enhancements from our team.

Band-in-a-Box® 2026 for Windows® users: Build 1237 is now available!

Already a Band-in-a-Box 2026 for Windows user? Stay up to date and download the build 1237 to get all the latest additions and enhancements.

PowerTracks Pro 2026 for Windows is Here!

PowerTracks 2026 is here—bringing powerful new enhancements designed to make your production workflow faster, smoother, and more intuitive than ever.

The enhanced Mixer now shows Track Type and Instrument icons for instant track recognition, while a new grid option simplifies editing views. Non-floating windows adopt a modern title bar style, replacing the legacy blue bar.

The Master Volume is now applied at the end of the audio chain for consistent levels and full-signal master effects.

Tablature now includes a “Save bends when saving XML” option for improved compatibility with PG Music tools. Plus, you can instantly match all track heights with a simple Ctrl-release after resizing, and Add2 chords from MGU/SGU files are now fully supported... and more!

Get started today—first-time packages start at just $49.

Already using PowerTracks Pro Audio? Upgrade for as little as $29 and enjoy the latest improvements!

Order now!

Band-in-a-Box 2026 for Windows Special Offers End Tomorrow (January 15th, 2026) at 11:59 PM PST!

Time really is running out! Save up to 50% on Band-in-a-Box® 2026 for Windows® upgrades and receive a FREE Bonus PAK—only when you order by 11:59 PM PST on Thursday, January 15, 2026!

We've added many major new features and new content in a redesigned Band-in-a-Box® 2026 for Windows®!

Version 2026 introduces a modernized GUI redesign across the program, with updated toolbars, refreshed windows, smoother workflows, and a new Dark Mode option. There’s also a new side toolbar for quicker access to commonly used windows, and the new Multi-View feature lets you arrange multiple windows as layered panels without overlap, making it easier to customize your workspace.

Another exciting new addition is the new AI-Notes feature, which can transcribe polyphonic audio into MIDI. You can view the results in notation or play them back as MIDI, and choose whether to process an entire track or focus on specific parts like drums, bass, guitars/piano, or vocals. There's over 100 new features in Band-in-a-Box® 2026 for Windows®.

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!

Upgrade your Band-in-a-Box for Windows to save up to 50% on most Band-in-a-Box® 2026 upgrade packages!

Plus, when you order your Band-in-a-Box® 2026 upgrade during our special, you'll receive a Free Bonus PAK of exciting new add-ons.

If you need any help deciding which package is the best option for you, just let us know. We are here to help!

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.

Forum Statistics
Forums57
Topics86,131
Posts800,630
Members40,042
Most Online44,367
Mar 4th, 2026
Newest Members
Risi, HenryHPH, Baldeagle13, vmvera, tama30
40,041 Registered Users
Top Posters(30 Days)
MarioD 131
DC Ron 99
rsdean 97
WaoBand 57
Today's Birthdays
dubbodoug, GoldToper, Graham UK, horsthartung, mbon008, Petr Vinovsky
Powered by UBB.threads™ PHP Forum Software 7.7.5