Jump to content
IGNORED

Hardsynth


emkay

Recommended Posts

(hm this one with a cool baseline and some percussions  :ponder: )

 

well, where are the baseline+percussions then ??? :ponder: I didn't hear any in the testsong.

886768[/snapback]

 

 

You mean this?

886786[/snapback]

 

:cool: yes, that's what I mean..

 

Cool tune. Do you have plans with this (i.e. to finetune melodies for instance), then I can give you some (more harmonic) suggestions on the arpeggios in the first part.

Link to comment
Share on other sites

(hm this one with a cool baseline and some percussions  :ponder: )

 

well, where are the baseline+percussions then ??? :ponder: I didn't hear any in the testsong.

886768[/snapback]

 

 

You mean this?

886786[/snapback]

 

:cool: yes, that's what I mean..

 

Cool tune. Do you have plans with this (i.e. to finetune melodies for instance), then I can give you some (more harmonic) suggestions on the arpeggios in the first part.

886889[/snapback]

 

Ähm.... for me it's perfect (you will recognize heavy miss-tones in the editor) .... mpls.... you have mail ;)

.... though pokeys is mearly singing this tune :D

Edited by emkay
Link to comment
Share on other sites

Do you have plans with this (i.e. to finetune melodies for instance), then I can give you some (more harmonic) suggestions on the arpeggios in the first part.

886889[/snapback]

 

 

reacting to your suggestion, here another waste of an evening ;) for some changes on the main voice.

I added a second instrument... a third one will be necessary, I think.

Link to comment
Share on other sites

Okay, for everyone that has a (only) a (buggy) emulator. Here's some real pokey music: mp3's recorded from a real (single) pokey from my home PAL atari 800 xl. These tunes were posted in this thread earlier.

 

BE AWARE: THIS IS WHAT POKEY IS ABLE TO DO!!!!

 

http://www.phys.uu.nl/~bpos/mp3/emkay_rmt_funnystep.mp3

 

http://www.phys.uu.nl/~bpos/mp3/emkay_rmt_violinofdoom.mp3

 

http://www.phys.uu.nl/~bpos/mp3/emkay_rmt_turrican.mp3

Link to comment
Share on other sites

emkay...i have a new tool for you... have a look here...

 

http://www.cncd.fi/aeeben/

 

there is a vic-20 soundmon... :D maybe you can push this very old chip as well...

888490[/snapback]

 

Perhaps, when POKEY's hi level programming is optimized to the real limits ;)

 

I'm not really "pushing POKEY" , it's just usage of what pokey can do by "simple" programming with the features of RMT, though pokey ever had the abilities of using 15kHz-filter ...

 

Try to "combinate" one 15kHz filter-voice (as in the turrican tune) with the 1.79MHz filter-voice (Violin of Doom) plus two softsynth channels.... at the same time.

:ponder:

Link to comment
Share on other sites

....Try to "combinate" one 15kHz filter-voice (as in the turrican tune) with the 1.79MHz filter-voice (Violin of Doom) plus two softsynth channels.... at the same time.

  :ponder:

 

I don't know....for softsynth you usually need a pokey timer interrupt for which one channel's frequency pulse is triggering IRQ on the cpu. 15kHz filter + 1.79MHz filter already use 4 channels, plus, you can only use channels 1,2 or 4 for IRQ triggering...so when you use 2 hardsynth voices (ch. 1,2) for the main pitches, then you'd only have channel 4 left, but this is also used for channel 2 filter pitch.

 

Another possibility would be off course a software timer: i.e. like a variable waiting loop (for 2 softsynth voices you'd need 2 simultanteous waiting loops), which updates volume-only-channels. This loop's length depends on the played notes (like a wavelength value)....though I wonder whether it's possible to have the first two channels generating hardsynth sounds and for the other two, while their frequency registers are used for filtering the first two channels, at the same time their volume registers are used for playing back samples.

 

....so I think I have an idea how to do that, but will we ever see (hear :D ) this kind of thing on the Atari, when there are nowadays only two fools on the atariage forum that spend some of their (free) time to experiment with RMT. :ponder:

Edited by analmux
Link to comment
Share on other sites

Another possibility would be off course a software timer: i.e. like a variable waiting loop (for 2 softsynth voices you'd need 2 simultanteous waiting loops), which updates volume-only-channels. This loop's length depends on the played notes (like a wavelength value)....though I wonder whether it's possible to have the first two channels generating hardsynth sounds and for the other two, while their frequency registers are used for filtering the first two channels, at the same time their volume registers are used for playing back samples.

 

 

Software-controlled would be ok, because only "low" tones would be needed to create by "digitizing". POKEY itself gives enough possibilites to create & manipulate high tones.

 

....so I think I have an idea how to do that, but will we ever see (hear  :D ) this kind of thing on the Atari, when there are nowadays only two fools on the atariage forum that spend some of their (free) time to experiment with RMT.  :ponder:

888836[/snapback]

 

 

Compared to ~ 6 Billion people on earth, "two" really seems rather low ;)

Link to comment
Share on other sites

On an actual Atari, would you have enough processing power to run those in the background of a game?

889276[/snapback]

 

Yes, as emkay said, 50Hz programming means that the player that actually plays the music does work inside a Vertical Blank interrupt. Maybe you've once seen a .xex working of one of the RMT songs. Then, when you see a light bar in the middle of the screen, that's an indicator of how much CPU cycles the player takes.

 

You can see that an average RMT executable takes about 16-22 rasterlines (114 cycles per rastrerline)....this is about 7% of the total CPU time. This is quite usual for ingame music.....though when you do optimizations maybe you'll end up with just 4 or 5 % of cputime

Link to comment
Share on other sites

Now, hear this testrecording: it's a pokey playing triangle waves with 2 combined voices, that's all I have to say. maybe someone can guess how I did it :)

 

