DSD 1.4 and mbelib 1.2.3 released

Status
Not open for further replies.

nycap

Member
Joined
Mar 13, 2008
Messages
196
i need help please! i have no idea how to fix these undefined reference errors. is a header file missing? is a library file missing? has anyone else succesfully built dsd in ubuntu 12.10?
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,452
Location
Carroll Co OH / EN90LN
Copy the .o files from the mbelib directory into your dsd directory and run make again and see what happens.

And yeah, it also might be looking for the mbelib.h in /usr/local/source and some other files in /usr/local/lib (such as libmbe.a, libmbe.so, libmbe.so.1)

I dont have ubuntu in front of me to verify any of that. Just going by my win builds.

Mike
 
Last edited:

nycap

Member
Joined
Mar 13, 2008
Messages
196
i copied and pasted the .o files and got the same error. thanks anyways. any other ideas? cuz ive been looking online for a while and cant find a header file to add or something easy like that. How do we define these refernces? is like defining a variable? have not found anything on this in the fourums yet.
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,452
Location
Carroll Co OH / EN90LN
i copied and pasted the .o files and got the same error. thanks anyways. any other ideas? cuz ive been looking online for a while and cant find a header file to add or something easy like that. How do we define these refernces? is like defining a variable? have not found anything on this in the fourums yet.

There is no reason to expect that information would be in these forums. These aren't programming how-to forums. For the majority of people, it compiles just fine as log as you do an "sudo make" and then an "sudo make install" (for the stuff in the mbelib source directory) before you perform a "make" on the stuff in the dsd source directory.

I'm not a programmer. It either can't find mbelib.h (generated during the "sudo make install" process of mbelib) or the mbelib-specific .o files (generated during the "sudo make" process of mbelib).

I think it looks for the mbe libraries in /usr/local/lib/ and the mbelib.h in /usr/local/include/

You can try to make sure the .o files from the mbelib directory are copied to the dsd source directory and to /usr/local/lib/ directory. You can try to make sure the mbelib.h file from the mbelib directory is copied to the dsd source directory and to the /usr/local/include/ directory.

The dsd.h file in the dsd source directory is where the mbelib.h is included. Depending upon how you set up that include, you can be very specific about where it pulls in mbelib.h from (you can specify a full path in the include line if you do it right).

You really shouldn't have to go through all of this hassle though, if you are using the pristine DSD 1.4.x code that is linked in the wiki. If you are using some modified source and the person who modified that source changed things around,you might have problems.

Mike
 
Last edited:

nycap

Member
Joined
Mar 13, 2008
Messages
196
i used the master files from git-hub. but .... low and behold i found some new make files in this thread and was able to compile without error.

Now; this is going to sound really dumb but i cant get it running. please know that i am very new to ubuntu and programming. dsd is not in the "dash home" and i clicked on the dsd icon in the dsd-master dir but nothing happens. any idea about how to run the program?

Thanks again.
 
Last edited:

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,452
Location
Carroll Co OH / EN90LN
Run it from a shell/terminal. It requires that options be specified after it. Simply running 'dsd' will produce a quick help/about section indicating the options and then it will close if you are running it from a GUI. If you now how, add options to the shortcut so that when you click on the icon it feeds the appropriate options to dsd.

If I were you I'd open a terminal, navigate to where the dsd binary is, and do something like:

dsd -i /dev/audio -o /dev/audio

Somebody else will need to help you if you need further assistance. I'm not running it on unix.

Mike
 

nycap

Member
Joined
Mar 13, 2008
Messages
196
yes so i just type "dsd" and it runs (embarassing). problem now is that it says "couldnt open /dev/audio". does this mean there is an issue with my sound card? what can i do? Thanks in advance.
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Location
Virginia
First ... run some of the audio applications included with Ubuntu. Can you play music? Any VOIP applications (like Skype) that work?

Once you've confirmed Ubuntu is happy with your hardware you can move on.

At some point Ubuntu switched to using Pulse Audio (version 8.04 I think).

https://wiki.ubuntu.com/PulseAudio

This broke DSD usage on Ubuntu for many. Linux does not allow shared access to audio devices. Someone posted a Pulse Audio patch for DSD. It's somewhere in this forum.

Another option is to kill the Pulse Audio daemon. With the daemon out of the way, DSD should be able to connect directly to the /dev/audio device.
 

rbrtklamp2

Member
Premium Subscriber
Joined
Dec 8, 2005
Messages
877
Location
Dupage County, Illinois
DSD works best when run with Ubuntu 10.04.4 something about the way the audio is fed into the sound card changed between 10.04 and more recent versions. I think I posted some links with instructions somewhere back in this thread search for those and use Ubuntu 10.04 and you should be good to go.

