SCC-I hidden potential unlocked?

Pagina 3/6
1 | 2 | | 4 | 5 | 6

Van GhostwriterP

Hero (551)

afbeelding van GhostwriterP

31-08-2020, 23:14

Quote:

So, you're basically doing some kind of AM? Isn't this quite heavy on the CPU to update these wave forms all the time?

The modulation for the guitar sound kinda like FM where amplitude of one wave (carrier) is transposed to an offset (0-31) for readout of another wave form (modulator). But it works at 60Hz (on ISR) so nowhere near frequency domain.
Regarding CPU, the ritme guitar sound is a stack of 4 effects: interference > chorus > modulation > gain > out. note I given them names but they might not actually reflect the real thing. Each of these effects have an (z80) T-state count on average 90 (some guess out top of my head) per byte, so 90 x 32 = 2900 T states for 1 and for 4 this becomes like 11500 per channel. So doing on the fly is quite heavy indeed. Once pre-computed it is only 5 x 32 = 160 bytes update (roughly 3000 cycles) per frame for all wave forms if updated all at once, or 9.6 kb per second like ARTRAG mentioned.

Quote:

Anyway, if you define binary format for exchanging wave file, it could be fun to use it to export speech samples from my voice encoder and import them in your replayer, to be modulated as instruments.

I thought a bit about longer samples (like converting them from PC or so), but unfortunately the way it is setup now it is not easy to implement, besides we have OPL4 for that Wink. Perhaps it could be revisited in the future.

Van ARTRAG

Enlighted (6455)

afbeelding van ARTRAG

01-09-2020, 00:50

Should you change idea, I've released the voice encoder on Github

Van Huey

Prophet (2657)

afbeelding van Huey

01-09-2020, 11:02

Thanks for the video. Very cool to see the wave forms moving.
Keep up the good works!

Van gdx

Prophet (3830)

afbeelding van gdx

01-09-2020, 11:47

GhostwriterP,

Can you upload music that can be played on a real MSX please? I'm really curious to hear this on my MSX.

Van syn

Paragon (1984)

afbeelding van syn

01-09-2020, 13:01

Great stuff

Van msxtrd

Master (231)

afbeelding van msxtrd

01-09-2020, 15:19

Wow, sounds great!

Van ren

Paragon (1532)

afbeelding van ren

01-09-2020, 20:44

Hmm.. This stuff is suitable for some Tim Follin as well, yes? Cool

Van GhostwriterP

Hero (551)

afbeelding van GhostwriterP

01-09-2020, 21:25

...undoubtedly he would have brought this to a hole other level if Konami hired him at the time Wink ...

Quote:

Can you upload music that can be played on a real MSX please? I'm really curious to hear this on my MSX.

How? I have not even started on the stand alone re-player yet Wink

Other than that I made great progress today! I've just implemented the tempo channel, so it is now possible to alter the tempo mid song Smile, how cray is that! Still lots of other things to do though.

Van ro

Guardian (4202)

afbeelding van ro

02-09-2020, 08:29

Hey Ghost, this is exactly the kind of topic's I keep double taps on. As a coder I've written a few, as a dreamer I did hundreds of'm. I love building trackers. Interesting to see one build on extended graphics cards, that's new. The vid show smooth screens, love it. Love the fiddling with instruments/waveforms too. Doing real-time register updates makes new possibilities. No borders, just free thinking.

Good one, mate. I'll be checking in frequently Smile

Van ARTRAG

Enlighted (6455)

afbeelding van ARTRAG

02-09-2020, 09:41

GhostwriterP wrote:
Quote:

Anyway, if you define binary format for exchanging wave file, it could be fun to use it to export speech samples from my voice encoder and import them in your replayer, to be modulated as instruments.

I thought a bit about longer samples (like converting them from PC or so), but unfortunately the way it is setup now it is not easy to implement, besides we have OPL4 for that Wink. Perhaps it could be revisited in the future.

Just a thought, in the replayer, once you have to precompute all the effects applied to the wave samples, you end to play, on each channel, a sequence of 32 samples per frame taken from ram as they are. All the real time processing will limited be on periods and volumes (according to notes and to other effects).
It should be relatively easy to load the sequence of 32 samples with their periods from an external source, e.g. a voce encoder, rather than from the tracker ... Wink

Pagina 3/6
1 | 2 | | 4 | 5 | 6