http://www.phys.uu.nl/~bpos/mp3/triangles.mp3

 

...note: the fact that I didn't just post a .xex of this can be explained by this: when I do this in the emulator it just remains plain silent

Edited by analmux
Link to comment
Share on other sites

Now, hear this testrecording: it's a pokey playing triangle waves with 2 combined voices, that's all I have to say. maybe someone can guess how I did it  :)

 

http://www.phys.uu.nl/~bpos/mp3/triangles.mp3

 

...note: the fact that I didn't just post a .xex of this can be explained by this: when I do this in the emulator it just remains plain silent

889375[/snapback]

 

 

If the emulation could bring us this sounds, too , we would have a full "new" POKEY sound-world available. Which means soft- and almost noiseless music.

Link to comment
Share on other sites

Ladies & gentlemen,

 

you're supposed to hear an amiga MOD file with digitized samples from a Midi-system and a C64 and the cpu usage is about 100% to have this sounding accuracy....

 

 

 

NOT!

 

:ponder:  :D

889637[/snapback]

 

Okay, here's an update of the recording:

http://www.phys.uu.nl/~bpos/mp3/emkay_rmt_turrican.mp3

 

...and here's my experiment with triangle waveforms inplemented in the 'violin of doom' song:

http://www.phys.uu.nl/~bpos/mp3/violin_triangles.mp3

You may notice that (unfortunately) the triangle waveforms give a slightly destructive effect (interference?) on the other channels.

Link to comment
Share on other sites

 

...and here's my experiment with triangle waveforms inplemented in the 'violin of doom' song:

http://www.phys.uu.nl/~bpos/mp3/violin_triangles.mp3

You may notice that (unfortunately) the triangle waveforms give a slightly destructive effect (interference?) on the other channels.

889666[/snapback]

 

 

OK. Volume correction is the plot here.

But, something must be wrong here. I remember experimenting with this sounds (lightyears ago ;) ), having a way louder tone.

Have you experimented with volume changes?

Perhaps giving a try to build an arpeggio with filtered/unfiltered sounds?

Link to comment
Share on other sites

OK. Volume correction is the plot here.

But, something must be wrong here. I remember experimenting with this sounds (lightyears ago ;) ), having a way louder tone.

Have you experimented with volume changes?

Perhaps giving a try to build an arpeggio with filtered/unfiltered sounds?

889695[/snapback]

 

...but didn't you need more than 2 voices for your 'flute' sound? maybe I can try similar things...though the triangle waves in the 'violin' song are at max. volume, so another solution is making sounds on the other channels more silent.

 

maybe this is the reason why there's destructive interference: your drum&bass instruments are at vol.15, and both combined triangle wave channels are at vol.15: I remember there was a rule that in order to kill heavy distortions you should keep total volume (=added volumes of all 4 channels) under 32 :ponder:

Link to comment
Share on other sites

OK the triangle wave trick is as follows:

 

we use channel 1 and 3 at 1.79mhz, but without filtering.

now poking relatively high values to audf1 and audf3 results in inaudible high notes (above 20 khz), but when they differ slightly, they interfere, giving a sub-harmonic tone

 

the frequency FR of the resulting tone is:

FR = (F1 - F3) /2

 

knowing that (with known pitch P1 and P3 values) F1 and F3 are given by this:

F1 = Phi/(2*(P1+4)) ; F3 = Phi/(2*(P3+4)) where Phi is the main computer clock (PAL: Phi = 1773447, NTSC: Phi = 1789790)

 

Now, if we set a pitch P1 = P and P3 = P+1 we get minimal unwanted overtones

 

Turning on the real hardware you may do this:

* first make sure all voices are enabled:

sound 0,100,10,10 : end

 

then

Pokey=53760: poke Pokey+8,96: poke Pokey+1,175:poke Pokey+5,175

 

Here: distortion A and volume F is used on both channels 1 and 3, and 1.79mhz clocking is turned on

 

then

poke Pokey,27: poke Pokey+4,28

Then, on PAL machines, you might hear a 440Hz note (A)

 

.....

Now, how to compute the pitch values from the needed frequency:

 

If P3 = P1 + 1, then:

FR = Phi/(2*(P1+4)*(P1+5))

 

inverting this relation to get P1 from FR we apply the abc-formula:

P1 = -4.5 + 0.5*SQR(1+Phi/FR)

 

voila:

so now:

poke Pokey,P1: poke Pokey+4,P1+1

gives the wanted frequency.

 

Similar formulas can be constructed for filtered instruments e.a.

Edited by analmux
Link to comment
Share on other sites

ehmmm....that's exactly why i haven't studied physics and math... ;)

890483[/snapback]

 

This isn't really difficult to understand :)

 

With the pokey we have two possibilities to play correct notes.

 

One is to use 16Bit

One is to use filter with different frequencies (including the possibility of creating triangles with two channels).

 

Actually, both are not supported by RMT.

 

The 16bit functionality is "blocked" and the 100% filter usage isn't given due to the still buggy emulation. Even the high quality emulation in the A800win plus 4 has it's flaws.

So what's easier?

Creating an RMT that is running on a real machine, or to create a pokey emulation with 100% sounding accuracy?

 

 

Listening, what we got already:

 

almost clean sawtooth waves: Violin

almost clean triangle waves: Flute

Guitar, Trombone etc...pp

And "controll-able random" waves for a huge variation of "soundings" even usable for music.

 

But, only if we have "one" complete piece (full POKEY supporting Tracker with all the good features of RMT & a full working POKEY environment" for creating pokey music... Some guys really will be astonished.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...