Vision and Sound From the Ideally Bare Numeric Impression giZmo 38
jones_supa writes "Ville 'viznut' Heikkilä presents us with an interesting project. 'As demonstrated by the video, IBNIZ (Ideally Bare Numeric Impression giZmo) is a virtual machine and a programming language that generates video and audio from very short strings of code. Technically, it is a two-stack machine somewhat similar to Forth, but with the major exception that the stack is cyclical and also used at an output buffer.' The main goal of IBNIZ is to provide a new platform for the demoscene. Something that would have the potential to displace MS-DOS as the primary platform for sub-256-byte productions."
But (Score:1)
Un messago sponsoro (Score:2, Funny)
Very cute. (Score:4, Informative)
That's very cute. That's the most obscure programming language I've ever seen not created as a joke. They can generate mediocre techno with about 20 characters of code.
Re: (Score:3)
They can generate mediocre techno
And in related news, Skrillex will be suing for copyright infringement and trademark dilution. Skrillex was quoted as saying, "I own bad electronic music, dammit! I work hard to make loops in Garageband and press Play on my Macbook!"
Re: (Score:2)
They can generate mediocre techno
And in related news, Skrillex will be suing for copyright infringement and trademark dilution. Skrillex was quoted as saying, "I own bad electronic music, dammit! I work hard to make loops in Garageband and press Play on my Macbook!"
I see Skrillex has already been covered, logging out of this thread satisfied. :P
Re: (Score:2)
Thank you! I thought the exact same thing! Ahhh.. the good old days of spending hours on end dutifully typing in programs from the pages of Antic! saving the results to cassette... It was what got me into the minimal programming I do today.
and yeah.. get off my lawn, I'm reminiscing here, and you're getting in the way!
simple but fairly clever (Score:5, Interesting)
The simplicity of the code you can write in this language seems to be mostly due to the cyclic nature, which is something other beat-oriented computer-music languages also have: once you have "repeat" as a built-in thing, anything built on regular repetitions is easy to program. But it adapts it in a way that feels more low-level and demo-scene-ish by tying it to a cyclical "stack" in a bastard-son-of-Forth sort of way. Will have to play around with it a bit.
libglitch and making music a with C compiler (Score:5, Interesting)
I wrote something similar to IBNIZ, yet vastly simpler, a composing software called glitched [github.com] (needs pygame 1.9.1). The forth variant I use has no subroutines or recursion and is not even turing complete and the stack has only 256 fields. However, it is compatible with that of several other implementations (see README). Like IBNIZ, it has live editing and stack visualisation [dieweltistgarnichtso.net].
It is important to note that sound made with this kind of tools is not limited to chiptunes. There is a video of an older version of glitched [dieweltistgarnichtso.net], doing Karplus-Strong-string synthesis [wikipedia.org].
(Apologies in advance to the users of a totally unrelated glitch library [rhydd.org], which is also written in python. I have met one of it's developers last night and we agreed insane troll logic dictates a merger of our two projects to rectify the namespace collision. I may have to bring that up again when he is sober.)
Oops, forgot the C compiler part. (Score:3)
Before IBNIZ, viznut was using a C compiler to, well, discover minimal music. You should read his paper regarding algorithmic composition using small programs. [arxiv.org] und check out my repository of formulas for C programs that generate sound [github.com].
People without easy access to compilers (I met a gal a few days ago who had old OS X and no 99$ to spare for a dev account) should still check out a track from the repository as wave file [dieweltistgarnichtso.net] to get an impression of the style.
I also wrote a program generating a crude chiptune [dieweltistgarnichtso.net]
Re: (Score:3)
You don't need a dev account to develop for OS X, just for putting things on the Mac App Store. Xcode is available for download without an account, or you could just install your own gcc.
Re: (Score:2)
This page [apple.com] asserts that "Xcode 4 is a free download for all members of the iOS and Mac Developer Programs.", continuing "Sign in to your account to begin the download." and according to Apple [apple.com], an account costs 99$/year.
Maybe I am missing something big here, for example "free" meaning "free" as in "free beer if you buy a subscription", but I have since suggested installing Debian [debian.org]. Proper package management makes it vastly easier to install and develop software.
Re: (Score:2)
http://itunes.apple.com/us/app/xcode/id448457090?mt=12 [apple.com]
It is free to everyone.
Re: (Score:2)
Re: (Score:2)
Well, the older versions are available for download somewhere, just hard to find.
Re: (Score:2)
All versions of OS X came with XCode. If you have
Re: (Score:2)
The glitter.py script is your friend; it just outputs the audio bitstream. You can pipe that into sox [sourceforge.net] but I wouldnt know how to capture the output of this in Windows *SCNR*.
Working example that outputs 16 seconds of the track "sidekick" (128000 = 8000 * 16): ./glitter.py `cat tracks/sidekick.glitch` | head -c128000 | sox -c 1 -r 8000 -t u8 - sidekick.wav
Re: (Score:2)
The potential to displace fuckall (Score:5, Insightful)
Okay, I can appreciate the novelty factor, as this is very much one of those things guys like me would toy around with, maybe for an evening or two. I don't see a demoscene rising out of this, at best a few dozen guys circle-jerking on Facebook about it. To say it could display MS-DOS as a "platform" is to completely ignore the fundamental tenets of the demoscene. Rotozooming tunnel-mapped munching squares are what you do when you're learning to code graphics effects, and this IBNIZ tool abstracts the real math away in favour of random-looking gibberish. Just because typing "7KJHBB&*@#$B" yields a spinning bitmap doesn't teach the user anything about how to actually spin a bitmap on an algorithmic level, nor the problem-solving methodology involved in building far more impressive effects upon those foundations.
It used to be that demo coding was a precursor to game programming, at least in the Amiga and DOS days. Now with all these abstract graphics and sound APIs, it's a bit less so, though there is still plenty of opportunity for new demo sceners to cut their teeth on DirectX demos, focusing on graphical polish and synced A/V interplay rather than the vicissitudes of software rendering. IBNIZ really misses the boat for all of that, it's more like a Winamp visualizer with its own crappy digital monosynth, and who's going to bother with that illegible syntax ?
Sorry but I don't see the technical merit in a virtual machine that basically shifts garbage around. You could accomplish the same by feeding random noise into your TV's composite input.
Ow, my ears! (Score:1)
How about /dev/mem >/dev/audio; done
while true; do cat
?
"Politically Correct"? (Score:2)
Re: (Score:2)
"A quick Google search didn't come up with anything relevant. How would IBNIG be non-PC compared to IBNIZ?"
Technically, it probably wouldn't. But living as we do in a society in which a celebrity can catch all kinds of hell for using the word "niggardly" (which has absolutely nothing to do with race or racism), I think they were playing it safe.
Re: (Score:2)
Fractal Music Implementation (Score:1)
Might work with some of [shameless plug] my fractal formulas * [fractalforums.com] [/shameless plug], although you'd have to use sqrt [1-sin^2 (x)] for cosine as it apparently isn't implemented? (I only see sin and atan2).
Probably try it with simple 2d fractal formulas first. Nice...
On another note (I'll scan thread carefully), any recommendations for other open source mathematical music programs?
*others scattered around the website.....
256 bytes including the interpreter? (Score:3)
Otherwise, a SPORE creature save file is a better "demo". (note, must install interpreter...)
this one is for bookmarks (Score:2)
Wilhelm scream (Score:2)
As if it was not enough that the same scream is used in many blockbuster movies.
Visual Perl (Score:2)
nuf sed :-)