Charlie needs help. He doesn't understand music. To learn about it, he has built a machine that can make sounds. He will have to teach his neural network (music brain) how to make musical sounds.
When he starts the machine for the first time, it will make a random sound. To hear this sound again he can press the green PLAY button. To reward the machine for playing something sort of musical, he can press the red LEARN button. This will modify the brain and a new sound will play, usually similar to the first but not always. If the new sound is still "musical," he can press LEARN again to get more creative. To save this brain to the cartdata, he can press the gray SAVE button.
If the brain is not making musical sounds, he can modify any node directly by moving on top of it, pushing the value up or down with the buttons. The weights of the nodes and edges are represented by color patterns. The first column of nodes are input nodes. Modify them and press play to get a new sound from the machine using the current brain, without changing any connections. The middle column are learning nodes. Modify them and press learn for chaotic, unpredictable behavior. Pressing play will reset them. The right column are output nodes associated with instruments, pitches, envelopes, volumes, speed, and loop length, respectively. Modify these to be what you believe they should be and press learn to train the brain to produce those outputs when given the current inputs. (left column)
Good luck have fun!
Either I'm doing something wrong, or the play button isn't working. Nothing happens when I use it. I can muck with the nodes and with the Learn and Save buttons, but nothing happens when I hit Play.
I'm getting a quiet background bup-bup-bip sound looping, so I know it's not muted. It never changes though.
Oh, I re-ran it and now it's a loud random noise running constantly, but again, the Play button doesn't seem to have anything to do with it.
Is the sequence it plays really long, maybe?
Okay, I've just realized something. When I hit the Save button in the web version, it overwrote the actual web cart and now the sprite sheet is missing, as you discovered earlier. I think you're saving the sfx to the wrong place with cstore().
Thank you for the feedback, Felice. I think your theory is correct and I am working on it!
OK! I've updated this cart to fix the SAVE bug and also changed some things. Let me know if you create any cool sounds!
[Please log in to post a comment]