Talk:Harmonium

From WiiBrew
Jump to navigation Jump to search

Game of Life seeds

Here are some initial configurations for the Game of Life mode. If left alone, these seeds will evolve following the rules of John Conway's Game of Life. Feel free to post your favorites:

○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○●●○○○●●●○○○○○
○○○●●○○○○○○○○○○○
○○○○○○○●●●○○○○○○
○○○○○○○○○○○○○○○○
○○○○○●○●●○○○○○○○
○○○●○●○●●○○○○○○○
○○○●○●○○○○○○○○○○
○○○●○○○○○○○○○○○○
○○○○○○○○○○○●●○○○
○○○○○○○○○○○●●○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○

Seed example #1.
by MetaFight

○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○●●●○○○○○○○
○○○○○●○○○●○○○○○○
○○○○○○●●●○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○

Flower.
by Mr. Reaper

○●●○○○○○○○○○○○○○
○○○●○○○○○○○○○○○○
○○○●○○○○○○○○○○○○
○○○○●●○○○○○○○○○○
○○○○○○●○○○○○○○○○
○○○○○○●○○○○○○○○○
○○○○○○○●●○○○○○○○
○○○○○○○○○●○○○○○○
○○○○○○○○○●○○○○○○
○○○○○○○○○○●●○○○○
○○○○○○○○○○○○●○○○
○○○○○○○○○○○○●○○○
○○○○○○○○○○○○○●●○
○○○○○○○○○○○○○○○●
○○○○○○○○○○○○○○○●
○○○○○○○○○○○○○○○○

Theme
by MetaFight

○●●○○○○○○○○○○○○○
○○○●○○○○○○○○○○○○
○○○●○○○○○○○○○○○○
○○○○●●○○○○○○○○○○
○○○○○○●○○○○○○○○○
○○○○○○●○○○○○○○○○
○○○○○○○●●○○○○○○○
○○○○○○○○○●○○○○○○
○○○○○○○○○●○○○○○○
○○○○○○○○○○●●○○○○
○○○○○○○○○○○○●○○○
○○○○○○○○○○○○●○○○
○○○○○○○○○○○○○●●○
○○○○○○○○○○○○○○○●
○○○○○○○○○○○○○○○●
●○○○○○○○○○○○○○○○

and Variation
by MetaFight

○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
●●●●●●●●●●●●●●●●
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○

Heart Attack.
by Mr. Reaper

○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○●●●○○○○○○
○○○○○○○●●●○○○○○○
○○○○○○○●●●○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○

Equilibrium
by Vladhed

●○○○○○○○○○○○○○○●
●●○○○○○○○○○○○○○●
●○●○○○○○○○○○○○○●
●○○●○○○○○○○○○○○●
●○○○●○○○○○○○○○○●
●○○○○●○○○○○○○○○●
●○○○○○●○○○○○○○○●
●○○○○○○●○○○○○○○●
●○○○○○○○●○○○○○○●
●○○○○○○○○●○○○○○●
●○○○○○○○○○●○○○○●
●○○○○○○○○○○●○○○●
●○○○○○○○○○○○●○○●
●○○○○○○○○○○○○●○●
●○○○○○○○○○○○○○●●
●○○○○○○○○○○○○○○●

N Symphony.
by Mr. Reaper's brother.

○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○●●●○○●○○●●●○○●
○●○○●●●○○●○○●●●○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○

The Plight of the Worms.
by MetaFight

○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○●●●○○○○○●●●
○●●●○○○○○●●●○○○○
○○○○○○○○○○○○○○○○
○○○○○●○○○○○○○●○○
○○○●○●○●○○○●○●○●
○●○●○●○●○●○●○●○●
○●○●○○○●○●○●○○○●
○●○○○○○○○●○○○○○○
○○○○○○○○○○○○○○○○
○○○○●●●○○○○○●●●○
●●●○○○○○●●●○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○

Double Helix
by MetaFight

