Is there a script that adds silence before and after a marker(or regio

DAEHUI-LEE wrote on 3/14/2021, 12:53 PM

I am a SoundForge Pro 12 user.

I have to edit a large number of files.

I want to make the silence at the beginning of the voice file and the silence at the end of the voice file at the same time.

Is there a script that automatically adds silence for a certain amount of time before and after an existing marker (or region)?

The number of markers (or regions) is 500 or more.

 

 

 

 

 

 

Hi.
I am a user of Soundforge 12 and 13 versions.

I am editing a lot of files using Soundforge.

Markers are created while recording, and after editing, files are created by dividing each marker.

The final completed file is composed as shown in the screenshot below.

Marker - silence part - voice parts - silence part - Marker

I want the time from the beginning of the final finished file to the end of the voice part and the end of the file to be the same.

I can't find a script that automatically changes the silence part part time to constant.

Once you record, there are hundreds of markers created.

So, I am manually copying and pasting one by one for a certain amount of time.

Could you create a script that inserts a certain amount of silence at the front and back of the marker at once?

I am very desperately in need.

Please Help Me.

 

Comments

jetdv wrote on 3/14/2021, 1:59 PM

Are you asking for this script to be run in Sound Forge? It's been years since I looked at the Sound Forge scripting. I'm sure it can be done. In Vegas it wouldn't take me to long to write something for this but I'm too rusty in Sound Forge.

DAEHUI-LEE wrote on 3/14/2021, 2:26 PM

Are you asking for this script to be run in Sound Forge? It's been years since I looked at the Sound Forge scripting. I'm sure it can be done. In Vegas it wouldn't take me to long to write something for this but I'm too rusty in Sound Forge.

Thank you for answer.

Yes, I wish I had a script that works in Soundforge.

I've seen other programs work like this, but SoundForge doesn't have this feature.

I'm a Soundforge user and I would like to have a script that works for SoundForge as well.

DAEHUI-LEE wrote on 3/15/2021, 10:14 AM

You might try looking here:

https://www.magix.info/us/forum/scripting--1185286/

http://forum-archive.magix.info/showtopics.asp?forumid=27

 

Thank you for answer.

I have already looked up the link.

But I couldn't find the script I wanted.

May I ask you to create a script?

 

jetdv wrote on 3/15/2021, 1:47 PM

I don't currently have Sound Forge installed and never really got into scripting in that environment. I'm sorry I can't help you at this time. If you wanted it in Vegas, I could probably whip something up fairly quickly but not for Sound Forge.

DAEHUI-LEE wrote on 3/17/2021, 6:09 AM

I don't currently have Sound Forge installed and never really got into scripting in that environment. I'm sorry I can't help you at this time. If you wanted it in Vegas, I could probably whip something up fairly quickly but not for Sound Forge.

Thank you for your kind answer.

In Vegas, can I put silence back and forth with checked markers (or regions) in the finished file?

I use Vegas 16 for recording and Soundforge 12 for editing.

If you can put a certain amount of silence before and after a marker in Vegas, you can do that and then edit it.
 
But I don't know how to do it in Vegas.

Dexcon wrote on 3/17/2021, 7:27 AM

I'm a little confused because you seem to be focused on creating silence based on your markers that you have obviously spent a lot of time creating, but from the image that you uploaded with your original post, it looks very much that you are seeking to create silence between what looks like narration.

There are other ways of achieving the same result without the need for a script. As I commented on your MAGIX post re exactly the same issue:

Have you considered using Noise Gate, one of Sound Forge Pro's in-built Effects? Probably no . need for a script.

I think that you may mean to create silence between the voice files.

Noise Gate allows you to set a 'noise level' under which that set level all volume is reduced to zero. Any audio signal above the set level is let through. A voice-over/narration track strongly recorded (as yours does appear to be because of the waveform strength) is almost the perfect time to use Noise Gate because the VO waveform is so strong in comparison to the base background sound. And running Noise Gate applies to the entire track in one run. Easy and not complicated.

I venture to say that a 'script' would end up doing the same thing as Noise Gate - they both end up with the very same result.

I must add that if the entire VO track has an intrusive background noise like an air-conditioner hum which intrudes on the voice frequencies, the air-con frequencies might be reduced by using SpectraLayers or iZotope RX, but the background sound would be better kept active in the 'silence' areas because it is really irritating to listen to a VO where the background 'noise' fades in and out with the VO. And amazingly this still very occasionally happens with professional TV production companies that should know better.

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 19.0.3, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

DAEHUI-LEE wrote on 3/17/2021, 10:04 AM

I'm a little confused because you seem to be focused on creating silence based on your markers that you have obviously spent a lot of time creating, but from the image that you uploaded with your original post, it looks very much that you are seeking to create silence between what looks like narration.

There are other ways of achieving the same result without the need for a script. As I commented on your MAGIX post re exactly the same issue:

Have you considered using Noise Gate, one of Sound Forge Pro's in-built Effects? Probably no . need for a script.

I think that you may mean to create silence between the voice files.

Noise Gate allows you to set a 'noise level' under which that set level all volume is reduced to zero. Any audio signal above the set level is let through. A voice-over/narration track strongly recorded (as yours does appear to be because of the waveform strength) is almost the perfect time to use Noise Gate because the VO waveform is so strong in comparison to the base background sound. And running Noise Gate applies to the entire track in one run. Easy and not complicated.

I venture to say that a 'script' would end up doing the same thing as Noise Gate - they both end up with the very same result.

I must add that if the entire VO track has an intrusive background noise like an air-conditioner hum which intrudes on the voice frequencies, the air-con frequencies might be reduced by using SpectraLayers or iZotope RX, but the background sound would be better kept active in the 'silence' areas because it is really irritating to listen to a VO where the background 'noise' fades in and out with the VO. And amazingly this still very occasionally happens with professional TV production companies that should know better.

 

Thank you for your kind answer.

I have already used Noise Gate.

What I want is not just noise removal.

When the audio file starts, I want the sound to come out after 1~2 seconds of silence, and the file ends 1~2 seconds after the sound ends.

So, if you put the same silence back and forth around the marker and cut the file, each file starts with 1~2 seconds of silence and a sound comes out, after the sound ends, 1~2 seconds of silence passes and the file ends.

So I'm looking for a script that automatically puts 1~2 seconds of silence before and after the marker.

I searched the script forum, but I can't find it.

There are too many files I have to edit.
So it takes too much time to edit one by one.

That's why I need a script that automatically inserts silent sections.

Can anyone make it?