Page 1 of 1

The KAOSS and Square Wave theory

Posted: Sun Apr 17, 2011 5:05 pm
by iSubaru
Hello there
I'm not sure if this section can be used for asking questions, so I apologize if that's not proper one

I would like to ask for theory of KAOSS system, to be exact the note-gate one, how does it work exactly? The note is of course music note from C up and down or so, but the gate thing is completely unknown to me

Second thing is Square Wave, how to describe it with use of notes or some other simple language ^_^"
I know only how graphically it looks like (and how beautifully it sounds :P) but nothing else here

Why I ask? The answer is quite simple, I try to do mini KAOSS DS program (homebrew) and can't manage to find some way to code that note-gate thing, of course it would use PSG of DS, so there won't be any samples used, wonderful

Thank You for advance and have a nice day

iSubaru

EDIT #1
No problem sir, I wasn't sure where to put that, I say "yes" for clean forum :P

Re: The KAOSS and Square Wave theory

Posted: Sun Apr 17, 2011 6:32 pm
by Cfgk24
Hi, sorry, have moved this topic to 'Techniques' section. thanks

Re: The KAOSS and Square Wave theory

Posted: Mon Apr 18, 2011 10:56 am
by DS-10 Dominator
iSubaru wrote:Hello there
I'm not sure if this section can be used for asking questions, so I apologize if that's not proper one
I would like to ask for theory of KAOSS system, to be exact the note-gate one, how does it work exactly? The note is of course music note from C up and down or so, but the gate thing is completely unknown to me
The gate is the length of the note (comes from back in the analog days when a circuit was literally opened and closed again for a certain period of time). It will be recorded into some of the tabs you can find in the pianoroll sequencer. It can range from very short (10% or something) to Legato (connects to following note).
Second thing is Square Wave, how to describe it with use of notes or some other simple language ^_^"
I know only how graphically it looks like (and how beautifully it sounds :P) but nothing else here
You can make a square wave by using multiple sine waves (additive synthesis). The sound of the square wave consists of all the ODD HARMONICS, you read how it works here: http://www.computermusicresource.com/sq ... orial.html

You could also make a square wave by playing a sine (or other) wave so loud that it will cut off the top and bottom of the wave (clipping). You can use the 'drive' function in DS-10 for this.

Re: The KAOSS and Square Wave theory

Posted: Mon Apr 18, 2011 5:56 pm
by iSubaru
Thank You very much for help, I have been able to understand the gate trick finally ^_^

As for Square Wave...and sound at all I still have one thing that bugs me
I can use a command to play PSG sound which has following parameters:
- Channel - obvious
- Volume - obvious
- Pan - tells if sound will be centered or on left/right speaker
- Note - numberic frequency of sound (problematic thing a bit)
- Duty - ? ? ? (Numeric Value 0-7) Completely I don't know what's that duty thing, the translator only outputs duty word as for military and such meanings, I believe they do not apply here :P

Thank You for advance and have a nice day~

iSubaru

P.S. - Judgement!

Re: The KAOSS and Square Wave theory

Posted: Tue Apr 19, 2011 6:04 am
by QauNuckShin
Image

The duty cycle is simply the ratio between how long the signal is "high" and how long it's "low". 50% gives the "softest" square wave sound, and lower values give a "sharper" tone.

Now, don't quote me on this, but I think for example 90% and 10% sounds the same, that it's symmetrical around 50%. Of course, 0% and 100% will not give you any sound at all - you just have a straight line.

Edit: Yeah, that image was a bit large.. Sorry. :)

Re: The KAOSS and Square Wave theory

Posted: Fri Apr 22, 2011 1:07 am
by iSubaru
I'm sorry for long time no response T_T
Image is pretty nice, it explains the thing very clearly ^_^
Thank You very much for that one

Hmm so now only the thing with Square wave left...
I can play sound based on numeric value of note as mentioned earlier
- Note - numberic frequency of sound (problematic thing a bit)
Example code has some C-Scale shown like that:

Code: Select all

C_scale[8] = {33,37,41,44,49,55,62,65};
Probably - just probably - some Square sound can be achieved by finding nice note frequency and playing it "as it is" (dunno about that)
What about other waves? (and Square if I'm wrong there :P)

Thank You for advance and have a nice day

iSubaru

P.S. - Sorry for being pain in the :P