Plug'n Script: Can I Playback a Section of WAV @ host BPM

Official support for: bluecataudio.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Can I playback a sample section of a wav file at the Host bpm ?
So can I point the script to a wav file and set the sample start pos and end pos in the wav and play it back in sync with the DAW tempo if I set the original bpm of the wav ?

Post

So something like the wav file player.cxx that I can select the file.
The file name will contain the bmp "Guitar, Strum, Ev8 4-4 120bpm.wav"
I will set a sample pos start and pos end of a section in the wav.
This will be triggered when the VstTimeInfo reaches a certain number of beats
or when I input a midi chord: notes 48, 52, 55
Say the sample length is 4 bars it will play/loop those 4 bars in sync to the DAW host tempo.
The idea is to have different chords playing in the source wav file at different bars locations.
There is a Guitar, Strum, Ev8 4-4 120bpm.csv with the start/end times of the chords to work out the sample start/end positions, so it would need to parse that. The color is the section verse, chorus, ending etc.. playing style.

Code: Select all

#,Name,Start,End,Length,Color
R1,,1.1.00,3.1.00,2.0.00,FF80C0
R2,A,3.1.00,5.1.00,2.0.00,E41A27
R3,A#,5.1.00,7.1.00,2.0.00,E41A27
R4,B,7.1.00,9.1.00,2.0.00,E41A27
R5,C,9.1.00,11.1.00,2.0.00,E41A27
R6,C#,11.1.00,13.1.00,2.0.00,E41A27
R7,D,13.1.00,15.1.00,2.0.00,E41A27
Image

Would it be possible with the GUI to have it represent Bars/Beats of the DAW timeline,
and be editable so you could insert chord change names at different bars or beats ?
Either page view or linear view if easier.

Image
Last edited by crossovercable on Fri Jun 04, 2021 7:31 am, edited 1 time in total.

Post

It is possible, but you have to resample the audio files by yourself so that they fit the right length, then sync with the host using the TransportInfo.

Post

Sorry I thought you were still in bed in the US and was updating the post but I see you are just getting in France :)
I would like to buy it as long as I can do all this with it.
Any help would be much appreciated and pointing to any scripts to help get it started.

Post

For host sync you can check in the factory midi scripts. There is however currently no utility provided for resampling so there is a bit of extra work there.

Post

Thanks will have a look. Does the GUI I mentioned above sound doable ?

Post

crossovercable wrote: Fri Jun 04, 2021 7:58 am Thanks will have a look. Does the GUI I mentioned above sound doable ?
That's quite a bit of work, but it indeed seems doable. The only tricky thing is for the timeline display: the plug-in has no direct access to the DAW's timeline and waveform, so if you want to display the waveform, it has to be stored somehow the first time the DAW plays the audio thru the plug-in.

Post

Thanks, I don't want to display the waveform just the timeline as bars & beats (grid) that a chord name can be added at any bar or beat, when the beat count gets to that chord name then the chord is played in that section of the wav file.

Image

Post Reply

Return to “Blue Cat Audio”