Csound Csound-dev Csound-tekno Search About

[Csnd] HRTF issues (hrtf data files modified, unreasonable zipper noise)

Date2020-07-26 08:42
From"Jeanette C."
Subject[Csnd] HRTF issues (hrtf data files modified, unreasonable zipper noise)
Hey hey,
running Csound 6.14 (Arch package 6.14.0-3, built 11.04.2020) I am currently 
running into a lot of trouble.

First, either hrtfearly or hrtfreverb apparently modify the HRTF data files 
(hrtf-48000-left.dat and hrtf-48000-right.dat) spontaneously. I can't say in 
which situation this particularly happens. It seems random. Since running one 
CSD repeatedly (without modification) can do it.

I have currently copied the original files from HRTF-data5.08.zip (can't 
remember the URL). Using diff I see that the files are still untouched, right 
now. But I perceived horrible zipper noise, without the hrtfearly opcode 
complaining about the trajectory.

The relevant movement is designed like this:
; listener in the centre of the room (47 x 53 x 101 metres)
klX init 23.5
klY init 26.5
klZ init 50.5
; Create a spiral
kX oscil 10, .1, -1, 0 ; sine
kY oscil 10, .1, -1, .25 ; cosine
; Move the centre of the circle
kX += klX
kY += klY
kZ line 1, p3, 100 ; line from floor to ceiling

Even with only the X movement the sound is disrupted. As a source I tried both 
the intended noise-based source, as well as a pure sine tone.

Am I missing something? As far as I'm aware the default sine wave for the 
oscil opcode is bipolar, going from -1 to 1 and the kamp parameter only scales 
it.

Any help is appreciated.

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

I'm so curious, what do you think of me <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-07-26 11:03
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] HRTF issues (hrtf data files modified, unreasonable zipper noise)
It is possible that you are using incompatible data files.

