No its not that either. I thought what he'd said was quite clear. The way I read it, he wants something capable of playing a wave file. If he starts playing his track 1/3 of the way in, he wants his wave file to start from 1/3rd of the way in. If he starts his wave file 1/2 of the way in he wants his wave file to start half of the way in.Midiworks wrote:So, you want a vst to control the host sync... ?whyterabbyt wrote: As opposed to moving the playback pointer to halfway into the WAV file? Why cant he do that?![]()
SE - Syncing wav playback to VST host
- Beware the Quoth
- 35502 posts since 4 Sep, 2001 from R'lyeh Oceanic Amusement Park and Funfair
An idiot on Set Theory:
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."
-
- KVRAF
- 1617 posts since 19 Mar, 2002 from Victoria, BC
some simple maths might help. Using the file info box, you can get the file length in ms. Multiply this by 1000 to get the file length in seconds, length. Then divide 10 by length to get your scaling factor, x. By multiplying the 'time (s)' pin of the host pos module by x you should get a number between 1 and 10 that will control the 'file pos' input of the waveplayer module. Of course, the readme says this is not intended for scrubbing a file, so your playback may just be garbled and f**ked up. Worth a try anyways...
-
- KVRian
- Topic Starter
- 1025 posts since 7 Nov, 2003
Thanks very much glurgle, I will give this a goglurgle wrote:some simple maths might help. Using the file info box, you can get the file length in ms. Multiply this by 1000 to get the file length in seconds, length. Then divide 10 by length to get your scaling factor, x. By multiplying the 'time (s)' pin of the host pos module by x you should get a number between 1 and 10 that will control the 'file pos' input of the waveplayer module. Of course, the readme says this is not intended for scrubbing a file, so your playback may just be garbled and f**ked up. Worth a try anyways...
-
- KVRian
- 772 posts since 6 Oct, 2003 from ezeeworld
This is what I was hinting at in my earlier post. The bit in bold is wrong though, it should be divide by 1000 ie 1200ms/1000=1.2s4tune wrote:Thanks very much glurgle, I will give this a goglurgle wrote:some simple maths might help. Using the file info box, you can get the file length in ms. Multiply this by 1000 to get the file length in seconds, length. Then divide 10 by length to get your scaling factor, x. By multiplying the 'time (s)' pin of the host pos module by x you should get a number between 1 and 10 that will control the 'file pos' input of the waveplayer module. Of course, the readme says this is not intended for scrubbing a file, so your playback may just be garbled and f**ked up. Worth a try anyways...
Even with the correct equation, I don't think it is possible after all in Synthedit at the moment. The problem is getting the file position info to the waveplayer module. As you correctly guessed you can't directly connect this to the position equation. I've just tried all manner of ideas to get this to work but I don't think the Waveplayer module is up to it... BUT I only tried my experiments out in Energy XT and Synthedit and this might have been part of the problem. Synthedit resets to bar one every time you start the audio engine and Energy XT switches the Sequencer Audio engine off when you press stop (all the modules in the main window are still active though, I hadn't noticed this in EXT before). This is a problem because you need to send the file position info after play has stopped (which I was attempting by using a notgate to trigger a Sample and hold module, although you might be able to get away with a simple flowcontrol module) but before the Waveplayer rewinds. It might work in a host that has a continually running audio engine but I have no idea if the host 4tune is using does. An easy way to tell is if you press stop on your sequencer on a sustained synth note that has a release segment, the release should sound. In Ext and SE it stops dead.
Here's what I tried:

I have used sliders in the diagram simply so you can see the values I have assigned.
It would also be worth trying connecting both the gate and rewind gate to the envelope, that's how I originally had it before realising the problem might have been hostside. Also I think it might be better to use Dave Haupt's subcontrol maths modules rather than the standard ones but they aren't free so I used the standard maths modules. Anyhow it should be a decent starting point for 4tune to work from...
The file is Here.
-
- KVRian
- 772 posts since 6 Oct, 2003 from ezeeworld
-
- KVRian
- Topic Starter
- 1025 posts since 7 Nov, 2003
No luck yet, unfortunately..glurgle wrote:How did that turn out?
@ ezeeboogie
Wow, thanks very much for these efforts. I will download the file and go back over your post on this one,
again cheers
4tune
