Preferences

Very cool. Inspired by the post, I gave the following prompt to Gemini 2.5 Pro with the temperature set to 0.35:

“Create a music synthesizer that I can run in my browser. Give it original functionality, with buttons and other controls that create pleasing but unexpected sounds, melodies, rhythmic patterns, etc. as well as various sliders and dials that can be used to modify the sounds and patterns.”

Here is the result:

https://www.gally.net/temp/202540326geminisynthesizer/index....

Here’s an excerpt from the reasoning trace:

> Brainstorm "Original" and "Unexpected" Functionality:

> Standard Synths: Oscillators (sine, square, saw, triangle), filters (lowpass, highpass), envelopes (ADSR), LFOs. These are common. How to make them unexpected?

> Generative Aspects: Instead of just playing notes the user clicks, what if the synth generates patterns?

> Melody Generation: Use algorithms like random walks, cellular automata, or simple probability rules.

> Rhythm Generation: Euclidean rhythms, probabilistic triggers, evolving patterns. ...

> Interface Concept: How can the controls themselves be part of the "unexpected" experience? Buttons that trigger complex events, sliders with non-linear responses, dials that control abstract concepts.


After sleeping on the above and watching some videos about Gemini 2.5 (especially Sam Witteveen’s at [1]), I decided to ask Gemini for an enhanced version of the synthesizer. Here it is:

https://www.gally.net/temp/202540327geminisynthesizer-v2/ind...

This was the prompt I gave to it (through a spoken interface, thus the length and repetition):

“Attached is a website I had you create for me yesterday based on the prompt that appears in another attached file. In that latter file I've also included your thinking process in response to my prompt as well as your explanation to me of how this synthesizer is supposed to work. I am basically happy with the synthesizer you created for me. It works very well, and the output is fascinating to listen to. But I would like the music produced by it to be more melodical and contrapuntal, that is, with more distinct notes that can be perceived forming melodies while still having the random and unexpected and creative generation of those melodies. I would also like to have a broader frequency range of tones that are being produced. For example it would be nice to have something like a bass line. Continue to make the music unexpected and creative and generative. That was one aspect of the music that was very positive for the first result: the fact that I could keep listening to the produced music for a long period of time and not get bored by it. So try to make the tone soundscape richer, more complex and with more sense of melody and counterpoint. Also add any more controls you can think of to make the, to give the user even more ways in which to affect the output, such as more fine tuning on the degree of tonality vs. atonality, conventional harmonic structures vs. unconventional harmonic structures, clear rhythmic patterns vs. unconventional rhythmic patterns, etc.”

The first result had a lot of digital clipping in the output on my M1 Mac mini. After some back and forth with Gemini about possible causes and solutions, it added a limiter and some more controls. The problem persists on the Mac mini. On my M4 iPad with Safari, the sound is clean. I kind of like it.

[1] https://www.youtube.com/watch?v=B3wLYDl2SmQ

I don't know what it was but this made my dog go nuts.
Is there something like "Claude Code" for Gemini? Or do you have to manually copy/paste the code in files?
Check out Aider [0] or Anon Kode [1] (clone of Claude Code). New models are why I try to build all my tools and infra to be model-independent. On that note, I also prefer to be provider-independent, using OpenRouter [2] or T3 Chat [3] and the like.

[0] https://aider.chat/ [1] https://github.com/dnakov/anon-kode [2] https://openrouter.ai/ [3] https://t3.chat/

OpenRouter is great for trying new models but I wouldn't use it long term since they add their cut on top of the provider's pricing.
You can also use the "fabric" CLI tool with its new "code_helper" functionality:

https://github.com/danielmiessler/fabric?tab=readme-ov-file#...

This is more rudimentary and works on the CLI, but I've had good results with it using both Gemini Pro and local models.

There is an Open-Source tool named Aider that can use Gemini: https://aider.chat/
You can use Gemini from VScode. (Well at least copilot can call it)
WOW! Very cool and original!!

This item has no comments currently.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal