Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
21 May, 2013, 11:11:44 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 [2] 3   Go Down
  Print  
Author Topic: [FXes and PRzim] MAking sound -  (Read 1398 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 08:22:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50208


Total Post Ratings: +2612

View Profile WWW
« Reply #15 on: 08 February, 2012, 21:49:21 »
0

Given the Prizm and FX-9860G series got much faster CPUs than the 84+, I wonder if better sound than the 8 bit chiptunes from some 83+/84+ programs could be produced, such as Sega Genesis, Turbografx-16/PCEngine or PC88?

<a href="http://www.youtube.com/watch?v=fHO5FMlqqVk" target="_blank">http://www.youtube.com/watch?v=fHO5FMlqqVk</a>

Now if only there was also a way to make volume higher...
« Last Edit: 08 February, 2012, 21:53:07 by DJ_O » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Eiyeron
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 07 January, 2013, 20:29:04
Date Registered: 09 August, 2011, 16:51:22
Location: Err 404.
Posts: 552


Topic starter
Total Post Ratings: +19

View Profile WWW
« Reply #16 on: 08 February, 2012, 22:04:02 »
-1

Genesis is 16-bit sampled music, sorry! :p
EDITED:
Yeah, I think there is Sample system like SNES: It uses PCm, and 2minutes loop of plain music would be a little big for a cartrige, no?
Okay, I'm tired, I seem to be trolling, but I don't want to be hurting...
« Last Edit: 08 February, 2012, 22:13:49 by Eiyeron » Logged




DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 08:22:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50208


Total Post Ratings: +2612

View Profile WWW
« Reply #17 on: 08 February, 2012, 22:06:44 »
0

Uhm sorry? I thought Genesis music was generated by the z80 CPU in the console? I do not recall Sega Genesis music using MIDI-like format like on the SNES (songs made of plenty of instrument samples) and it's nowhere close to WAV format (else quality would probably be terrible due to the ridiculous compression needed anyway).
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Eiyeron
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 07 January, 2013, 20:29:04
Date Registered: 09 August, 2011, 16:51:22
Location: Err 404.
Posts: 552


Topic starter
Total Post Ratings: +19

View Profile WWW
« Reply #18 on: 08 February, 2012, 22:15:39 »
+1

I think I misunderstood myself:
1-I think that MD/genesis uses FM and sample system.
2- longs plain audio files would be a little big for a cart, wouldn't it?
3- Excuse-me for my rudeness, I'm not accostumed with a neutral community (was on forums with an atmosphere more "only with firends")
4- And I think that Prizm... Oh, nevermind, maybe someone will show us a little good project, with beautiful graphics and marvellous music... GO FOR IT!
« Last Edit: 08 February, 2012, 22:22:23 by Eiyeron » Logged




DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 08:22:03
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50208


Total Post Ratings: +2612

View Profile WWW
« Reply #19 on: 08 February, 2012, 22:32:44 »
0

Well I just thought that if Sega Genesis music in every game used samples that the sound would be like in most SNES music rather than some chiptune-like bass and sounds. But again maybe they do. And yeah both consoles can't definitively support full actual songs, else they would take the entire cartridge even at extremely low compression.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Total Post Ratings: +28

View Profile WWW
« Reply #20 on: 09 February, 2012, 16:06:00 »
0

Given the Prizm and FX-9860G series got much faster CPUs than the 84+, I wonder if better sound than the 8 bit chiptunes from some 83+/84+ programs could be produced, such as Sega Genesis, Turbografx-16/PCEngine or PC88?
What quality do you expect ?
The uart running 1 bit D/A mode (without any HW support) is very expensive.
Assume we want output 8bit samples on 22 KHz mono (the worst quality which may be acceptable).
So we have 8 bit samples => 256 different values, so to send 1 sample we have to transmit 255 bits (round up to 256 bits =>  32 bytes).
This means we need to prepare 704000 bytes each second and overclock uart to 7040000 bps (count 10 bits for byte because of start bit and stop bit). The uart has fifo of 64 bytes, so the interrupt should fire each (less than) 90 us.
This all seems to be OK, but the 9860 is simply not capable of doing this.
My player runs uart on ~ 1.8 Mbps well, I tried double speed when measuring, but simple loop like

1
2
3
4
5
6
7
volatile i;
...
while(i)  //timer will reset after 1 second
{
com_transmit(0);
count++;
}
was not able to push bytes quick enough.
Logged
Eiyeron
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 07 January, 2013, 20:29:04
Date Registered: 09 August, 2011, 16:51:22
Location: Err 404.
Posts: 552


Topic starter
Total Post Ratings: +19

View Profile WWW
« Reply #21 on: 09 February, 2012, 16:23:48 »
0

and register i?
Logged




MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Total Post Ratings: +28

View Profile WWW
« Reply #22 on: 09 February, 2012, 17:05:41 »
0

and register i?
The delay is in "com_transmit(0);" Communication with hardware is always much slower than memory access.
Logged
Eiyeron
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 07 January, 2013, 20:29:04
Date Registered: 09 August, 2011, 16:51:22
Location: Err 404.
Posts: 552


Topic starter
Total Post Ratings: +19

View Profile WWW
« Reply #23 on: 09 February, 2012, 17:32:52 »
0

Ah, nevermind! :p
Logged




PierrotLL
LV1 Newcomer (Next: 20)
*
Offline Offline

Gender: Male
Last Login: 02 December, 2012, 19:26:25
Date Registered: 14 February, 2011, 23:12:59
Location: France
Posts: 19


Total Post Ratings: +2

View Profile
« Reply #24 on: 13 February, 2012, 21:35:08 »
0

Just open the COM port on 9600 bps, no parity, 8 bits and output byte 0x55 in a loop.

Thanks Smiley
Logged

Eiyeron
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 07 January, 2013, 20:29:04
Date Registered: 09 August, 2011, 16:51:22
Location: Err 404.
Posts: 552


Topic starter
Total Post Ratings: +19

View Profile WWW
« Reply #25 on: 13 February, 2012, 21:53:25 »
0

Interessed, Pierrot? I think you could have enough experience to lead us, nah?
Logged




flyingfisch
I'm 1337 now!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 04:03:03
Date Registered: 26 August, 2011, 21:18:14
Location: OH, USA
Posts: 1483


Total Post Ratings: +74

View Profile WWW
« Reply #26 on: 17 February, 2012, 17:28:58 »
0

Interessed, Pierrot? I think you could have enough experience to lead us, nah?

Hehe :-,
Logged




Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0
Eiyeron
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 07 January, 2013, 20:29:04
Date Registered: 09 August, 2011, 16:51:22
Location: Err 404.
Posts: 552


Topic starter
Total Post Ratings: +19

View Profile WWW
« Reply #27 on: 17 February, 2012, 17:32:16 »
0

One of the best French programmers
Logged




flyingfisch
I'm 1337 now!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 04:03:03
Date Registered: 26 August, 2011, 21:18:14
Location: OH, USA
Posts: 1483


Total Post Ratings: +74

View Profile WWW
« Reply #28 on: 17 February, 2012, 17:41:37 »
0

One of the best French programmers

I know! That's why I said 'hehe' Cheesy Because he does have enough experience (look at gravity duck)
Logged




Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0
Eiyeron
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 07 January, 2013, 20:29:04
Date Registered: 09 August, 2011, 16:51:22
Location: Err 404.
Posts: 552


Topic starter
Total Post Ratings: +19

View Profile WWW
« Reply #29 on: 17 February, 2012, 17:49:35 »
0

I'm think too about KevKevVTT, he has too got good talent..
Logged




Pages: 1 [2] 3   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.198 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.