I would think it is strange that the code modifies the files. The HRTF opcodes only open files for reading.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 26 Jul 2020, at 08:42, Jeanette C.  wrote:
> 
> *Warning*
> 
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> 
> Hey hey,
> running Csound 6.14 (Arch package 6.14.0-3, built 11.04.2020) I am currently
> running into a lot of trouble.
> 
> First, either hrtfearly or hrtfreverb apparently modify the HRTF data files
> (hrtf-48000-left.dat and hrtf-48000-right.dat) spontaneously. I can't say in
> which situation this particularly happens. It seems random. Since running one
> CSD repeatedly (without modification) can do it.
> 
> I have currently copied the original files from HRTF-data5.08.zip (can't
> remember the URL). Using diff I see that the files are still untouched, right
> now. But I perceived horrible zipper noise, without the hrtfearly opcode
> complaining about the trajectory.
> 
> The relevant movement is designed like this:
> ; listener in the centre of the room (47 x 53 x 101 metres)
> klX init 23.5
> klY init 26.5
> klZ init 50.5
> ; Create a spiral
> kX oscil 10, .1, -1, 0 ; sine
> kY oscil 10, .1, -1, .25 ; cosine
> ; Move the centre of the circle
> kX += klX
> kY += klY
> kZ line 1, p3, 100 ; line from floor to ceiling
> 
> Even with only the X movement the sound is disrupted. As a source I tried both
> the intended noise-based source, as well as a pure sine tone.
> 
> Am I missing something? As far as I'm aware the default sine wave for the
> oscil opcode is bipolar, going from -1 to 1 and the kamp parameter only scales
> it.
> 
> Any help is appreciated.
> 
> Best wishes,
> 
> Jeanette
> 
> --
> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=FqwvmwI534RA%2FqyRfGd6U6B9nF%2FzYr57nQ8YFt2VMEM%3D&reserved=0 - for summer is a state of sound
> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=GaLiU7v5TVedTL9B496vwp2j6MTf1Wbe8SUe5KpC9yE%3D&reserved=0
> * SoundCloud: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsoundcloud.com%2Fjeanette_c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=zqlc1alTLeb71aqU3PwY1SrjlUqJ5xfaLbMwws8kzCg%3D&reserved=0
> * Twitter: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fjeanette_c_s&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Ov9UbWFwyv0RTXSOj0%2BMlAxJQRGx7YRT2jbwxw%2F7S8g%3D&reserved=0
> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=I%2B9YdEijnY7LsCnXDEiewm8FOxqkSPptujtpoFJS%2FZg%3D&reserved=0
> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Ixj1KTDxcXXNiBMvyRR4IeDjmoV6JikvWUVMhpk26LQ%3D&reserved=0
> 
> I'm so curious, what do you think of me <3
> (Britney Spears)
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=ZM8qc6YsTtwIiJ4KpSPT%2FHzoac0hfqM3b9V%2B%2BNrUneg%3D&reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Df2FBf1P93V1NOMxnfS7Yq8M95cj2lhyPyDptr6HI3s%3D&reserved=0
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-07-26 11:07
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] HRTF issues (hrtf data files modified, unreasonable zipper noise)
btw if you have a minimal example demonstrating the opcodes modifying the data files, please open a ticket and we can look at it.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 26 Jul 2020, at 08:42, Jeanette C.  wrote:
> 
> *Warning*
> 
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> 
> Hey hey,
> running Csound 6.14 (Arch package 6.14.0-3, built 11.04.2020) I am currently
> running into a lot of trouble.
> 
> First, either hrtfearly or hrtfreverb apparently modify the HRTF data files
> (hrtf-48000-left.dat and hrtf-48000-right.dat) spontaneously. I can't say in
> which situation this particularly happens. It seems random. Since running one
> CSD repeatedly (without modification) can do it.
> 
> I have currently copied the original files from HRTF-data5.08.zip (can't
> remember the URL). Using diff I see that the files are still untouched, right
> now. But I perceived horrible zipper noise, without the hrtfearly opcode
> complaining about the trajectory.
> 
> The relevant movement is designed like this:
> ; listener in the centre of the room (47 x 53 x 101 metres)
> klX init 23.5
> klY init 26.5
> klZ init 50.5
> ; Create a spiral
> kX oscil 10, .1, -1, 0 ; sine
> kY oscil 10, .1, -1, .25 ; cosine
> ; Move the centre of the circle
> kX += klX
> kY += klY
> kZ line 1, p3, 100 ; line from floor to ceiling
> 
> Even with only the X movement the sound is disrupted. As a source I tried both
> the intended noise-based source, as well as a pure sine tone.
> 
> Am I missing something? As far as I'm aware the default sine wave for the
> oscil opcode is bipolar, going from -1 to 1 and the kamp parameter only scales
> it.
> 
> Any help is appreciated.
> 
> Best wishes,
> 
> Jeanette
> 
> --
> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=FqwvmwI534RA%2FqyRfGd6U6B9nF%2FzYr57nQ8YFt2VMEM%3D&reserved=0 - for summer is a state of sound
> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=GaLiU7v5TVedTL9B496vwp2j6MTf1Wbe8SUe5KpC9yE%3D&reserved=0
> * SoundCloud: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsoundcloud.com%2Fjeanette_c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=zqlc1alTLeb71aqU3PwY1SrjlUqJ5xfaLbMwws8kzCg%3D&reserved=0
> * Twitter: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fjeanette_c_s&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Ov9UbWFwyv0RTXSOj0%2BMlAxJQRGx7YRT2jbwxw%2F7S8g%3D&reserved=0
> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=I%2B9YdEijnY7LsCnXDEiewm8FOxqkSPptujtpoFJS%2FZg%3D&reserved=0
> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Ixj1KTDxcXXNiBMvyRR4IeDjmoV6JikvWUVMhpk26LQ%3D&reserved=0
> 
> I'm so curious, what do you think of me <3
> (Britney Spears)
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=ZM8qc6YsTtwIiJ4KpSPT%2FHzoac0hfqM3b9V%2B%2BNrUneg%3D&reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Df2FBf1P93V1NOMxnfS7Yq8M95cj2lhyPyDptr6HI3s%3D&reserved=0
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-07-26 11:19
From"Jeanette C."
SubjectRe: [Csnd] [EXTERNAL] [Csnd] HRTF issues (hrtf data files modified, unreasonable zipper noise)
Jul 26 2020, Victor Lazzarini has written:

> btw if you have a minimal example demonstrating the opcodes modifying the data files, please open a ticket and we can look at it.
That exactly is the problem. It doesn't seem reproducible, very random.

It shouldn't be my disk, since I don't have issues with other files
being disrupted, and the diskk has been changed. This issue has been
there for a while.

How can the HRTF data files be incompatible? As far as I'm aware there
is only one package. Isn't there?

Best wishes,

Jeanette
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 26 Jul 2020, at 08:42, Jeanette C.  wrote:
>>
>> *Warning*
>>
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>
>> Hey hey,
>> running Csound 6.14 (Arch package 6.14.0-3, built 11.04.2020) I am currently
>> running into a lot of trouble.
>>
>> First, either hrtfearly or hrtfreverb apparently modify the HRTF data files
>> (hrtf-48000-left.dat and hrtf-48000-right.dat) spontaneously. I can't say in
>> which situation this particularly happens. It seems random. Since running one
>> CSD repeatedly (without modification) can do it.
>>
>> I have currently copied the original files from HRTF-data5.08.zip (can't
>> remember the URL). Using diff I see that the files are still untouched, right
>> now. But I perceived horrible zipper noise, without the hrtfearly opcode
>> complaining about the trajectory.
>>
>> The relevant movement is designed like this:
>> ; listener in the centre of the room (47 x 53 x 101 metres)
>> klX init 23.5
>> klY init 26.5
>> klZ init 50.5
>> ; Create a spiral
>> kX oscil 10, .1, -1, 0 ; sine
>> kY oscil 10, .1, -1, .25 ; cosine
>> ; Move the centre of the circle
>> kX += klX
>> kY += klY
>> kZ line 1, p3, 100 ; line from floor to ceiling
>>
>> Even with only the X movement the sound is disrupted. As a source I tried both
>> the intended noise-based source, as well as a pure sine tone.
>>
>> Am I missing something? As far as I'm aware the default sine wave for the
>> oscil opcode is bipolar, going from -1 to 1 and the kamp parameter only scales
>> it.
>>
>> Any help is appreciated.
>>
>> Best wishes,
>>
>> Jeanette
>>
>> --
>> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=FqwvmwI534RA%2FqyRfGd6U6B9nF%2FzYr57nQ8YFt2VMEM%3D&reserved=0 - for summer is a state of sound
>> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=GaLiU7v5TVedTL9B496vwp2j6MTf1Wbe8SUe5KpC9yE%3D&reserved=0
>> * SoundCloud: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsoundcloud.com%2Fjeanette_c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=zqlc1alTLeb71aqU3PwY1SrjlUqJ5xfaLbMwws8kzCg%3D&reserved=0
>> * Twitter: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fjeanette_c_s&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Ov9UbWFwyv0RTXSOj0%2BMlAxJQRGx7YRT2jbwxw%2F7S8g%3D&reserved=0
>> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=I%2B9YdEijnY7LsCnXDEiewm8FOxqkSPptujtpoFJS%2FZg%3D&reserved=0
>> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Ixj1KTDxcXXNiBMvyRR4IeDjmoV6JikvWUVMhpk26LQ%3D&reserved=0
>>
>> I'm so curious, what do you think of me <3
>> (Britney Spears)
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=ZM8qc6YsTtwIiJ4KpSPT%2FHzoac0hfqM3b9V%2B%2BNrUneg%3D&reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Df2FBf1P93V1NOMxnfS7Yq8M95cj2lhyPyDptr6HI3s%3D&reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

You know I'm one of a kind,
There'll never be another me <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-07-26 11:29
From"Jeanette C."
SubjectRe: [Csnd] [EXTERNAL] [Csnd] HRTF issues (hrtf data files modified, unreasonable zipper noise)
Jul 26 2020, Victor Lazzarini has written:

> It is possible that you are using incompatible data files.
Apparently I was. I just downloaded the files from github posted here in
March:
https://github.com/csound/csound/tree/develop/samples
and it works. Strange that this issue really came to light just now.

Main thing: it works, thanks for pointing it out!

Best wishes,

