Skip to main content

Generative Music with Stochastic Diffusion Search

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9027))

Abstract

This paper introduces an approach for using a swarm intelligence algorithm, Stochastic Diffusion Search (SDS) – inspired by one species of ants, Leptothorax acervorum – in order to generate music from plain text. In this approach, SDS is adapted in such a way to vocalise the agents, to hear their “chit-chat”. While the generated music depends on the input text, the algorithm’s search capability in locating the words in the input text is reflected in the duration and dynamic of the resulting musical notes. In other words, the generated music depends on the behaviour of the algorithm and the communication between its agents. This novel approach, while staying loyal to the original input text, when run each time, ‘vocalises’ the input text in varying ‘flavours’.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    Follow this link to listen to three runs of the music generated by the algorithm based on the input text ‘hello music sds welcome to the reality’: https://www.dropbox.com/s/bh4icqsdlpz04re/SDSMusic.zip?dl=0.

  2. 2.

    While different, the similarities between all three music sheets are evident. In every run, the differences in note values and rest values are noticeable (i.e. by comparing all the first bars of all the three runs with each other, you can see how the note values are different and also there is one rest value in the third run).

References

  1. Eberhart, R., Kennedy, J.: A new optimizer using particle swarm theory. In: Proceedings of the Sixth International Symposium on Micro Machine and Human Science, vol. 43. IEEE, New York (1995)

    Google Scholar 

  2. Goldberg, D.E.: Genetic Algorithms in Search. Optimization and Machine Learning. Addison-Wesley Longman Publishing Co., Inc., Boston (1989)

    MATH  Google Scholar 

  3. Dorigo, M., Birattari, M., Stutzle, T.: Ant colony optimization. IEEE Comput. Intell. Mag. 1(4), 28–39 (2006)

    Article  Google Scholar 

  4. Miranda, E.R., Al Biles, J.: Evolutionary Computer Music. Springer, London (2007)

    Book  Google Scholar 

  5. Al-Rifaie, M.M., Bishop, M.: Stochastic diffusion search review. Paladyn J. Behav. Rob. 4, 155–173 (2013)

    Google Scholar 

  6. Bishop, J.: Stochastic searching networks. In: Proceedings of the 1st IEE Conference on Artificial Neural Networks, London, pp. 329–331 (1989)

    Google Scholar 

  7. Möglich, M., Maschwitz, U., Hölldobler, B.: Tandem calling: a new kind of signal in ant communication. Science 186(4168), 1046–1047 (1974)

    Article  Google Scholar 

  8. Blackwell, T.: Swarming and music. In: Miranda, E.R., Al-Biles, J. (eds.) Evolutionary Computer Music, pp. 194–217. Springer, London (2007)

    Chapter  Google Scholar 

  9. Tokui, N., Iba, H.: Music composition with interactive evolutionary computation. In: Proceedings of the 3rd International Conference on Generative Art, vol. 17, pp. 215–226 (2000)

    Google Scholar 

  10. Herber., N.: Experiments with particle swarm optimization (2004–2011). http://www.x-tet.com/pf2004-10/pso.html

  11. Alt, F., Pfleging, B., Schmidt, A.: Sonify-a platform for the sonification of text messages. In: Mensch & Computer, pp. 149–158 (2013)

    Google Scholar 

  12. Zim, H.S.: Codes and Secret Writing. W. Morrow, New York (1948)

    Google Scholar 

  13. Brown, A.R.: Sound Musicianship: Understanding the Crafts of Music, vol. 4. Cambridge Scholars Publishing, Newcastle upon Tyne (2012)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Asmaa Majid Al-Rifaie .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Al-Rifaie, A.M., Al-Rifaie, M.M. (2015). Generative Music with Stochastic Diffusion Search. In: Johnson, C., Carballal, A., Correia, J. (eds) Evolutionary and Biologically Inspired Music, Sound, Art and Design. EvoMUSART 2015. Lecture Notes in Computer Science(), vol 9027. Springer, Cham. https://doi.org/10.1007/978-3-319-16498-4_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-16498-4_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-16497-7

  • Online ISBN: 978-3-319-16498-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics