|
|
In Search of Sudokus with Good Alignment Properties for Musical Composition!! Final Class Project in ISE575c, Spring 2007 by Dolly Dhariwal |
This concept was proposed by Professor Tamar Diesendruck; visiting Associate Professor of Composition at USC; and the project was guided by Professor Elaine Chew; Associate Professor of Multimedia, Human Cognition and Music at USC. The whole idea of the project is to generate music using a sudoku grid and find out the alignments in the sudoku grid. This experiment will be used by Professor Tamar and Professor Elaine to find a pattern in the music generation by sudoku. I don't know much about music but when I hear these sudoku play. I find some sudoku play according to a pattern and generate a new idea. In some sudokus it seems the same pattern in repeating. Which makes me think that there is some kind of relation in these random numbers. Lets see what the reasearch results into.
Sudoku is a logic-based number placement puzzle. The objective of that grid is to fill 9*9 grid so that each column, each row and each of the nine 3*3 boxes contain the digits from 1 to 9. Now we use this sudoku grid to generate music. We assign each number a piece of music, which means we have 9 pieces of music each related to number 1 to 9. Now to Play the sudoku grid it means that we will take each row one by one and play music piece related to each number in that row continuously. Each sudoku will play for the same time as each row will play for the same time. The time span of the piece related to each number follows a simple arithmetic progression. for example, the piece for number 1 will play for 5 seconds, for number 2 will play for 6 seconds, for number 3 will play for 7 seconds and so on. | ![]() |
Let us take the first 3 rows of the shown sudoku grid. If we sum up each row it will result in
45. As the sum of first n numbers is n(n+1)/2. So if we each number a color then we will see that 1st
and the second row coincide on 25th beat and 33rd beat. So we will count them as 2 alignments.
Now we see that 1st and 3rd row coincide at 18th and 25th beat. So far we see that there are 4 alignments.
This way we check for each row how many alignments are there and sum them up. | ![]() |
This program is written in PERL CGI scripts. It reuires IE explorer browser to play the sudokus. If one wishes to run it in firefox it will require different plugins
to be installed to play midi files. It doesnot require any other environment or software to run.
|
1. First it would be good to hear all the pieces of music related to each number for that select the number
and click on "play number". If you wish to stop the music in between click on "Stop number". |
1. The concept as mentioned was given by Professor Tamar Diesendruck. |
Copyright (c) 2007 Dolly Dhariwal