Jeanette
>
> I would think it is strange that the code modifies the files. The HRTF opcodes only open files for reading.
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 26 Jul 2020, at 08:42, Jeanette C.  wrote:
>>
>> *Warning*
>>
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>
>> Hey hey,
>> running Csound 6.14 (Arch package 6.14.0-3, built 11.04.2020) I am currently
>> running into a lot of trouble.
>>
>> First, either hrtfearly or hrtfreverb apparently modify the HRTF data files
>> (hrtf-48000-left.dat and hrtf-48000-right.dat) spontaneously. I can't say in
>> which situation this particularly happens. It seems random. Since running one
>> CSD repeatedly (without modification) can do it.
>>
>> I have currently copied the original files from HRTF-data5.08.zip (can't
>> remember the URL). Using diff I see that the files are still untouched, right
>> now. But I perceived horrible zipper noise, without the hrtfearly opcode
>> complaining about the trajectory.
>>
>> The relevant movement is designed like this:
>> ; listener in the centre of the room (47 x 53 x 101 metres)
>> klX init 23.5
>> klY init 26.5
>> klZ init 50.5
>> ; Create a spiral
>> kX oscil 10, .1, -1, 0 ; sine
>> kY oscil 10, .1, -1, .25 ; cosine
>> ; Move the centre of the circle
>> kX += klX
>> kY += klY
>> kZ line 1, p3, 100 ; line from floor to ceiling
>>
>> Even with only the X movement the sound is disrupted. As a source I tried both
>> the intended noise-based source, as well as a pure sine tone.
>>
>> Am I missing something? As far as I'm aware the default sine wave for the
>> oscil opcode is bipolar, going from -1 to 1 and the kamp parameter only scales
>> it.
>>
>> Any help is appreciated.
>>
>> Best wishes,
>>
>> Jeanette
>>
>> --
>> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=FqwvmwI534RA%2FqyRfGd6U6B9nF%2FzYr57nQ8YFt2VMEM%3D&reserved=0 - for summer is a state of sound
>> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=GaLiU7v5TVedTL9B496vwp2j6MTf1Wbe8SUe5KpC9yE%3D&reserved=0
>> * SoundCloud: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsoundcloud.com%2Fjeanette_c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=zqlc1alTLeb71aqU3PwY1SrjlUqJ5xfaLbMwws8kzCg%3D&reserved=0
>> * Twitter: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fjeanette_c_s&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Ov9UbWFwyv0RTXSOj0%2BMlAxJQRGx7YRT2jbwxw%2F7S8g%3D&reserved=0
>> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=I%2B9YdEijnY7LsCnXDEiewm8FOxqkSPptujtpoFJS%2FZg%3D&reserved=0
>> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Ixj1KTDxcXXNiBMvyRR4IeDjmoV6JikvWUVMhpk26LQ%3D&reserved=0
>>
>> I'm so curious, what do you think of me <3
>> (Britney Spears)
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=ZM8qc6YsTtwIiJ4KpSPT%2FHzoac0hfqM3b9V%2B%2BNrUneg%3D&reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&sdata=Df2FBf1P93V1NOMxnfS7Yq8M95cj2lhyPyDptr6HI3s%3D&reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

You know I'm one of a kind,
There'll never be another me <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2020-07-28 10:50
FromJosh Moore
SubjectRe: [Csnd] [EXTERNAL] [Csnd] HRTF issues (hrtf data files modified, unreasonable zipper noise)
I vaguely remember the HRTF opcodes being discussed as broken about that long ago but I can't remember what it was about. But they seemed a bit legacy to me I opt for ambisonics for 3d stuff. 

On Sun, Jul 26, 2020, 3:28 AM Jeanette C. <julien@mail.upb.de> wrote:
Jul 26 2020, Victor Lazzarini has written:

> It is possible that you are using incompatible data files.
Apparently I was. I just downloaded the files from github posted here in
March:
https://github.com/csound/csound/tree/develop/samples
and it works. Strange that this issue really came to light just now.

Main thing: it works, thanks for pointing it out!

Best wishes,