○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○●●○○●●○○○●○○●●
●○○○●○●○●○○○●○●○
●○●○●○●○●○●○●○●○
●○●○●○○○●○●○●○○○
○●●○○●○○○●●○○●●○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○

Call and Response
by MetaFight

○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○●●○●●○○○○○○
○○○○○○○●○○○○○○○○
○○○○○○●○●○○○○○○○
○○○○○○○●○○○○○○○○
○○○○○●●○●●○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○

Mirror
by Wizard Cat

○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○●○○○○○○○○
○○○○○●●○●●○○○○○○
○○○○○●●○●●○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○
○○○○○○○○○○○○○○○○

Epic Crowns
by PulseGuy

Feedback / Suggestions

Looks cool. --Mjbauer95 22:44, 18 May 2009 (UTC)


Wow thanks. I'll have fun playing with this. --Simon 01:02, 19 May 2009 (UTC)


I like it! It's groovy. I was never good at that life game though, so I'm not clear on how the rules work.... But the Windows version of the Life game had those preset patterns you could load, and they would oscillate or fly around and do stuff. It would be cool if you added in some of those patterns that could be loaded and ran to see what kind of music they would produce. I'll have to try inputting some of them manually.... --Mr. Reaper 04:22, 20 May 2009 (UTC)


Ok, some of the patterns are fun to watch, but they run very slowly compared to the Windows game. It would be great if there was a way to adjust the tempo. Like, press Right on the control pad, and the notes play faster and faster. Press left and they play slower. --Mr. Reaper 14:59, 20 May 2009 (UTC)


Thanks! - my kids should enjoy this one. Makes me think a "fruityloops" type sequencer/drum machine hack would be lots of entertainment Vladhed 15:16, 20 May 2009 (UTC)


Please add a save feature!! Also I made a mid-time solution : Harmonium Grid. Just download the file, and color the white tiles in Harmonium yellow in the picture. Then you can just re-upload it under your name. Pleas use .png EVER! --WiiCracker 17:36, 20 May 2009 (UTC)


Thanks for the feedback everyone (from here and other forums). You've given me some good ideas. I will be implementing save/load functions as well as tempo modulation and grid shifting in the next version. I can't promise a release date, but I don't think it will be too far away. WiiCracker, I think sharing grid patterns is a great idea. I don't want to flood wiibrew with files though. How about using something like the grids above? It might not be pretty but it gets the job done and doesn't require uploading a file. Well, that's it for now. Thanks for trying out the game (btw, that seed is one of my favorites). -- MetaFight 02:10, 21 May 2009 (UTC)


After watching some patterns, I realized I wanted to be able to step backward to see where they came from.... so... that would be another neat feature. The game would have to remember each step it made though, or at least a set number of steps (basically, and Undo function). --Mr. Reaper 15:42, 21 May 2009 (UTC)


My brother tried it, and made a suggestion: it should have a counter that shows the number of gernerations that have passed. --Mr. Reaper 22:54, 23 May 2009 (UTC)

Good idea. I'll keep a note of that for the next release. -- MetaFight 23:06, 23 May 2009 (UTC)


I like the ability to shift around the grid with the d-pad. The other additions seem to be working well too. I think would prefer the functions that are assigned to the 1 and 2 buttons to be moved up to the d-pad though, like B + Right is increase Tempo, and B + Left is decrease. B + Up/Down could cycle through the game of life modes. It just kind of makes it easier to have all the controls around the same area, and the 1 & 2 buttons don't really need to be used yet, until you need some controls for Saving & Loading.... This would also greatly benefit from some on-screen information display. Just some visual indicators, like having the big frame around the grid turn green when you are in the Life mode, and grey when in regular mode. Some kind of little graphic to indicate which Life mode you are in, or what "speed" (tempo) you are at would be nice too. If there is room, some little graphic or text showing what buttons do what functions would be helpful on screen rather than in the pop-up menu (similar to the old version). When the user presses the B button, the information could change on the screen to show the new functions of the B-shifted buttons.... A suggestion: If you are in the Life mode, and you press the button to go to a Previous/Next Generation, it should automatically switch you back to Standard mode and do that. --Mr. Reaper 00:10, 14 June 2009 (UTC)

