Csound Csound-dev Csound-tekno Search About

[Csnd] replacing silence with sound

Date2013-05-13 02:05
From\\js
Subject[Csnd] replacing silence with sound
hi

i have an audio file of electronic sound. the file is composed of blocks  
of sound separated by silence. i'd like to replace the silence with  
another [secondary] sample. so what i want is for a program to go through  
the sound file, and where ever it finds silence, it should replace it with  
the secondary sample, looping as appropriate [or i could just make the  
seondary sample long enough].

i'm just not sure how to do it in csound. my guess is that this is  
something that has been done before [and i hope is trivial].

can anyone point me toward where i should look to figure this out? thx for  
any help.

-- 
\js

Date2013-05-13 08:18
FromAnton Kholomiov
SubjectRe: [Csnd] replacing silence with sound
You can watch for amplitude of the signal with follow [1]

When amplitude is zero you can start looping your sample and turn it off when it's not zero.


2013/5/13 \js <johns@or8.net>
hi

i have an audio file of electronic sound. the file is composed of blocks of sound separated by silence. i'd like to replace the silence with another [secondary] sample. so what i want is for a program to go through the sound file, and where ever it finds silence, it should replace it with the secondary sample, looping as appropriate [or i could just make the seondary sample long enough].

i'm just not sure how to do it in csound. my guess is that this is something that has been done before [and i hope is trivial].

can anyone point me toward where i should look to figure this out? thx for any help.

--
\js


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"