It is currently Tue Dec 18, 2018 6:25 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Aug 17, 2018 10:24 am 
Offline

Joined: Tue Aug 14, 2018 6:10 am
Posts: 2
Hello everyone. (Apologies if this is posted in the wrong thread. I'm new here.)

I have somewhat of an odd-ball task at hand and am wondering if it's even worth continuing to explore, hence registering for this forum and asking for advice =).

I'm currently in the middle of porting a game my team and I wrote for an arduino platform to the new ODROID-GO. For the port, I manually migrated the music over to Famitracker and got the device to play music via LibGME and it sounds exactly as I envisioned: (demo: https://twitter.com/ModusJesus/status/1 ... 7681816576)

After getting this prototype to work, I decided to dive into the internals of LibGME to understand if I could generate SFX by leveraging C++ to take control of the registers in the APU Emulation and am running into problems. My hypothesis is that I could play an NSF (generated by Famitracker) and mute any particular channel via APU register writes and once the SFX is done, "release control" of the channel so that music would resume.

Has anyone attempted this? I have an active prototype working, but managing the timing of control of a particular channel and it's length is proving extremely challenging.

Am I nuts for attempting this?


Top
 Profile  
 
PostPosted: Wed Aug 29, 2018 12:15 pm 
Offline

Joined: Tue Aug 14, 2018 6:10 am
Posts: 2
Given the deafening sounds of crickets, I am going to assume that the idea is definitely not worth the time. =)

Thanks to all who at least read the request and considered a response. This is a great community! Thank you to all of you who contributed to the wealth of documentation. I've learned a ton from what's been published and discussed here.


Top
 Profile  
 
PostPosted: Wed Aug 29, 2018 6:15 pm 
Offline
User avatar

Joined: Tue Jun 24, 2008 8:38 pm
Posts: 2131
Location: Fukuoka, Japan
If that make you feel better I never saw that first mail at all so maybe I'm not the only one that missed it :lol:

Since I do not know libGME I wouldn't be able to help you much on it but I would try instead to find a way to play the sounfx in a different thread or something, maybe with the same library? It's not like you are programming on the nes where you have no choice to mute the APU channels to be able to play sound fx: you can just play sound fx and mix them with the main one unless you want to reproduce what the nes does? This is the part I'm not sure about.

Maybe some people with libGME may be able to help you how that this thread has at the least 3 messages so it may get their attention, who knows? :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Gilbert, iOSBrett, lazigamer and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group