It is currently Mon Nov 20, 2017 4:47 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Wed Sep 18, 2013 8:00 pm 
Offline

Joined: Sun Sep 08, 2013 7:03 pm
Posts: 45
@cpow: Better yet, I just used Famitracker to export a sound effect as an NES, then ran it under fceux. There is absolutely a delay in Famitracker which alters the sound. It is longer, choppier, and it feels like, as you said, the rendering or something is getting in the way. In the emulator, it's nice and quick.

As it is, this build of Famitracker lets me compose and gives me a rough idea of the sound, but not an accurate one. That's not a huge problem, as far as I'm concerned, because you should test the sound anyway, unless this could potentially stall/crash the program or damage any data.

And now I'll get to work on rebuilding the program. :)

Edit: Btw, what would it take to add MIDI support?


Top
 Profile  
 
PostPosted: Wed Sep 18, 2013 8:11 pm 
Offline

Joined: Sun Sep 08, 2013 7:03 pm
Posts: 45
Regarding _X:
Quote:
Names starting with a _ are reserved for the "system" (roughly compiler+libc) on all systems. In this particular case, _X happens to be #define:d to 0x40, so compilation fails.


That's why.


Top
 Profile  
 
PostPosted: Wed Sep 18, 2013 8:16 pm 
Offline
NESICIDE developer
User avatar

Joined: Mon Oct 13, 2008 7:55 pm
Posts: 1049
Location: Minneapolis, MN
Imperial wrote:
@cpow: Better yet, I just used Famitracker to export a sound effect as an NES, then ran it under fceux. There is absolutely a delay in Famitracker which alters the sound. It is longer, choppier, and it feels like, as you said, the rendering or something is getting in the way. In the emulator, it's nice and quick.

Yeah I am looking into optimizations. Nothing concrete yet.

Imperial wrote:
As it is, this build of Famitracker lets me compose and gives me a rough idea of the sound, but not an accurate one. That's not a huge problem, as far as I'm concerned, because you should test the sound anyway, unless this could potentially stall/crash the program or damage any data.

My general disclaimer is the same as what jsr uses for beta versions. Don't use Qt FamiTracker for anything serious...yet. It is very much a beta beta and there's still some things in it that I know are not quite right [keyboard shortcuts, etc.] but progress is slowly being made. Choppy sound should not crash the program.


Imperial wrote:
And now I'll get to work on rebuilding the program. :)

Edit: Btw, what would it take to add MIDI support?

[/quote]
I just need to find a cross-platformy way to do MIDI, preferably something I can just compile in like SDL. I haven't looked for such a thing but if it exists and you know of it I'll gladly put it on my list.


Top
 Profile  
 
PostPosted: Wed Sep 18, 2013 8:19 pm 
Offline
NESICIDE developer
User avatar

Joined: Mon Oct 13, 2008 7:55 pm
Posts: 1049
Location: Minneapolis, MN
Imperial wrote:
Regarding _X:
Quote:
Names starting with a _ are reserved for the "system" (roughly compiler+libc) on all systems. In this particular case, _X happens to be #define:d to 0x40, so compilation fails.


That's why.


Yes but that's slightly strange given the _X is a *member* of a *class*. But #define does what #define does...regardless of scope...oh well. I have posted to FamiTracker forum and we'll just carry on with the change on our side. When you're satisfied with the OpenBSD build would you mind creating a pull request on GitHub for the necessary changes [including this one]?


Top
 Profile  
 
PostPosted: Wed Sep 18, 2013 8:30 pm 
Offline

Joined: Sun Sep 08, 2013 7:03 pm
Posts: 45
Well, C preprocessor does text replacement, and all. :)

And sure, I'll give you a hand here.

Edit: Pull request.


Top
 Profile  
 
PostPosted: Sat Sep 21, 2013 11:35 pm 
Offline
Site Admin
User avatar

Joined: Mon Sep 20, 2004 6:04 am
Posts: 3484
Location: Indianapolis
cpow wrote:
I just need to find a cross-platformy way to do MIDI, preferably something I can just compile in like SDL. I haven't looked for such a thing but if it exists and you know of it I'll gladly put it on my list.


Previously I was on the search for this too, it's been a couple years since I looked but at the time this seemed to be the best I could find: http://portmedia.sourceforge.net/portmidi/
So far I've only used it in Windows though.


Top
 Profile  
 
PostPosted: Sun Sep 22, 2013 1:29 pm 
Offline