Hope this helps,
Bob
 

nycap

Member
Joined
Mar 13, 2008
Messages
196
my decodes are no good though (trbo or p25). everytime its a voice frame it sounds choppy and the display looks something like: e-------r------r-----------e--------r--------r-------

what would be a common cuase of this?
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,452
Location
Carroll Co OH / EN90LN
my decodes are no good though (trbo or p25). everytime its a voice frame it sounds choppy and the display looks something like: e-------r------r-----------e--------r--------r-------

what would be a common cuase of this?

In no particular order:

  • A bad tap
  • Improper audio settings -- shoot for approx 30 INLVL in DSD
  • Weak signal
  • Running Linux on a Celeron figuring that it'll miraculously perform like an i7 running Windows simply because you're running Linux

I'm sure a lot of people do the last one. There is no miracle cure for lack of raw CPU power. A Multi-core HT processor is the way to go.

Also, keep in mind if you compiled DSD from 1.4.x pristine source, you're missing some of the bug fixes and performance enhancements that were added to later Win binaries. One notable one is the raised cosine filter [which is absent in 1.4]. It really makes a difference on weak [and even not so weak] TRBO. And there has been a fix for a particular crash problem that exists in 1.4.

In another thread [I don't remember which one], there were many fixes outlined by EricCotrell, Unitrunker, and others. Various source code snippets were mentioned, and if one really cares to try they can make the edits to a few files in the mbelib and dsd source to really make it a better performer.

The following thread [esp the latter part of it] is a good read: http://forums.radioreference.com/di...e/256111-dsd-1-6-closed-fork-open-source.html

Mike
 
Last edited:

nycap

Member
Joined
Mar 13, 2008
Messages
196
mtindor;1903211 [LIST said:
[*]A bad tap
[*]Improper audio settings -- shoot for approx 30 INLVL in DSD
[*]Weak signal
[*]Running Linux on a Celeron figuring that it'll miraculously perform like an i7 running Windows simply because you're running Linux
[/LIST]
...................
Also, keep in mind if you compiled DSD from 1.4.x pristine source, you're missing some of the bug fixes and performance enhancements that were added to later Win binaries.

How do i adjust audio settings to 30 INVLV in DSD? what is 30 INVLV in DSD for that matter? Will the bug fixes and performance enhancements that were added to later Win binaries work for Ubuntu?

Thanks a bunch
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,452
Location
Carroll Co OH / EN90LN
How do i adjust audio settings to 30 INVLV in DSD? what is 30 INVLV in DSD for that matter? Will the bug fixes and performance enhancements that were added to later Win binaries work for Ubuntu?

Thanks a bunch

If DSD is running and you're tuned to an active audio stream and DSD is scrolling, one of the things you are going to see on each line is INLVL. If the number next to it is too high, your audio is too strong and you need to lower it. If the number next to it is too low, you need to increase volume.

As far as increasing/decreasing volume of your input/output devices, you'll have to figure that one out in Ubuntu.

The bug fixes and performance enhancements will certainly work on Ubuntu, but you've got to make those code changes to the source and recompile. there is no source online that already has those changes in it.

Mike
 

AmpedForay

Member
Joined
Apr 15, 2013
Messages
23
I'm trying to install DSD, but am having problems locating a download site. The site referenced on the RR wiki leads to a site with all the files separated and downloadable only in html format. Could someone please share the tar with me, or help me to figure this out.

Thanks,
Ampe
ampedforay@yahoo.com
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
11,452
Location
Carroll Co OH / EN90LN
I'm trying to install DSD, but am having problems locating a download site. The site referenced on the RR wiki leads to a site with all the files separated and downloadable only in html format. Could someone please share the tar with me, or help me to figure this out.

Thanks,
Ampe
ampedforay@yahoo.com

I assume you want the non-Win version. If you go to the wiki and click on the links for dsd-1.4.1-src.tar and mbelib-1.2.3-src.tar, on the resultant pages there is an icon for ZIP. Click it and it will allow you to download a zipfile of each archive. No tar files. There used to be on github, but not anymore.

Just download the zips from the respective github links.

Mike
 

AmpedForay

Member
Joined
Apr 15, 2013
Messages
23
Thanks

Thanks Mike, got it.

Sorry for cross posting. Once I realized that this thread was by the author of the software, I thought this might be a better place to ask the question. I would delete the other thread if I knew how.

Thanks again!

Ampe
ampedforay@yahoo.com
 
Status
Not open for further replies.
Top