Mix / Join / Merge Sound files to another Sound File

GoldWave general discussions and community help
thudo
Posts: 68
Joined: Sun Mar 21, 2010 3:39 pm

Re: Mix / Join / Merge Sound files to another Sound File

Post by thudo »

Hmmm still not re-duplicating that background 2-3sec fx as expected. Here is my code:

Code: Select all

Copy <path to 2-3second FX to add to all wavs>
Set Marker/Selection [0] - [->M]
LOOP
Mix -4.130dB
Set Marker/Selection [F-0] - [T-0]
Conditional If T > }, ->LOOP
Set Marker/Selection [0] - [M->]
Trim
Anything look out of place?

Everything is updated as mentioned so unsure where the issue is?

Btw.. for "Set Start Marker->Time->0 [Before Finish]" I think you meant "Set Start Marker->Time->0 [Before Finish Marker]"
GoldWave Inc.
Site Admin
Posts: 4372
Joined: Wed Mar 10, 2004 6:43 pm
Location: St. John's, NL
Contact:

Re: Mix / Join / Merge Sound files to another Sound File

Post by GoldWave Inc. »

When moving the start marker to the finish marker be sure not to move the finish marker. So the line "Set Marker/Selection [F-0] - [T-0]" should be "Set Marker/Selection [F-0] - [F+0]" (Set finish marker to "0" "After finish marker").
thudo
Posts: 68
Joined: Sun Mar 21, 2010 3:39 pm

Re: Mix / Join / Merge Sound files to another Sound File

Post by thudo »

Marvelous! Thank you! Its working perfectly now and will amount to a significant ease on my audio workflow!

Hope now in your next releases you look into those minor feature updates! :wink:
thudo
Posts: 68
Joined: Sun Mar 21, 2010 3:39 pm

Re: Mix / Join / Merge Sound files to another Sound File

Post by thudo »

Update to this..

Using the above logic that successfully merges any wav file from the clipboard overlapping the batch selection I apply how do I then fade in the clipboard at the start for, say, 0.4 seconds and then fade it out at the end by the same duration. I would only want the clipboard to be faded in (at the start) and faded out (at the end) and not the selection files going through in the batch. Is this possible?

I noticed that crossfade is an option but it never actually fades in or out the static clipboard sound file (which is just over 0.4 seconds long).
thudo
Posts: 68
Joined: Sun Mar 21, 2010 3:39 pm

Re: Mix / Join / Merge Sound files to another Sound File

Post by thudo »

Following up on this on especially from the Goldwave devs..

If I can manage to get the end of each selection to fade out the clipboard (after its copied) within the second that would be great! I have noticed "Crossfade" is what I want but it never works as its set to "0.87 None/Linear at }". Question is: how to get "}" to represent the end of the Selection file so the clipboard copy starts to fade out?

Maybe I am confused what the Selection vs Clipboard is? Selection seems to mean the static background file I want to apply to a batch of files (clipboard)?

Any help is most appreciated!
GoldWave Inc.
Site Admin
Posts: 4372
Joined: Wed Mar 10, 2004 6:43 pm
Location: St. John's, NL
Contact:

Re: Mix / Join / Merge Sound files to another Sound File

Post by GoldWave Inc. »

Crossfade probably isn't what you need of you want to fade out the end of the selection. You''d need to add a "Set Selection" Edit command to select the last second (set Start to 1.0 "Before finish marker") and add the "Fade Out" effect.
thudo
Posts: 68
Joined: Sun Mar 21, 2010 3:39 pm

Re: Mix / Join / Merge Sound files to another Sound File

Post by thudo »

Thank you!

Are you talking about this (see last two lines of the code logic):

Code: Select all

Copy <path to 2-3second FX to add to all wavs>
Set Marker/Selection [0] - [->M]
LOOP
Mix -10.050dB
Set Marker/Selection [}-0] - [}+0]
Conditional If T > }, ->LOOP
Set Marker/Selection [0] - [M->]
Trim
Set Marker/Selection [}-1] - [T-0]
Crossfade 5 None/Linear at {
GoldWave Inc.
Site Admin
Posts: 4372
Joined: Wed Mar 10, 2004 6:43 pm
Location: St. John's, NL
Contact:

Re: Mix / Join / Merge Sound files to another Sound File

Post by GoldWave Inc. »

Maybe you could just make a faded out copy of the file before you start batch processing.

Otherwise to do it in Batch Processing, you'd need to do something like:
  • Copy, path to file
  • Paste
  • Set selection, store finish
  • Set selection, set start 1 second before finish
  • Fade out
  • Set selection, start = 0, recall finish
  • Cut
  • Set selection, all
  • Set selection, [0] - [->M]
  • ...do the rest of your steps
thudo
Posts: 68
Joined: Sun Mar 21, 2010 3:39 pm

Re: Mix / Join / Merge Sound files to another Sound File

Post by thudo »

Quick followup..

So everything is working now with the batching and mixing the single FX file to the background.. only issue is now the FadeOut.

Problem: its fading the entire selection and NOT the mixing single FX in the background OR just fading at 1 second at the end. Is there a way to only select the last 1 sec to Fade rather than start fading half way though the entire selection?

Current Goldwave batch code:

Code: Select all

Set Marker/Selection [0] - [->M]
Copy <path to single FX file to mix as background>
LOOP
Mix -5dB
Set Marker/Selection [}-0] [}+0] 
Conditional If T > }, ->LOOP
Set Marker/Selection  [0] - [M->]
Fade Out Full volume to silence, linear
Trim
So the only last objective is to only Fade Out in the last second, not taking into account the whole batch/FX mix to base the fade from.

