Giter VIP home page Giter VIP logo

Comments (11)

f4exb avatar f4exb commented on August 30, 2024

Hello,

can you please try with one of the provided samples? Assuming your current directory is the root of the cloned repository and dsdccx is in the path (adapt to your needs):

sox -t s16 -r 48k -c 1 samples/dstar_f1zil_1.dis -t s16 -r 48k -c 1 - | dsdccx -i - -fa -o - | play -q -t s16 -r 8k -c 1 -

Of course sox must be installed (sudo apt-get install sox).

You should hear a fragment of conversation in French.

Best regards.

from dsdcc.

sv1 avatar sv1 commented on August 30, 2024

from dsdcc.

f4exb avatar f4exb commented on August 30, 2024

Please make sure you type the command exactly as it is written. Output is at 8k so if the system default of 48k is used for audio the pitch will be 6x higher than original.

from dsdcc.

sv1 avatar sv1 commented on August 30, 2024

from dsdcc.

f4exb avatar f4exb commented on August 30, 2024

There may be some memory pointer corruption somewhere. the string "ABCDEFGHIJKLMNOPQRSTUVWX" appears only in locator.cpp:

std::string const Locator::m_lon_array3 = "ABCDEFGHIJKLMNOPQRSTUVWX";
std::string const Locator::m_lat_array3 = "ABCDEFGHIJKLMNOPQRSTUVWX";

This is the Maidenhead locator calculator and there is no valid reason this string should be found on the audio output!

However I am unable to reproduce.

Try to start again from scratch: cmake... make... make install...

from dsdcc.

f4exb avatar f4exb commented on August 30, 2024

It appears there is a problem when compiling in release mode. Try -DCMAKE_BUILD_TYPE=Debug as a workaround

from dsdcc.

f4exb avatar f4exb commented on August 30, 2024

Can you please try the latest version or install the .deb package here: https://github.com/f4exb/dsdcc/releases/tag/v1.6.0

I tried the binary installed from the package and I don have a problem anymore.

from dsdcc.

sv1 avatar sv1 commented on August 30, 2024

from dsdcc.

f4exb avatar f4exb commented on August 30, 2024

Indeed I am building on a Ubuntu 16.04 system that has more recent libstdc++.

Assuming mbelib is installed in /opt/install/mbelib and you install dsdcc in /opt/install/dsdcc the cmake command should be:

cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/opt/install/dsdcc -DUSE_MBELIB=ON -DLIBMBE_INCLUDE_DIR=/opt/install/mbelib/include -DLIBMBE_LIBRARY=/opt/install/mbelib/lib/libmbe.so ..

If you have no sound it looks like it was not compiled with mbelib support. A sign is also that if you don't have mbelib support the "MBE:" lines scroll very fast (it is not paced with actual audio).

from dsdcc.

sv1 avatar sv1 commented on August 30, 2024

from dsdcc.

f4exb avatar f4exb commented on August 30, 2024

Well originally I wanted to make sure people understand the controversial views about possible copyright infringements of mbelib and make the final decision.

However the Debian package just embeds mbelib for convenience.

So if it now works I think we can say release v1.6.0 fixes the problem.

from dsdcc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.