<div dir="ltr"><span style="font-family:monospace,monospace">Hello friends,<br>Hello Matt,<br><br>I am having problems in my first steps with WDSP library under linux.<br>With the very minimal example that I copy below, everything runs fine.<br>see: <a href="http://ea3ghs.qrp.cat/332-tx-fm.png">http://ea3ghs.qrp.cat/332-tx-fm.png</a><br><br>But if I call <span style="color:rgb(0,0,255)"><span style="background-color:rgb(255,255,255)">SetTXABandpassFreqs(1,-3000,3000)</span></span> the output signal disappears !!!.<br><br>This problem also appears in other modes than FM.<br>I think I am not initializing correctly the library, but in<br>the documentation says nothing about the correct (init) procedure.<br><br>Could you give some clues?<br>Thanks in advance,<br>Eduardo EA3GHS<br><br><span style="color:rgb(0,0,255)">//WDSP EXAMPLE<br>//complete code: <a href="http://ea3ghs.qrp.cat/332c.tgz">http://ea3ghs.qrp.cat/332c.tgz</a><br>main()<br>{<br>SNDReset();<br><br>OpenChannel(1, FRAMES, 2048, 48000, 48000, 48000, 1, 0, 0.010, 0.025, 0.000, 0.010, 0);<br>SetTXAMode(1,TXA_FM);<br>TXASetNC(1, 2048);<br>TXASetMP(1, 0);<br>//SetTXABandpassFreqs(1,-3000,3000);  //if I activate this line, I will have no output signal<br>SetChannelState (1,1,1);<br><br>while(1)<br>    {<br>    SNDRead(); //blocking read call<br>    for(i=0;i<BUF;i++){in[i]=(double)rdbuf[i];in[i]/=0x7fff;}<br>    e=0; do {fexchange0(1,in,out,&e);} while(e);<br>    for(i=0;i<BUF;i++){wrbuf[i]=(s16)(out[i]*0x7fff);}<br>    SNDWrite();<br>    }<br>}<br>//END</span><br><br>ps:<br>The library version is the Linux port from John Melton, and<br>inside comm.h appears a "(C) 2017 Warren Pratt, NR0V, Jae Stutzman, K5JAE"<br>see <a href="http://ea3ghs.qrp.cat/332c.tgz">http://ea3ghs.qrp.cat/332c.tgz</a><br></span><br></div>