Jeanette
>
> I would think it is strange that the code modifies the files. The HRTF opcodes only open files for reading.
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 26 Jul 2020, at 08:42, Jeanette C. <julien@mail.upb.de> wrote:
>>
>> *Warning*
>>
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>
>> Hey hey,
>> running Csound 6.14 (Arch package 6.14.0-3, built 11.04.2020) I am currently
>> running into a lot of trouble.
>>
>> First, either hrtfearly or hrtfreverb apparently modify the HRTF data files
>> (hrtf-48000-left.dat and hrtf-48000-right.dat) spontaneously. I can't say in
>> which situation this particularly happens. It seems random. Since running one
>> CSD repeatedly (without modification) can do it.
>>
>> I have currently copied the original files from HRTF-data5.08.zip (can't
>> remember the URL). Using diff I see that the files are still untouched, right
>> now. But I perceived horrible zipper noise, without the hrtfearly opcode
>> complaining about the trajectory.
>>
>> The relevant movement is designed like this:
>> ; listener in the centre of the room (47 x 53 x 101 metres)
>> klX init 23.5
>> klY init 26.5
>> klZ init 50.5
>> ; Create a spiral
>> kX oscil 10, .1, -1, 0 ; sine
>> kY oscil 10, .1, -1, .25 ; cosine
>> ; Move the centre of the circle
>> kX += klX
>> kY += klY
>> kZ line 1, p3, 100 ; line from floor to ceiling
>>
>> Even with only the X movement the sound is disrupted. As a source I tried both
>> the intended noise-based source, as well as a pure sine tone.
>>
>> Am I missing something? As far as I'm aware the default sine wave for the
>> oscil opcode is bipolar, going from -1 to 1 and the kamp parameter only scales
>> it.
>>
>> Any help is appreciated.
>>
>> Best wishes,
>>
>> Jeanette
>>
>> --
>> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=FqwvmwI534RA%2FqyRfGd6U6B9nF%2FzYr57nQ8YFt2VMEM%3D&amp;reserved=0 - for summer is a state of sound
>> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=GaLiU7v5TVedTL9B496vwp2j6MTf1Wbe8SUe5KpC9yE%3D&amp;reserved=0
>> * SoundCloud: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsoundcloud.com%2Fjeanette_c&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=zqlc1alTLeb71aqU3PwY1SrjlUqJ5xfaLbMwws8kzCg%3D&amp;reserved=0
>> * Twitter: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fjeanette_c_s&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=Ov9UbWFwyv0RTXSOj0%2BMlAxJQRGx7YRT2jbwxw%2F7S8g%3D&amp;reserved=0
>> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=I%2B9YdEijnY7LsCnXDEiewm8FOxqkSPptujtpoFJS%2FZg%3D&amp;reserved=0
>> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=Ixj1KTDxcXXNiBMvyRR4IeDjmoV6JikvWUVMhpk26LQ%3D&amp;reserved=0
>>
>> I'm so curious, what do you think of me <3
>> (Britney Spears)
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=ZM8qc6YsTtwIiJ4KpSPT%2FHzoac0hfqM3b9V%2B%2BNrUneg%3D&amp;reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=Df2FBf1P93V1NOMxnfS7Yq8M95cj2lhyPyDptr6HI3s%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

--
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

You know I'm one of a kind,
There'll never be another me <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2020-07-28 13:36
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] HRTF issues (hrtf data files modified, unreasonable zipper noise)
They are certainly not broken and they are not legacy. It's a different use case
to ambisonics (multichannel versus binaural)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 28 Jul 2020, at 10:50, Josh Moore <kh405.7h30ry@gmail.com> wrote:


I vaguely remember the HRTF opcodes being discussed as broken about that long ago but I can't remember what it was about. But they seemed a bit legacy to me I opt for ambisonics for 3d stuff. 

On Sun, Jul 26, 2020, 3:28 AM Jeanette C. <julien@mail.upb.de> wrote:
Jul 26 2020, Victor Lazzarini has written:

> It is possible that you are using incompatible data files.
Apparently I was. I just downloaded the files from github posted here in
March:
https://github.com/csound/csound/tree/develop/samples
and it works. Strange that this issue really came to light just now.

Main thing: it works, thanks for pointing it out!

Best wishes,

