[Csnd] getting chiptune sounds out of CSound
| Date | 2010-11-05 13:18 |
| From | "Arthur Pirika" |
| Subject | [Csnd] getting chiptune sounds out of CSound |
Hi, as the subject says, I've been looking and I think I've found most, of
what would be needed to get that classic chiptune sound out of our favourite
toy/tool... I'm thinking of things like the classic sound of the sid, or the
nes, or the warbling, arpeggiated chords. Here's what I've found so far, and
what I need help with.
waveforms. cs has all the basics, pwm, tri, saw, even noise, although it's
not quite the noise I'd be looking for here. Most chips tied the noise gen
to the CPU clock, so, you could varry the frequency of the noise and get
either the typical high hiss of white noise, or a low, rumbling/seashore
type effect.
Filters: no problem here, loads of different options available. going to
have fun with this one.
chip drums: The problem here is that many chip composers would do rapid
switching of waveforms, typically noise, to a square/triangle, combined with
a pitch envelope. The problem here is, how would you have an instrument
switch to completely different waveforms, but still keep a note going? Maybe
some table lookups?
finally, arps: Again, the question is, how to store and use a sequence of
relative steps from a bass note, and have this sequence looping for the
duration of a note? Typical arps would be, 0, 3, 7 for a c minour chord (0
steps from bass note of c, then 3 steps from c, to Eb, and finally 7 steps
from C, to g). same for 0, 4, 7, a major arp.
If anyone wants to look mor deeply into the way computer chips work, in
terms of sound, take a look at:
http://www.zenpho.co.uk/PhillPhelps-ChiptuneSynth.pdf. It was written for
max/pd, but I'm sure could be adopted to cSound.
Tia,
Arthur.
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2010-11-05 13:28 |
| From | Rory Walsh |
| Subject | [Csnd] Re: getting chiptune sounds out of CSound |
You can load the arpeggiator steps into a function table, see below. Also there are a few oscillators that allow changes of function tables, you'll need to look at the manual, i can't recall the names of them off the top of my head. |
| Date | 2010-11-06 14:05 |
| From | Jana |
| Subject | [Csnd] Re: getting chiptune sounds out of CSound |
Am 05.11.2010 14:18, schrieb Arthur Pirika: > waveforms. cs has all the basics, pwm, tri, saw, even noise, although > it's not quite the noise I'd be looking for here. Most chips tied the > noise gen to the CPU clock, so, you could varry the frequency of the > noise and get either the typical high hiss of white noise, or a low, > rumbling/seashore type effect. > Hi Arthur, feeding white noise into a sample/hold unit and sampling it at audio rate gives that effect of clocked digital noise generators. Like in the following example. ksmps = 1 is important here to generate proper trigger signals for the s&h stage. |
| Date | 2010-11-06 21:24 |
| From | Mark Van Peteghem |
| Subject | [Csnd] Re: Re: getting chiptune sounds out of CSound |
Jana wrote: > Am 05.11.2010 14:18, schrieb Arthur Pirika: >> waveforms. cs has all the basics, pwm, tri, saw, even noise, although >> it's not quite the noise I'd be looking for here. Most chips tied the >> noise gen to the CPU clock, so, you could varry the frequency of the >> noise and get either the typical high hiss of white noise, or a low, >> rumbling/seashore type effect. >> > > Hi Arthur, > > feeding white noise into a sample/hold unit and sampling it at audio > rate gives that effect of clocked digital noise generators. Like in > the following example. ksmps = 1 is important here to generate proper > trigger signals for the s&h stage. Doesn't the randh opcode do the same thing? And it doesn't require ksmps = 1. |
| Date | 2010-11-06 22:30 |
| From | Aidan Collins |
| Subject | [Csnd] Re: Re: Re: getting chiptune sounds out of CSound |
Jacob Joaquin had a nice blog post about creating Pac Man sounds on the csound blog. http://csoundblog.com/2010/05/blue-ghosts-are-fine-fixins/ might want to check out the .csd in that post. -Aidan On Sat, Nov 6, 2010 at 5:24 PM, Mark Van Peteghem |