Log In  

Cart #51082 | 2018-03-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

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!

P#50774 2018-03-24 19:36 ( Edited 2018-03-31 00:27)

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.

P#50777 2018-03-24 20:18 ( Edited 2018-03-25 00:19)

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?

P#50778 2018-03-24 20:21 ( Edited 2018-03-25 00:22)

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().

P#50779 2018-03-24 20:25 ( Edited 2018-03-25 00:25)

Thank you for the feedback, Felice. I think your theory is correct and I am working on it!

P#50823 2018-03-25 22:10 ( Edited 2018-03-26 02:10)

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!

P#51083 2018-03-30 20:14 ( Edited 2018-03-31 00:14)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-02-25 23:46:19 | 0.011s | Q:15