Autor
| SCC synthesizer...
|
Alex Ganzeveld msx lover Mensajes: 81 | Publicado: Marzo 20 2003, 17:05   |
Hallo,
Ik ben een héle héle tijd niet bezig geweest met de MSX maar ik ben er onlangs weer mee begonnen. Muziek maken, als vanouds. M'n studio is aardig uitgebreid onderhand. Ik zou heel graag een nieuw stukje MSX software ontwikkelen, namelijk een
SYNTHESIZER op basis van de SCC.
Je zou het principe kunnen omschrijven als "wave morphing". Voor degenen die een beetje bekend zijn met synthesizers: een beetje á la Prophet 600 of de Korg DW8000.
Ter illustratie: je neemt een SCC-waveje. Een PULSGOLF... Op basis van de snelheid van een LFO (Low Frequentie Oscilator) laat je die puls in breedte variëren: PWM.
Hetzelfde zou je ook kunnen doen met SINUS die je in een BLOKGOLF laat veranderen et cetera, et cetera...
Je kunt zo hele sappige, levendige geluiden uit je SCC halen.
Commentaar graag, en eventueel een helpende hand...
Groeten,
Alex Ganzeveld
rocoboard@hotmail.com'>procoboard@hotmail.com |
|
warau msx lover Mensajes: 117 | Publicado: Marzo 20 2003, 17:10   |
Ok, si hubiera sabido antes que en esta WEB podía escribir en mi idioma no me hubiese tomado tantas molestias en intentar escribir en un inglés medianamente aceptable.
|
|
Alex Ganzeveld msx lover Mensajes: 81 | Publicado: Marzo 20 2003, 17:22   |
Hmm... My Spanish probably is just as bad as your Dutch, Warau, but I think I get the point. So here's the story in English:
I would like te develop an SCC - SYNTHESIZER.
In brief, I want to develop a piece of software that can do PULSEWIDTH modulation, or other "morphs", like a SINE-WAVE shaping in to a SQUARE, based on a LFO (Low Frequency Oscilator)...It's quite simple, but you can make really nice moving and living sounds that way...
Any volunteer programmers?
If you want to know more, please send me a mail so I can explain...
|
|
BiFi msx guru Mensajes: 3142 | Publicado: Marzo 20 2003, 18:02   |
I'm planning to work on (yet another) SCC tracker that will have wave-morphs for a feature. Unfortunately it may take some time before I actually get to do any coding on it since there are some other projects that have a higher priority right now.
|
|
wolf_
 msx legend Mensajes: 4828 | Publicado: Marzo 20 2003, 21:09   |
[lamer-modus]
tre ghammur PWM tyop'ah ghaf'ah chev'ah kzaa i 2 osc'ah fhrioo MSX/SCC kzaa tyop'ah vaav i hgaa kzaa?
very roughly translated:
Things like PWM are nice indeed, and can be simulated using 2 oscilators.. is the MSX/SCC fast enough for realtime waveform updating? 
[/lamer-modus]
In solid snake there were some waveform morphs.. but as far as I could see it was just a crossfade, in this case there is no really spectacular spectrum movement.. just a crossfade.
|
|
BiFi msx guru Mensajes: 3142 | Publicado: Marzo 20 2003, 21:35   |
Not only Solid Snake. Nemesis 3 started with 'morphing' waves and all SCC titles following Nemesis 3 have it too. Same goes for SD-Snatcher.
|
|
wolf_
 msx legend Mensajes: 4828 | Publicado: Marzo 21 2003, 13:03   |
nemesis3, really?
There are some spectrally changing sounds in N3, as well as in Space Manbow, but couldn't those waves be fixed waveforms in the SCC ROM or in the game itself? Esp. since those waves are the same in every game  |
|
Alex Ganzeveld msx lover Mensajes: 81 | Publicado: Marzo 21 2003, 14:53   |
I think it that fixed waveforms could be a option.
Since the SCC is just playing mini-waves -as far as I know- in a very limited way, you could just as well design a whole range of preset-waveforms that you alternate, instead of calculating them.
|
|
wolf_
 msx legend Mensajes: 4828 | Publicado: Marzo 21 2003, 19:16   |
But then still the question arises if the SCC/MSX is fast enough to continiously update the SCC waves, in a way which leaves space for other things as well.. so, not as in: playing a sample, so that the cpu freezes  |
|
GuyveR800 msx guru Mensajes: 3048 | Publicado: Marzo 21 2003, 23:51   |
Updating a wave requires a 32 byte LDIR command. So, the Z80 is fast enough to update about 100 waves each 1/60th second.
|
|
Alex Ganzeveld msx lover Mensajes: 81 | Publicado: Marzo 24 2003, 12:06   |
I'm not an assembly programmer, so coorect me if I'm wrong, but here's my view:
Quote:
| Updating a wave requires a 32 byte LDIR command. So, the Z80 is fast enough to update about 100 waves each 1/60th second.
|
For a PWM effect you need at least 16 different preset waves, ranging from a one byte up puls -which would sound something like the MSX-keyboard click- to a 16 byte puls, which technically is a square wave.
In this example, the MSX would easily be fast enough. In practice I would never use an LFO faster then 20 Hz orso, because it starts sounding more like ringmodulation than pulsewidth modulation. So you would need 20x16=380 waves per second max. Per channel, that is.
If you use all 5 channels simultaniously -slightly detuned to create a great unison effect- you would need 1900 waves. The Z80 can do 6000, so that would be sufficient to leave room to take care of other stuff, like the interface and the midi-handling etc.
But how much can the SCC handle? What are it's capabilities? |
|
GuyveR800 msx guru Mensajes: 3048 | Publicado: Marzo 24 2003, 16:55   |
Quote:
| But how much can the SCC handle? What are it's capabilities?
|
Can you elaborate? What exact capabilities are you wondering about?
If you mean whether or not the SCC can handle all the wave updates; AFAIK, any byte you write to the SCC Wave RAM is immediately processed. |
|
Alex Ganzeveld msx lover Mensajes: 81 | Publicado: Marzo 25 2003, 09:17   |
I'm not a programmer, so I haven't got a clue of how the SCC work or how to adress it, undsoweiter. But the Z80 is the bottleneck. Okay.
And what about the interface, midi-handling and things like that...How much Z80-power would they consume?
|
|
GuyveR800 msx guru Mensajes: 3048 | Publicado: Marzo 25 2003, 18:35   |
Quote:
| I'm not a programmer, so I haven't got a clue of how the SCC work or how to adress it, undsoweiter. But the Z80 is the bottleneck. Okay.
And what about the interface, midi-handling and things like that...How much Z80-power would they consume?
|
If you're not a programmer, how are you going to program this thing?
MIDI handling and things like that are all pretty much non-issues... There's no reason I can see this program cannot be made on a MSX. |
|
BiFi msx guru Mensajes: 3142 | Publicado: Marzo 25 2003, 21:43   |
I'm quite overthrown in projects right now, so I really can't take any more project to do, even though this little project isn't that hard to do and most of this stuff is planned for that new tracker anyway (I'll probably make a seperate version with these just these synth-like features)
|
|
|
|
|