Re: [AUDITORY] Generate IRNs in Matlab? (Karl Lerud )


Subject: Re: [AUDITORY] Generate IRNs in Matlab?
From:    Karl Lerud  <karl.lerud@xxxxxxxx>
Date:    Fri, 15 Mar 2019 02:07:31 -0400
List-Archive:<http://lists.mcgill.ca/scripts/wa.exe?LIST=AUDITORY>

This is a multi-part message in MIME format. --------------304C5E9564C94EC5C8DA1025 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by edgeum1.it.mcgill.ca id x2F67YKQ005080 Hi Patricia and anyone else interested, An addendum to my previous message: Our function stimulusMake() also=20 takes a frequency and amplitude for the carrier waveform, so even though=20 the previous function call that I sent works, we should specify a=20 frequency and amplitude. These come right after the carrier parameter in=20 the function call. In the case of white noise, it does not matter what=20 the frequency parameter is, but we can specify the maximum amplitude of=20 the noise. So the below function call is correct, for e.g. an amplitude=20 of 1: s =3D stimulusMake(1,'fcn',[0 1],44100,{'noi'},1,1,'iter',0.005,5); Best, Karl On 3/14/19 10:03 AM, Patricia Bestelmeyer wrote: > > Dear List, > > Would anyone be happy to share Matlab scripts for generating iterated=20 > rippled noises? I=92d like to be able to vary the gain, delay and numbe= r=20 > of ripple iterations if possible. > > Patricia > > ------------------------------------------- > > Patricia E. G. Bestelmeyer, PhD > > School of Psychology > > Bangor University > > Brigantia Building > > LL57 2AS, Bangor, Gwynedd, UK > > Phone: +44 (0)1248 383488 > > *Mae croeso i chi gysylltu gyda'r Brifysgol yn Gymraeg neu Saesneg* > > *You are welcome to contact the University in Welsh or English* > > *Rhif Elusen Gofrestredig 1141565 - Registered Charity No. 1141565* > > Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi,=20 > gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig=20 > gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y=20 > neges e-bost hon trwy gamgymeriad, rhowch wybod i'r anfonwr ar unwaith=20 > a dilewch y neges. Os na fwriadwyd anfon y neges atoch chi, rhaid i=20 > chi beidio a defnyddio, cadw neu ddatgelu unrhyw wybodaeth a gynhwysir=20 > ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i hanfonodd yn=20 > unig ac nid yw o anghenraid yn cynrychioli barn Prifysgol Bangor. Nid=20 > yw Prifysgol Bangor yn gwarantu bod y neges e-bost hon neu unrhyw=20 > atodiadau yn rhydd rhag firysau neu 100% yn ddiogel. Oni bai fod hyn=20 > wedi ei ddatgan yn uniongyrchol yn nhestun yr e-bost, nid bwriad y=20 > neges e-bost hon yw ffurfio contract rhwymol - mae rhestr o lofnodwyr=20 > awdurdodedig ar gael o Swyddfa Cyllid Prifysgol Bangor. > > This email and any attachments may contain confidential material and=20 > is solely for the use of the intended recipient(s). If you have=20 > received this email in error, please notify the sender immediately and=20 > delete this email. If you are not the intended recipient(s), you must=20 > not use, retain or disclose any information contained in this email.=20 > Any views or opinions are solely those of the sender and do not=20 > necessarily represent those of Bangor University. Bangor University=20 > does not guarantee that this email or any attachments are free from=20 > viruses or 100% secure. Unless expressly stated in the body of the=20 > text of the email, this email is not intended to form a binding=20 > contract - a list of authorised signatories is available from the=20 > Bangor University Finance Office. > --------------304C5E9564C94EC5C8DA1025 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by edgeum1.it.mcgill.ca id x2F67YKQ005080 <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1252"> </head> <body text=3D"#000000" bgcolor=3D"#FFFFFF"> <p>Hi Patricia and anyone else interested, <br> </p> <p>An addendum to my previous message: Our function <tt>stimulusMake(= )</tt> also takes a frequency and amplitude for the carrier waveform, so even though the previous function call that I sent works, we should specify a frequency and amplitude. These come right after the carrier parameter in the function call. In the case of white noise, it does not matter what the frequency parameter is, but we can specify the maximum amplitude of the noise. So the below function call is correct, for e.g. an amplitude of 1:</p> <p><tt>s =3D stimulusMake(1,'fcn',[0 1],44100,{'noi'},1,1,'iter',0.005,5);</tt></p> <p>Best,</p> <p>Karl</p> <p><br> </p> <p><br> </p> <p><br> </p> <p><br> </p> <div class=3D"moz-cite-prefix">On 3/14/19 10:03 AM, Patricia Bestelmeyer wrote:<br> </div> <blockquote type=3D"cite" cite=3D"mid:8529_1552623169_5C8B2641_8529_273_1_DB6PR0502MB2950F4B951CF7C= CDC79EE493C04B0@xxxxxxxx"> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1252"> <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @xxxxxxxx {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @xxxxxxxx {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; mso-fareast-language:EN-US;} @xxxxxxxx WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> <div class=3D"WordSection1"> <p class=3D"MsoNormal">Dear List,<o:p></o:p></p> <p class=3D"MsoNormal"><o:p>=A0</o:p></p> <p class=3D"MsoNormal">Would anyone be happy to share Matlab scripts for generating iterated rippled noises? I=92d like to b= e able to vary the gain, delay and number of ripple iterations if possible.<o:p></o:p></p> <p class=3D"MsoNormal"><o:p>=A0</o:p></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-GB"= >Patricia<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-GB"= ><o:p>=A0</o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-GB"= >-------------------------------------------<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-GB"= >Patricia E. G. Bestelmeyer, PhD<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-GB"= >School of Psychology<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-GB"= >Bangor University<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-GB"= >Brigantia Building<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-GB"= >LL57 2AS, Bangor, Gwynedd, UK<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-GB"= >Phone: +44 (0)1248 383488<o:p></o:p></span></p> <p class=3D"MsoNormal"><o:p>=A0</o:p></p> </div> <p>=A0</p> <table width=3D"100%" cellspacing=3D"0" cellpadding=3D"0" border=3D= "0"> <tbody> <tr> <td style=3D"padding:15px 0;" valign=3D"top"> <p><strong>Mae croeso i chi gysylltu gyda'r Brifysgol yn Gymraeg neu Saesneg</strong></p> <p><strong>You are welcome to contact the University in Welsh or English</strong></p> <p><strong>Rhif Elusen Gofrestredig 1141565 - Registered Charity No. 1141565</strong></p> <p>Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi, gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y neges e-bost hon trwy gamgymeriad, rhowch wybod i'r anfonwr ar unwaith a dilewch y neges. Os na fwriadwyd anfon y neges atoch chi, rhaid i chi beidio a defnyddio, cadw neu ddatgelu unrhyw wybodaeth a gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i hanfonodd yn unig ac nid yw o anghenraid yn cynrychioli barn Prifysgol Bangor. Nid yw Prifysgol Bangor yn gwarantu bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu 100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn nhestun yr e-bost, nid bwriad y neges e-bost hon yw ffurfio contract rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa Cyllid Prifysgol Bangor.</p> <p>This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s), you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of Bangor University. Bangor University does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the Bangor University Finance Office.</p> </td> </tr> </tbody> </table> </blockquote> </body> </html> --------------304C5E9564C94EC5C8DA1025--


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