Hearing Test with max?

Jun 15, 2012 at 8:46pm

Hearing Test with max?

Hi everyone,

I am putting together a simple experiment in which I have a list of specific frequencies: 20 25 31.5 40 50 63 80 100 125 160 200 250 315 400 500 630 800 1000 1250 1600 2000 2500 3150 4000 5000 6300 8000 10000 12500

And basically what I want is to have the list in an array / table so that I can randomly select a single value from the list, have it play that frequency. The premise is that once I have selected that audible frequency I want to increase the volume level until it becomes uncomfortable. Once you have reached this threshold you can save that frequency and the volume level to file and listen to another frequency (randomly).

I have looked into the urn, select, table, and random object but I can’t get it to work the way I wanted it to….any help would be appreciated :-)



Jun 15, 2012 at 10:53pm

You could save your list into a coll object and randomly select a frequency from that. Also, I would suggest that you might have trouble producing anything below about 80Hz to a degree where it becomes uncomfortable without a serious amount of subs (obviously dependent on the space you are using them in)


Jun 15, 2012 at 10:56pm
– Pasted Max Patch, click to expand. –

hth o

Jun 15, 2012 at 11:16pm

This gets you as far as getting the frequency and amplitude. Now how you then save the frequency/amplitude pairs in a table or list, I’m not sure of the best way to do that.

– Pasted Max Patch, click to expand. –
Jun 17, 2012 at 2:10am

Thanks a lot guys! You both rock. I think I can manage getting the data saved to file based on the examples you have created. If you have any questions I will let you know.

Once again, thanks for helping out :-)


Jun 18, 2012 at 10:22pm

I did some more work on it- and be surprised how quickly things are going complex… maybe you can use something :-)

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.