I'm trying to keep the controls as simple as possible for younger users. Having to hold B for some commands might already be an issue. I'm worried that holding B and using the D-Pad might be too hard for small hands. On-screen-display is on its way. That's why I cleared the left side of the screen :). Unfortunately there is no room for button-actions descriptors. Hopefully, the information button will be clear enough. As for switching back to Standard (or classic) mode on history navigation, I've implemented that for Back only since Forward would get you nowhere anyway ;). Thanks for the input -- MetaFight 15:36, 16 June 2009 (UTC)
Well, I figure that holding B and pressing the d-pad with the same hand is no problem for any size hand since those controls are all at the top of the wiimote, but holding B and pressing 1 or 2 actually requires two hands instead of one, making it more difficult by default. What resolution does this display in? I'm just curious to see how many pixels there are to work with to see just how much info might be packed into the blank area on the left.... --Mr. Reaper 18:08, 16 June 2009 (UTC)
Harmonium-UI-candidate.png
I'm also working under the assumption that the A, +, and - buttons are those being used most. I put the functions people would be using the least on the D-Pad and buttons 1 and 2, that way the game can be played without having to move your hand around. The screen real-estate is 640x480. This leaves roughly 180 pixels on the left side. Keep in mind, however, that for the data to be of any use it must be legible. This means it's hard to put more than 3 or 4 things over there. I've attached a picture of the current UI candidate on the right. -- MetaFight 18:52, 16 June 2009 (UTC)
Harmonium.gif
Ok, here's what I have in mind; I think it could work.... First, I know there are overscan issues with getting things too close to the top or bottom of the screen, so I know you have to be careful squeezing things in there, and so far it looks fine on my TV with some extra space at the top and bottom. Your neat little (what do you call it?) column indicator bar at the top of the screen should fit fine (I suggest that turns green when in life mode, and grey when in standard mode), and at the bottom of the screen there could be a speed (tempo) indicator bar that fills up with arrows to the right as you increase the speed to max, and goes back down to the left as you slow the tempo down.
And there seems to be plenty of extra room on the right, so the grid could be shifted over in that direction which would leave more room for the text on the left.... I think the text could be made large enough to be legible then.
My animated gif show's what I had in mind (with my preferred control layout), and it changes every 10 seconds or so to show how the text on the screen would change when the user is holding down the B button to shift the functions.
Now, if you have the controls all shown on the screen, you eliminate the need for the info button, freeing up more screen space down there where you can put the counters and mode indicators. I know your little Home Menu is really neat when you press the Home button, but if you change it so there was a Settings/Options/Save/Load menu for that button instead, you eliminate the other Life and Save/Load buttons you have down there as well.... Or there's still room to label the 1 and 2 buttons to do Saving/Loading or Info, Instructions, or whatever.... --Mr. Reaper 06:07, 17 June 2009 (UTC)
Sorry but I disagree with all that.
  1. There is already visual feedback to indicate which mode the game is in (tile color, mode title) so changing the top bar's color is overkill.
  2. The top bar already serves as visual feedback for the tempo. Adding another bar would just add confusion.
  3. I would rather not cram the play area to the far right since it would look and feel awkward. Also, the small area on the right might be used for something else in the future.
  4. I think having a picture of a wiimote on the screen at all times is a bit ugly (sorry).
  5. I don't see what's wrong in putting information/settings/saving in their own little menus. These are functions that would not be in constant use, so having them constantly available is not a priority.
  6. I am of the mind that home should do nothing other than:
    • Pause an application
    • Provide the user a way to exit the application (though, it probably shouldn't be the only way)
    • Provide the user a way to reset the application (though, it's not implemented yet)
I don't mean to rain on your parade, but I really don't think any of those modifications are necessary. Sorry -- MetaFight 14:21, 17 June 2009 (UTC)
  1. Extra visual feedback for which mode you are in is needed for the exact same reason you need the topbar too: when the grid is clear there is no other visual feedback (unless you're adding something new -- title color?). Like, after all the life dies off the screen, it just looks like a blank screen and I often start drawing on it, forgetting it's still in life mode, and the things I draw just die off right away....
  2. You can always tell if it's going relatively fast or slow by the notes playing, but you never know how far along or within the speed settings you are.... There's no way of knowing, for example, if you are within 1 or 2 settings of the max speed, or if you are back at the middile, default speed.
Etc., An actual image of the wiimote wouldn't really be required. The only issue with the info sub-menu is that you have to pause the game and open up another menu to see what the buttons do rather than having the info on screen. Limiting your options for what you want the Home button to do is just limiting your options.... There's no real need to follow the standards Nintendo set. --Mr. Reaper 18:09, 17 June 2009 (UTC)
I think most of your feedback issues are already addressed. Take a peek at the latest build. Just keep in mind that the file that link points to is always changing. As for the HOME button, I don't see it as limiting my options. I like consistency. All my apps will eventually use HomeMenu and I'm not too fond of assigning random functions to the HOME button anyway.

-- MetaFight 18:28, 17 June 2009 (UTC)


This is a pretty cool music maker! Really loved the "Game of Life" modes. I sometimes use this to fall asleep in bed at night. Nice homebrew, dude. (Also I found the secret!) --Wizard Cat (talk) 21:27, 30 October 2017 (CET)

Tenorion

I'd love to see some functionality for some additional instruments, and perhaps some basic animation support, such as can be found on a Tenorion. You can see a great video of the tenorion in action by artist Little Boots here. --IanWatson 19:27, 21 May 2009 (UTC)

I'm considering adding more instruments, but that would require some code rewriting so it'll take some time (see my other comment below). As for animations, I think that's a great idea! Check out André Michelle's implementation. He's got some groovy animations there that I'll eventually try to mimic. I like what the Tenorion does too. I'll look into that as well. -- MetaFight 05:41, 23 May 2009 (UTC)
Thanks! Tenorions cost about $800 US these days, and while I don't intend to go DJing anytime soon, it would be nice to have one I can play around with, and Harmonium looks to be off to a great start in that direction. Keep up the excellent work! --IanWatson 20:52, 25 May 2009 (UTC)

Bravo!!

So my kids (aged 10, 11 and 12) played with this for over an hour yesterday! They quickly figured out that it uses a pentatonic scale ($$ for piano lessons sort of paying off) so no "twinkle, twinkle, little star" but enjoyed coming up with some groovy syncopated loops. "Dad can you hack this to make drum sounds?" When can I have a gander at the source? I have devKitPro installed already and have tonnes of drum samples in .WAV format.

BTW, they too discovered the straight line pattern, called Heart Attack by Mr. Reaper.

This is favourite of mine as it reaches an equilibrium that alternates between two patterns: [EDIT: Moved to Equilibrium under Game of Life seeds.]

Vladhed 13:20, 22 May 2009 (UTC)

Cool! That's great to hear :). I still have a few tweaks to perform before I can release the code, however.
At the moment, when a column plays it is actually playing up to 3 sound buffers (5 notes + 5 notes + 6 notes = 16 notes) and, as such, uses up to 3 channels. In order to allow for tempo changes and for the addition of new instruments I'm going to have to rewrite the software mixing so that each column only uses one channel. This is because the sound library I'm using (Asnd) is currently limited to 16 channels and these get used up pretty quickly. The 6 note buffers are software mixed from individual note samples on startup (1 sample per note in the octave, plus the octave). This leads to 2^6 - 1 = 63 sound buffers (since we don't need the empty sound). Scaling this up to 16 notes would require 65535 buffers! Therefore I'm going to have to scrap this approach and have column sound buffers software mixed on the fly. I don't see this being too much work.
What will be a lot of work, however , is fixing the timing bug. I'm going to have to do a little bit of homework before I can tackle this one. So, in short, I'll put the source out as soon as I can, but I can't say exactly when that will be. Thanks for the interest in the project, and I'm glad your kids are enjoying it! -- MetaFight 05:41, 23 May 2009 (UTC)

Different Octaves, somehow?

Excellent program!! This is really fun - is there a way to somehow make it so that you could drop the bottom x lines by x octaves, maybe? Some sort of setting or something for that would be great..everything up high is nice, but it'd be fun to also be able to mke some bass lines underneath. Anyway - great game so far! Can't wait to see where this goes from here!! Buddypepper 21:56, 12 June 2009 (UTC)

Yeah, I could probably put that in, but I would need new/more samples first. Right now the entire game runs on the same vibraphone sample for its entire range... this, unfortunately, makes the top sound tinny and the bottom sound woofy. If I were to drop the lower end even more it would sound terrible. I am looking for better samples so your suggestion is still a possibility. Do you know of anywhere I might get free vibraphone samples? Thanks -- MetaFight 15:28, 16 June 2009 (UTC)
Not sure - but you might check this [1] Buddypepper 12:44, 18 June 2009 (UTC)

Generation Counter does Not Go Past 64

I was messing with the beta, and the generation counter will not go past 64. --It's me, Zack! PodTube 00:19, 25 June 2009 (UTC)

That's right. v1 beta2 only keeps track of a 64 grid history. The next release (coming soon) will keep track of 256. I only have one more thing to implement before I can release v1, so it won't be long. -- MetaFight 00:32, 25 June 2009 (UTC)
It's saving/loading, right? I still can't get that to work... --It's me, Zack! PodTube 01:50, 25 June 2009 (UTC)
Wait, which dol are you running? Are you running the one from my server? That one is very outdated now. Save/Load works now. All that's left is rewriting how the game mixes sounds. -- MetaFight 01:54, 25 June 2009 (UTC)
Yes, it was the one from your server. I suppose all is well now, I just grabbed the latest one from this wiki... --It's me, Zack! PodTube 19:08, 25 June 2009 (UTC)

DS Version

Hi, I was wondering if you would consider porting this to the DS? --It's me, Zack! PodTube 19:08, 25 June 2009 (UTC)

I have never tried developing for the DS, but it seems interesting. I don't know if there's much demand for Harmonium on DS, though. I can't remember the name of the application, but there seems to be a similar game already floating around for the DS. In fact, I think it has many more features than Harmonium. I guess the only thing it may be lacking is the "Game of Life" modes. There was a pretty impressive video of it on youtube if you're interested. -- MetaFight 19:20, 25 June 2009 (UTC)
DS development is like Wii development, except with ndslib and some different constants and memory, I suppose. I know not of this homebrew that you speak of. Link me, please. --It's me, Zack! PodTube 14:43, 28 June 2009 (UTC)
I know there is some homebrew for the DS to "doodle" around with music. I got it on my DS but i can't find that stupid thing since a week.
There are also 2 Commercial DS "apps" around. The first is Electroplankton wich is really funny and easy to do. The second would be the "Korg DS10".. yeah i think thats what its called, wich gives you a complete Synthesizer, Drummachine, Mixer.. Even with the abillity to save and jam togheter over wlan. :::I also got both of them, but they are like my DS somehow lost in my messy room --Wupme 20:26, 29 September 2009 (UTC)

Tuning?

I love this program very much. When I try to play it together with a real piano, I notice that it's impossible because Harmonium is not tuned to western scales (a at 440 Hz). At least not on my PAL Wii. So if you find the time to do that, would you consider adding a tuning feature? Well, and if I am allowed to dream: How about an option to load custom samples? --Zarchimedes 21:16, 4 July 2009 (UTC)

source code

Congratulations on your pending employment! So, like, if you are not going to be working on this much are you gonna give us a peek at the source code? :-) Vladhed 13:29, 8 July 2009 (UTC)

BROKEN LINK

On the beta 3 version the download only goes to 868 KB and stops, with a corrupted file. This may be because I am on dial-up, but all the others have worked for me. --Williamdude1 17:31, 8 July 2009 (UTC)