<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi<br><div><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">One option, if you want an automated fade out at the end of your file would be to use two readsf~ objects loading/reading the same file but delayed by the duration of the desired fade. The first reader would send a bang when it's finished reading the file and that bang coud be used to trigger the second reader's fade out. Of course, only the second of these readers would be connected to dac~ Hope I'm making myself clear (!)<br><br>David<br>&nbsp;<br><div>
<p class="ecxMsoNormal" style="MARGIN:0cm 0cm 0pt;"><font size="3"><font face="Times New Roman"><a href="http://www.flickr.com/photos/schafferdavid/" target="_blank">http://www.flickr.com/photos/schafferdavid/</a></font></font></p>
<p class="ecxMsoNormal" style="MARGIN:0cm 0cm 0pt;"><a href="https://soundcloud.com/schafferdavid" target="_blank"><font style="font-size:12pt;" size="3"><font style="" face="Times New Roman">https://soundcloud.com/schafferdavid</font></font></a><br></p></div><br><br><div>&gt; Date: Tue, 22 Apr 2014 13:49:29 +0200<br>&gt; From: colet.patrice@free.fr<br>&gt; To: pd-list@iem.at<br>&gt; Subject: Re: [PD] Controlling amplitude with readsf~<br>&gt; <br>&gt; fade in and out is quite easy to do with a toggle, a [pack f 1000] for <br>&gt; setting the line time, and [line~] to do the ramp on the [*~]  that is <br>&gt; multiplying [readfs~] signal, but for automatic fadeout there is a need <br>&gt; to know the length of the sound file obviously.<br>&gt; <br>&gt; Le 22/04/2014 13:33, Simon Wise a écrit :<br>&gt; &gt; On 22/04/14 21:12, Claire O'Connor wrote:<br>&gt; &gt;&gt; I am still having a bit of trouble. I am using another line object to <br>&gt; &gt;&gt; ramp<br>&gt; &gt;&gt; up the number box to fade in my .wav file but when I go to ramp it back<br>&gt; &gt;&gt; down, it jumps straight to zero. I have also tried to 'reset' the line<br>&gt; &gt;&gt; object but that involves sending a message '0' which makes the <br>&gt; &gt;&gt; amplitude of<br>&gt; &gt;&gt; the .wav file jump down again. Any ideas as to how this issue might be<br>&gt; &gt;&gt; resolved? I have a line of .wav files that I want to fade in and fade <br>&gt; &gt;&gt; out<br>&gt; &gt;&gt; as they each play.<br>&gt; &gt;<br>&gt; &gt; sending a single number [0( will jump straight to that value,<br>&gt; &gt; a pair will ramp so [0 2000( goes from current value to 0 in 2 seconds<br>&gt; &gt; then [1 3000( goes to 1 in 3 seconds ... play around with the help patch.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Simon<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Pd-list@iem.at mailing list<br>&gt; &gt; UNSUBSCRIBE and account-management -&gt; <br>&gt; &gt; http://lists.puredata.info/listinfo/pd-list<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; Pd-list@iem.at mailing list<br>&gt; UNSUBSCRIBE and account-management -&gt; http://lists.puredata.info/listinfo/pd-list<br></div>                                               </div></div>                                               </div></body>
</html>