Log in to post
|
Print Thread |
|
|
|
|
Band-in-a-Box for Windows
|
Joined: Jun 2009
Posts: 2,547
Veteran
|
Veteran
Joined: Jun 2009
Posts: 2,547 |
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/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_CreatePreviewhttps://www.extremraym.com/cloud/reascript-doc/search CF_Preview 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
};
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
Henry Clarke: Revolutionize Your Band-in-Box® Tracks with Regenerating Function
User Video: 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!
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.
Update your Band-in-a-Box® 2024 for Windows® Today!
Update your Band-in-a-Box® 2024 for Windows for free with build 1111!
With this update, there's more control when saving images from the Print Preview window, we've added defaults to the MultiPicker for sorting and font size, updated printing options, updated RealTracks and other content, and addressed user-reported issues with the StylePicker, MIDI Soloists, key signature changes, and more!
Learn more about this free update for Band-in-a-Box® 2024 for Windows at www.pgmusic.com/support_windowsupdates.htm#1111
|
|
|
|
|
|
|
|
|
|
|
Forums66
Topics81,769
Posts737,154
Members38,576
|
Most Online2,537 Jan 19th, 2020
|
|
|
|
|
|
|
|
|