Once that is done, this will be perfect!
GoldWave Inc.
Site Admin
Posts: 4372
Joined: Wed Mar 10, 2004 6:43 pm
Location: St. John's, NL
Contact:

Re: Mix / Join / Merge Sound files to another Sound File

Post by GoldWave Inc. »

After the "Set Marker/Selection [0] - [M->]", add another "Set Marker/Selection" command to move the start marker 1 second before the finish marker:

Set Marker/Selection [}-1] - [}-0]

Then do the fade out.
thudo
Posts: 68
Joined: Sun Mar 21, 2010 3:39 pm

Re: Mix / Join / Merge Sound files to another Sound File

Post by thudo »

Thank you for your help here, Goldwave Team!

Ok so when I have it look like this:

Code: Select all

Set Marker/Selection [0] - [->M]
Copy <path to single FX file to mix as background>
LOOP
Mix -5dB
Set Marker/Selection [}-0] [}+0] 
Conditional If T > }, ->LOOP
Set Marker/Selection  [0] - [M->]
Set Marker/Selection [}-1] - [}-0]
Fade Out Full volume to silence, linear
Trim
It now cuts off the entire section of the batching sample and only plays the last 1 second of it instead of playing the whole duration and fading out in the last 1 second. :cry:

Edit..

Ah think I got it now.. this works as expected:

Code: Select all

Set Marker/Selection [0] - [->M]
Copy <path to single FX file to mix as background>
LOOP
Mix -5dB
Set Marker/Selection [}-0] [}+0] 
Conditional If T > }, ->LOOP
Set Marker/Selection  [0] - [M->]
Trim
Set Marker/Selection [}-1] - [}-0]
Fade Out Full volume to silence, linear
So note the change.. that line you suggested has to come after "Trim" then the rest follows. \o/
thudo
Posts: 68
Joined: Sun Mar 21, 2010 3:39 pm

Re: Mix / Join / Merge Sound files to another Sound File

Post by thudo »

Something else came up.

For the start of each sample, how do I "FadeIn" just the single FX sample being fixed in under the command: Copy <path to single FX file to mix as background>.

Does this look right?

Code: Select all

Set Marker/Selection [0] - [->M]
Copy <path to single FX file to mix as background>
Set Marker/Selection [}+0] - [}+1]
Fade In Silence to Full volume, linear
LOOP
Mix -5dB
Set Marker/Selection [}-0] [}+0] 
Conditional If T > }, ->LOOP
Set Marker/Selection  [0] - [M->]
Trim
Set Marker/Selection [}-1] - [}-0]
Fade Out Full volume to silence, linear
I am unsure if it touches both the sample FX coming in and the batch voices being applied to them or ONE or the other? It does seem to work with the time I asked so that parts is working. 8)

Still, is there a way to just target the sample FX coming in under: Copy <path to single FX file to mix as background> ?
GoldWave Inc.
Site Admin
Posts: 4372
Joined: Wed Mar 10, 2004 6:43 pm
Location: St. John's, NL
Contact:

Re: Mix / Join / Merge Sound files to another Sound File

Post by GoldWave Inc. »

You'd Paste the sample, Store the markers, apply any effects you want, then Recall the markers and Cut. The clipboard will now contain the processed sample which you can use as before.
thudo
Posts: 68
Joined: Sun Mar 21, 2010 3:39 pm

Re: Mix / Join / Merge Sound files to another Sound File

Post by thudo »

Actually. the Mix -5dB Edit actually does change only the volume of the Copied File (my sample sound FX file being applied to all the other batched sound files) so that works very well so no need to make any changes. :P

One feature request..

Can the Goldwave dev team consider adding the ability in the Batch Processing section that allows us to Double-Click over any of the Effect, Chain, or Edit column options to directly make changes as right now its very cumbersome changing an Edit to something else if I could merely double-click the existing feature and change it directly. (ie. right now if I add a Mix volume change and add it, in order to change it again I need to add a new Mix, set the new volume, then delete the old one since its redundant). Right now, if you double-click the Edit it only wants to change the Comment section. :cry:
GoldWave Inc.
Site Admin
Posts: 4372
Joined: Wed Mar 10, 2004 6:43 pm
Location: St. John's, NL
Contact:

Re: Mix / Join / Merge Sound files to another Sound File

Post by GoldWave Inc. »

That is being considered along with specifying effect settings directly (rather than using presets). The Batch Process feature is already very complex, so there is some reluctance to increasing the complexity and possibly reducing stability.
Post Reply