Jeanette
>
> I would think it is strange that the code modifies the files. The HRTF opcodes only open files for reading.
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 26 Jul 2020, at 08:42, Jeanette C. <julien@mail.upb.de> wrote:
>>
>> *Warning*
>>
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>
>> Hey hey,
>> running Csound 6.14 (Arch package 6.14.0-3, built 11.04.2020) I am currently
>> running into a lot of trouble.
>>
>> First, either hrtfearly or hrtfreverb apparently modify the HRTF data files
>> (hrtf-48000-left.dat and hrtf-48000-right.dat) spontaneously. I can't say in
>> which situation this particularly happens. It seems random. Since running one
>> CSD repeatedly (without modification) can do it.
>>
>> I have currently copied the original files from HRTF-data5.08.zip (can't
>> remember the URL). Using diff I see that the files are still untouched, right
>> now. But I perceived horrible zipper noise, without the hrtfearly opcode
>> complaining about the trajectory.
>>
>> The relevant movement is designed like this:
>> ; listener in the centre of the room (47 x 53 x 101 metres)
>> klX init 23.5
>> klY init 26.5
>> klZ init 50.5
>> ; Create a spiral
>> kX oscil 10, .1, -1, 0 ; sine
>> kY oscil 10, .1, -1, .25 ; cosine
>> ; Move the centre of the circle
>> kX += klX
>> kY += klY
>> kZ line 1, p3, 100 ; line from floor to ceiling
>>
>> Even with only the X movement the sound is disrupted. As a source I tried both
>> the intended noise-based source, as well as a pure sine tone.
>>
>> Am I missing something? As far as I'm aware the default sine wave for the
>> oscil opcode is bipolar, going from -1 to 1 and the kamp parameter only scales
>> it.
>>
>> Any help is appreciated.
>>
>> Best wishes,
>>
>> Jeanette
>>
>> --
>> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=FqwvmwI534RA%2FqyRfGd6U6B9nF%2FzYr57nQ8YFt2VMEM%3D&amp;reserved=0 - for summer is a state of sound
>> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=GaLiU7v5TVedTL9B496vwp2j6MTf1Wbe8SUe5KpC9yE%3D&amp;reserved=0
>> * SoundCloud: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsoundcloud.com%2Fjeanette_c&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=zqlc1alTLeb71aqU3PwY1SrjlUqJ5xfaLbMwws8kzCg%3D&amp;reserved=0
>> * Twitter: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fjeanette_c_s&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=Ov9UbWFwyv0RTXSOj0%2BMlAxJQRGx7YRT2jbwxw%2F7S8g%3D&amp;reserved=0
>> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=I%2B9YdEijnY7LsCnXDEiewm8FOxqkSPptujtpoFJS%2FZg%3D&amp;reserved=0
>> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=Ixj1KTDxcXXNiBMvyRR4IeDjmoV6JikvWUVMhpk26LQ%3D&amp;reserved=0
>>
>> I'm so curious, what do you think of me <3
>> (Britney Spears)
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=ZM8qc6YsTtwIiJ4KpSPT%2FHzoac0hfqM3b9V%2B%2BNrUneg%3D&amp;reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=Df2FBf1P93V1NOMxnfS7Yq8M95cj2lhyPyDptr6HI3s%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

--
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

You know I'm one of a kind,
There'll never be another me <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2021-09-13 22:18
FromPartev Sarkissian <0000060b2ef1338e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] [Csnd] HRTF issues (hrtf data files modified, unreasonable zipper noise)

In hardware, zipper noise is a result of an RC filter on a volume control is at
an RC time constant controlling a digital gain block, that doesn't sufficiently filter.
Usually the control rate verses the sample rate issue.

In an all digital domain, I would think that it's a audio-rate/control-rate/sample-rate
proportional issue (a-rate/k-rate/s-rate). With HRTF, maybe source movement adjust
rate may also be involved.

Anyway, just spitballing here, as they say.



-PBS

-----Original Message-----
From: Victor Lazzarini <Victor.Lazzarini@MU.IE>
To: CSOUND@LISTSERV.HEANET.IE
Sent: Tue, Jul 28, 2020 5:36 am
Subject: Re: [Csnd] [EXTERNAL] [Csnd] HRTF issues (hrtf data files modified, unreasonable zipper noise)

They are certainly not broken and they are not legacy. It's a different use case
to ambisonics (multichannel versus binaural)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 28 Jul 2020, at 10:50, Josh Moore <kh405.7h30ry@gmail.com> wrote:


