Re: Accents and low-pass filtering (Drossos Konstantinos )


Subject: Re: Accents and low-pass filtering
From:    Drossos Konstantinos  <kdrosos@xxxxxxxx>
Date:    Fri, 8 Mar 2013 11:43:16 +0200
List-Archive:<http://lists.mcgill.ca/scripts/wa.exe?LIST=AUDITORY>

--Apple-Mail=_6602A88E-6FD6-48BB-B202-93974528A331 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear Aniruddh and Etienne,=20 There is a Free & Open Source Software command line tool called = "youtube-dl",=20 which can download a youtube video, extract the audio and convert it to = a=20 desirable format using ffmpeg. Youtube-dl can be installed in Unix and = Windows platforms.=20 In MAC OS enviroment, the installation could be done using macports = (which=20 also can be used for ffmpeg installation).=20 More information at: Macports: http://www.macports.org Youtube-dl: http://rg3.github.com/youtube-dl/ Hope that helps. Kind regards, Konstantinos Drossos On 8 =CE=9C=CE=B1=CF=81 2013, at 9:58 =CF=80.=CE=BC., Etienne Gaudrain = <e.p.c.gaudrain@xxxxxxxx> wrote: > Dear Aniruddh, >=20 > Sounds great! >=20 > You can download the video using online services or plugins for you = browser. Then it should be either in mp4 or flv format. >=20 > To extract the audio, you can use command line tool ffmpeg (will also = be able to convert to wav in the process). >=20 > The same can be used to convert the video into a format that Matlab = will be happy with (could be just a collection of images). >=20 > Load the sound in Matlab (wavread), and low pass. Load the video in = Matlab (either by making a big matrix with the images, or by using the = VideoReader class). You can then probably also just low pass. I guess = this will blur any fast motion. For that reason you may want to convert = to a different color space first (e.g. rgb2hsl). >=20 > Produce either a video or a collection of images with Matlab. >=20 > Then recombine audio and video using ffmpeg. >=20 > You should find the command lines for ffmpeg by Googling around. >=20 > Hope that helps, > -Etienne >=20 >=20 >=20 > On 7 March 2013 21:45, Aniruddh Patel <apatel@xxxxxxxx> wrote: > Dear Colleagues, >=20 > I would like to create a version of this short YouTube video (of an > actress doing 21 different accents) in which the audio is low-passed > filtered, so that students can focus on the prosody of the different > accents: >=20 > http://www.youtube.com/watch?v=3D3UgpfSp2t6k >=20 > I would also like to create another version in which both the audio = and > the video are low pass filtered, so that one sees the slower = time-scale > movements of the face while hearing the low-pass filtered voice. >=20 > Can anyone suggest how I might do this? >=20 > Regards, >=20 > Ani Patel >=20 > Aniruddh D. Patel > Associate Professor > Dept. of Psychology > Tufts University > 490 Boston Ave. > Medford, MA 02115 >=20 > a.patel@xxxxxxxx > http://ase.tufts.edu/psychology/peoplePatel.htm >=20 --Apple-Mail=_6602A88E-6FD6-48BB-B202-93974528A331 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear = Aniruddh and Etienne,&nbsp;<div><br></div><div>There is a Free &amp; = Open Source Software command line tool called = "youtube-dl",&nbsp;</div><div>which&nbsp;can&nbsp;download a = youtube&nbsp;video, extract the audio and convert it to = a&nbsp;</div><div>desirable&nbsp;format&nbsp;using ffmpeg. Youtube-dl = can be installed in Unix and = Windows</div><div>platforms.&nbsp;</div><div><br></div><div>In MAC OS = enviroment, the installation could be done using macports = (which&nbsp;</div><div>also can be used for ffmpeg = installation).&nbsp;</div><div><br></div><div>More information = at:</div><div><br></div><div><a = href=3D"http://www.macports.org">Macports:&nbsp;http://www.macports.org</a= ></div><div><br></div><div><a = href=3D"http://rg3.github.com/youtube-dl/">Youtube-dl:&nbsp;http://rg3.git= hub.com/youtube-dl/</a></div><div><br></div><div>Hope that = helps.</div><div>Kind regards,<br><div>Konstantinos Drossos</div> <br><div><div>On 8 =CE=9C=CE=B1=CF=81 2013, at 9:58 =CF=80.=CE=BC., = Etienne Gaudrain &lt;<a = href=3D"mailto:e.p.c.gaudrain@xxxxxxxx">e.p.c.gaudrain@xxxxxxxx</a>&gt; = wrote:</div><br class=3D"Apple-interchange-newline"><blockquote = type=3D"cite"><div dir=3D"ltr">Dear Aniruddh,<br> <br> Sounds great!<br> <br> You can download the video using online services or plugins for you = browser. Then it should be either in mp4 or flv format.<br> <br> To extract the audio, you can use command line tool ffmpeg (will also be = able to convert to wav in the process).<br> <br> The same can be used to convert the video into a format that Matlab will = be happy with (could be just a collection of images).<br> <br> Load the sound in Matlab (wavread), and low pass. Load the video in=20 Matlab (either by making a big matrix with the images, or by using the=20= VideoReader class). You can then probably also just low pass. I guess=20 this will blur any fast motion. For that reason you may want to convert=20= to a different color space first (e.g. rgb2hsl).<br> <br> Produce either a video or a collection of images with Matlab.<br> <br> Then recombine audio and video using ffmpeg.<br> <br> You should find the command lines for ffmpeg by Googling around.<br> <br> Hope that helps,<br> -Etienne<br><div><br></div></div><div class=3D"gmail_extra"><br><br><div = class=3D"gmail_quote">On 7 March 2013 21:45, Aniruddh Patel <span = dir=3D"ltr">&lt;<a href=3D"mailto:apatel@xxxxxxxx" = target=3D"_blank">apatel@xxxxxxxx</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Colleagues,<br> <br> I would like to create a version of this short YouTube video (of an<br> actress doing 21 different accents) in which the audio is low-passed<br> filtered, so that students can focus on the prosody of the different<br> accents:<br> <br> <a href=3D"http://www.youtube.com/watch?v=3D3UgpfSp2t6k" = target=3D"_blank">http://www.youtube.com/watch?v=3D3UgpfSp2t6k</a><br> <br> I would also like to create another version in which both the audio = and<br> the video are low pass filtered, so that one sees the slower = time-scale<br> movements of the face while hearing the low-pass filtered voice.<br> <br> Can anyone suggest how I might do this?<br> <br> Regards,<br> <br> Ani Patel<br> <br> Aniruddh D. Patel<br> Associate Professor<br> Dept. of Psychology<br> Tufts University<br> 490 Boston Ave.<br> Medford, MA 02115<br> <br> <a href=3D"mailto:a.patel@xxxxxxxx">a.patel@xxxxxxxx</a><br> <a href=3D"http://ase.tufts.edu/psychology/peoplePatel.htm" = target=3D"_blank">http://ase.tufts.edu/psychology/peoplePatel.htm</a><br> </blockquote></div><br></div> </blockquote></div><br></div></body></html>= --Apple-Mail=_6602A88E-6FD6-48BB-B202-93974528A331--


This message came from the mail archive
/var/www/postings/2013/
maintained by:
DAn Ellis <dpwe@ee.columbia.edu>
Electrical Engineering Dept., Columbia University