Skip to content

tasos-a/SonOpt-2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SonOpt-2.0

Hi! This is SonOpt 2.0, a Max/MSP application for sonifying bi-objective population-based optimization algorithms.

Requirements:

Optional (in case you want to run the test algorithms provided here without further modification):

If you do not wish to use pymoo - although we highy recommend it - you are free to do so. In this case, you are encouraged to copy and paste in your code the snippet 'Message formatting and OSC setup'. This is to ensure a smooth communication between SonOpt and your algorithm, including the correct formatting of the values sent to MAX/MSP. You might notice the 'sleep' function at the end of each generation. The purpose of this is to intentionally slow down the algorithm in order to create perceivable sonic results. We recommend using a minimum of 0.3 sec between generations so that there is no sound lag, however this varies with the population number.

A few instruction on how to use SonOpt:

Please download all the files in the directory. Run the file named 'SonOpt 2.0.maxproj' within the project folder named 'SonOpt 2.0' (do not move it elsewhere). In the folder named 'test algorithms' you will find three optimization algorithms (NSGA-II, MOEA/D and MRS).

Open SonOpt, turn on sound, and then run the Python script of the algorithm you want to test.

Both SonOpt and the algorithms are initiallized to run out of the box. If you want to tweak the parameters you can, but in this case please consult the paper.

Enjoy!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published