LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2019, 03:18 PM   #1
winger9
Member
 
Registered: Jan 2014
Posts: 77

Rep: Reputation: 1
Why does using Generate Silence in a Chain in Audacity not work?


Summary:

In Audacity (ver 2.1.2), when I "Generate Silence" of 1 second using a Chain, it
doesn't generate 1 second but just replaces the selected part of the waveform
with silence. So say the selected part of the waveform was 0.3 seconds long,
then you end up with 0.3 seconds of silence, and not 1 second.

There are no other commands in the Chain, just the 1 second silence.

The site
https://theaudacitytopodcast.com/tap...y-to-save-time
says that you CAN apply a Chain to a SELECTION instead of the whole waveform.

Could you tell me if I'm doing something wrong, or whether this is a bug in
Audacity.

If it's a bug, is there some other way that I can automate the insertion of 1
second of silence. Thanks.


Full Details:

When I insert silence manually, it works fine, but when I perform the same
operation within a Chain it doesn't work properly.

Manual method:

I use Generate/Silence from the Menu to apply 1 second of silence to a selected
part of the waveform. The selection is typically from the start of the waveform
to about 0.3 seconds along. So the 0.3 second selection changes to 1 second of
silence, which is what I want.

Chain method:

I create the Chain entry as follows. File/EditChains/Add then enter name of
"1 sec silence". Select Insert then choose "Silence" from ChooseCommand, then
click EditParameters. I click the down arrow in the Duration box, and select
"hh:mm:ss + milliseconds", then enter a Duration of "00h 00m 01.000s". (This is
also how I select the Duration in the manual method above.) Then OK, OK to
finish.

I select the first 0.3 seconds of the waveform, select File/ApplyChain, select
the Chain name "1 sec silence" then click "Apply to Current Project".

But what happens is that the selected 0.3 seconds of waveform is changed to 0.3
seconds of silence, NOT 1 second of silence. Then when I look at the Chain name
"1 sec silence" in File/EditChains, and select EditParameters, the Duration box
has CHANGED from 1 second to 0.3 seconds (00h 00m 00.300s). Very odd.
 
Old 03-10-2019, 09:42 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 18,149
Blog Entries: 12

Rep: Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536
Quote:
Originally Posted by winger9 View Post
Chain method:

I create the Chain entry as follows. File/EditChains/Add then enter name of
"1 sec silence". Select Insert then choose "Silence" from ChooseCommand, then
click EditParameters. I click the down arrow in the Duration box, and select
"hh:mm:ss + milliseconds", then enter a Duration of "00h 00m 01.000s". (This is
also how I select the Duration in the manual method above.) Then OK, OK to
finish.
i cannot find this in my audacity 2.3.1.
no reference to "Chain" at all in the menus.

Can you explain better, or maybe provide the build information from the About dialog?
 
Old 03-10-2019, 10:11 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,764
Blog Entries: 37

Rep: Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946
Moderator Response

Moved: This thread is more suitable in <Linux - Software> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-10-2019, 04:58 PM   #4
winger9
Member
 
Registered: Jan 2014
Posts: 77

Original Poster
Rep: Reputation: 1
Thanks ondoho (#2). I've put the Build Information at the end of this post.

1. Re "Can you explain better":

a) I want to automate the following procedure by pressing a single key,
key-combination, or clicking on something handy. The procedure is: Replace a
selected section of waveform with 1 second of silence. You can do this manually
with Generate/Silence from the Menu.

A Chain enables you to store certain actions, like the above, then execute them
when required.

b) The following sites tell you about Chains:

An overview of Chains plus a simplified how-to-use-them is at
https://theaudacitytopodcast.com/tap...y-to-save-time

Audacity's manual on Chains is at
https://ttmanual.audacityteam.org/o/...it_chains.html

c) Macros:

The site
https://manual.audacityteam.org/man/macros.html
tells you about Macros, which I've a feeling have superceded Chains. But my
Audacity doesn't seem to have Macros (no Tools/Macros; in fact no Tools menu).

2. I hope the above explanation helps.

3. Here's the Build Information from Help/About:

Code:
Build Information

File Format Support

libmad (MP3 Importing) Enabled
libvorbis (Ogg Vorbis Import and Export) Enabled
libid3tag (ID3 tag support) Enabled
libflac (FLAC import and export) Enabled
libtwolame (MP2 export) Enabled
QuickTime (Import via QuickTime) Disabled
ffmpeg (FFmpeg Import/Export) Enabled
gstreamer (Import via GStreamer) Disabled

Core Libraries

libsoxr (Sample rate conversion) Enabled
PortAudio (Audio playback and recording) v19
wxWidgets (Cross-platform GUI library) 3.0.2

Features

Nyquist (Plug-in support) Enabled
LADSPA (Plug-in support) Enabled
Vamp (Plug-in support) Enabled
Audio Units (Plug-in support) Disabled
VST (Plug-in support) Enabled
LV2 (Plug-in support) Enabled
PortMixer (Sound card mixer support) Enabled
SoundTouch (Pitch and Tempo Change support) Enabled
SBSMS (Extreme Pitch and Tempo Change support) Enabled

Build Information

Program build date: Apr 18 2016
Commit Id: No revision identifier was provided
Build type: Release build
Installation Prefix: /usr
Settings folder: /home/knoppix/.audacity-data

Last edited by winger9; 03-10-2019 at 05:00 PM. Reason: added some words.
 
Old 03-13-2019, 02:36 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 18,149
Blog Entries: 12

Rep: Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536Reputation: 5536
I still don't see any "Chain" command in my audacity menus.
but mine was built 3 years after yours. maybe they removed that feature since?
the chains manual you refer to is for audacity 2.0.3.
I am on 2.3.1 now.
Yes, I can find Tools => macros there.

I hope you can upgrade to a newer version of audacity.
 
Old 03-13-2019, 03:47 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,245

Rep: Reputation: 3451Reputation: 3451Reputation: 3451Reputation: 3451Reputation: 3451Reputation: 3451Reputation: 3451Reputation: 3451Reputation: 3451Reputation: 3451Reputation: 3451
notes, wondering, pondering.


I might need this to be explained. "CAN apply a Chain to a SELECTION instead of the whole waveform." When you generate silence it is like any sound source and has to have some entrance point and then adds to the entire clip doesn't it? When you have a selection it isn't a point in time would be my thinking. You can add to a point but not a selection unless you have an ability to add to beginning of selection and I haven't tried that. Being lazy I have always just made new and created clip of silence and copied it and pasted it to my waveforms.
 
  


Reply

Tags
audacity


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot run Audacity : "Audacity is already running" tuanito Linux - Software 8 03-17-2016 03:05 PM
LXer: ANoise Review - You No Longer Have to Work in Silence LXer Syndicated Linux News 0 08-31-2015 02:42 AM
Audacity: using Truncate Silence newbiesforever Linux - Software 1 03-08-2013 12:18 AM
Audacity chain processing mashcaster Linux - Software 1 01-01-2009 06:27 AM
iptables good packet chain (instead of bad packet chain) win32sux Linux - Security 6 11-06-2008 07:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration