making a video game, started messing with INTs to make sound effects.
don't know much about it, donn't have much cause to work with bitwise ops otherwise, so stretching my legs. had a look around the web and found this -
http://www.youtube.com/watch?&v=GtQdIYUtAHg
couple of other vids and some blog entries.. i've mostly been using unsigned shorts to make the effects.. it's like having an ~infinite sample, maybe you can find a good sound if you look around. a lot of it is blip or crunch but now and then you can get stuff that sounds like spinning vinyl, bat wings et al.
reading thru all his stuf, said "not a lot online about this" even though of course all of these sounds we have heard since childhood. well, one, it's simple stuff, there to discover for anyone with time and teh incline, number two the music industry is a bastard and a lot of these guys would dump your body in a lake then dredge it out a month later and eat it rather than let you know how to do things.
here's some of my fun with shorts..
//o = (ss*((ss+43217)&91)&(ss>>7|ss>>13)<<5) * .001f;// awesome weirdo sound
//o = (ss*((ss+7)&1500)&(ss>>4|ss>>11)<<5) * .0002f; spinning record sound
//o = (ss*((ss+9)&3370)&(ss>>4)<<7) * .00001f; 10400 and 10370 instead of3370
//o = (ss*((ss+9)&3370)&(ss>>3)<<7) * .00001f;screeching metal
iirc eg. the last one i intend to use the last ~2048 samples of (65535 - 2048, initialise at 63488)
of course, sensible people use samples. takes procedural evangelism to mess with this.
symphonies in a line of code
-
- Banned
- Topic Starter
- 12368 posts since 30 Apr, 2002 from i might peeramid
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.
- KVRAF
- 15256 posts since 8 Mar, 2005 from Utrecht, Holland
You can even have a play with it in 8BitSynth in Caustic3 (on nearly all portable devices for $10, free on PC/Win)
http://singlecellsoftware.com/docs/caus ... synth.html
http://singlecellsoftware.com/docs/caus ... synth.html
We are the KVR collective. Resistance is futile. You will be assimilated.
My MusicCalc is served over https!!
My MusicCalc is served over https!!
- KVRAF
- 7134 posts since 8 Feb, 2003 from London, UK
The challenge: replace a 5Gb drumkit with algorithmic waveform generators! Think of how much disk space people could save... I'm desperately tempted to get into this kind of thing ... the geekiness level is appealing to my base instincts .xoxos wrote:of course, sensible people use samples. takes procedural evangelism to mess with this.