I vaguely remember the HRTF opcodes being discussed as broken about that long ago but I can't remember what it was about. But they seemed a bit legacy to me I opt for ambisonics for 3d stuff. 

On Sun, Jul 26, 2020, 3:28 AM Jeanette C. <julien@mail.upb.de> wrote:
Jul 26 2020, Victor Lazzarini has written:

> It is possible that you are using incompatible data files.
Apparently I was. I just downloaded the files from github posted here in
March:
https://github.com/csound/csound/tree/develop/samples
and it works. Strange that this issue really came to light just now.

Main thing: it works, thanks for pointing it out!

Best wishes,

Jeanette
>
> I would think it is strange that the code modifies the files. The HRTF opcodes only open files for reading.
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 26 Jul 2020, at 08:42, Jeanette C. <julien@mail.upb.de> wrote:
>>
>> *Warning*
>>
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>
>> Hey hey,
>> running Csound 6.14 (Arch package 6.14.0-3, built 11.04.2020) I am currently
>> running into a lot of trouble.
>>
>> First, either hrtfearly or hrtfreverb apparently modify the HRTF data files
>> (hrtf-48000-left.dat and hrtf-48000-right.dat) spontaneously. I can't say in
>> which situation this particularly happens. It seems random. Since running one
>> CSD repeatedly (without modification) can do it.
>>
>> I have currently copied the original files from HRTF-data5.08.zip (can't
>> remember the URL). Using diff I see that the files are still untouched, right
>> now. But I perceived horrible zipper noise, without the hrtfearly opcode
>> complaining about the trajectory.
>>
>> The relevant movement is designed like this:
>> ; listener in the centre of the room (47 x 53 x 101 metres)
>> klX init 23.5
>> klY init 26.5
>> klZ init 50.5
>> ; Create a spiral
>> kX oscil 10, .1, -1, 0 ; sine
>> kY oscil 10, .1, -1, .25 ; cosine
>> ; Move the centre of the circle
>> kX += klX
>> kY += klY
>> kZ line 1, p3, 100 ; line from floor to ceiling
>>
>> Even with only the X movement the sound is disrupted. As a source I tried both
>> the intended noise-based source, as well as a pure sine tone.
>>
>> Am I missing something? As far as I'm aware the default sine wave for the
>> oscil opcode is bipolar, going from -1 to 1 and the kamp parameter only scales
>> it.
>>
>> Any help is appreciated.
>>
>> Best wishes,
>>
>> Jeanette
>>
>> --
>> * Website: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjuliencoder.de%2F&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=FqwvmwI534RA%2FqyRfGd6U6B9nF%2FzYr57nQ8YFt2VMEM%3D&amp;reserved=0 - for summer is a state of sound
>> * Youtube: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fchannel%2FUCMS4rfGrTwz8W7jhC1Jnv7g&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=GaLiU7v5TVedTL9B496vwp2j6MTf1Wbe8SUe5KpC9yE%3D&amp;reserved=0
>> * SoundCloud: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsoundcloud.com%2Fjeanette_c&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=zqlc1alTLeb71aqU3PwY1SrjlUqJ5xfaLbMwws8kzCg%3D&amp;reserved=0
>> * Twitter: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fjeanette_c_s&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=Ov9UbWFwyv0RTXSOj0%2BMlAxJQRGx7YRT2jbwxw%2F7S8g%3D&amp;reserved=0
>> * Audiobombs: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.audiobombs.com%2Fusers%2Fjeanette_c&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=I%2B9YdEijnY7LsCnXDEiewm8FOxqkSPptujtpoFJS%2FZg%3D&amp;reserved=0
>> * GitHub: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanette-c&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=Ixj1KTDxcXXNiBMvyRR4IeDjmoV6JikvWUVMhpk26LQ%3D&amp;reserved=0
>>
>> I'm so curious, what do you think of me <3
>> (Britney Spears)
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=ZM8qc6YsTtwIiJ4KpSPT%2FHzoac0hfqM3b9V%2B%2BNrUneg%3D&amp;reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C609cd4d637064c84c8e208d8313774e3%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637313461541646309&amp;sdata=Df2FBf1P93V1NOMxnfS7Yq8M95cj2lhyPyDptr6HI3s%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

--
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

You know I'm one of a kind,
There'll never be another me <3

(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here