Joined: Sun Sep 08, 2013 7:03 pm
Posts: 45
Memblers wrote:
cpow wrote:
I just need to find a cross-platformy way to do MIDI, preferably something I can just compile in like SDL. I haven't looked for such a thing but if it exists and you know of it I'll gladly put it on my list.


Previously I was on the search for this too, it's been a couple years since I looked but at the time this seemed to be the best I could find: http://portmedia.sourceforge.net/portmidi/
So far I've only used it in Windows though.

From portmidi's README_LINUX.txt:
Quote:
README_LINUX.txt for PortMidi
Roger Dannenberg
14 Oct 2009

To make PortMidi, you need cmake and the Java SDK

It might not be a big deal, but then the dependencies would include Qt 4, SDL, wine-dev, cmake, gmake, and Java. Personally, I don't feel that great about needing Java just do MIDI. Since MIDI isn't crucial, you might use PortMidi but make it a completely optional component at build-time. (EDIT:) Granted, of course, those are all things you should probably have installed as a programmer anyway.

I'm just thinking about this in the case of maintaining a BSD port for Nesicide in the future.


Top
 Profile  
 
PostPosted: Mon Sep 23, 2013 10:24 pm 
Offline

Joined: Sun Sep 08, 2013 7:03 pm
Posts: 45
It just occurred to me that Qt and SDL are both available to C4droid. I don't know that it'll be compatible with Qt4 or not, but that'll come up.

So, let me see if I can get FamiTracker on Android, hmm? :)

Edit: It looks like it should compile, but there are a couple of errors similar to those I came across earlier while building on OpenBSD. If it succeeds, I'm really curious how it will look and work, or if it will at all, on Android... And yes, I have those wine headers on my Nexus now.

I emailed the author of C4droid about building FamiTracker and got this quick (and slightly snarky) response:
Quote:
Qt can't be used at the same time with SDL, these input/output systems are independent and incompatible on Android.
P.S. I don't know why someone uses SDL with Qt...


Top
 Profile  
 
PostPosted: Tue Oct 22, 2013 6:08 am 
Offline

Joined: Tue Jun 28, 2011 2:39 pm
Posts: 152
tepples wrote:
Here's what I have in FT/Wine
Attachment:
FT_Wine_cfg.png

44.1 kHz, 16-bit, 250 ms buffer, high-pass 16 Hz, low-pass -24 dB 12 kHz, 100% volume

By "half speed" I don't mean the pitch was low. I mean it sounds like frames of audio were being repeated, and low pitches were distorted beyond recognition. The slowdown tended to increase when I navigated through menus and dialogs and especially when I alt-tabbed to Firefox to write my testing report. Xfce Task Manager reported fairly high CPU usage.

Yesterday, I got FCEUX audio working in Wine. So it appears Wine audio improved greatly from the version in 10.04 to the version I'm running.

EDIT: cpow's burn-down list


When I was using Linux, I've had similar issue to what you are describing. What I've done was to stop using shitty ALSA and used PulseAudio. If you are already PulseAudio, please tell me your PA configuration. Maybe all that is needed is to change few things? Most likely when I'll see your PA configuration (if you are already using it), I'd be able to tell what's wrong.


Top
 Profile  
 
PostPosted: Tue Oct 22, 2013 10:32 am 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6446
Location: UK (temporarily)
darkhog wrote:
shitty ALSA and used PulseAudio
<snicker>
<laugh>
<guffaw>
<roll on the floor laughing>

Oh man, oh man, do you even realize what you said? That's comedy gold.

PulseAudio is a terrible wrapper around ALSA that marginally less terrible than the previous terrible wrapper around ALSA (dmix). I'd try disabling dmix before I tried enabling that piece of crap.


Top
 Profile  
 
PostPosted: Tue Mar 18, 2014 11:27 am 
Offline
NESICIDE developer
User avatar

Joined: Mon Oct 13, 2008 7:55 pm
Posts: 1049
Location: Minneapolis, MN
I've put out a 32-bit Linux [Ubuntu 12.10] build of Qt FamiTracker here.

Still a 'pre-release' but many things have been getting significantly better with it in recent days, so I figured it's time to try to get some user feedback.

It's based on MFC FamiTracker 0.4.2.

You *should* only need SDL 1.2 to get it up and running. And, since I had to tell tepples I'm sure others might want to know:

Code:
LD_LIBRARY_PATH=. ./famitracker &

Do ^ this where you extract the tarball to start it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 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