Search found 45 matches

by 0815
Wed Mar 16, 2016 8:34 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 83
Views: 264983

Re: SDRPLAY linux commandline tools?

and it worked for the uint_8 version..... is the 16 signed or unsigned?
by 0815
Wed Mar 16, 2016 8:31 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 83
Views: 264983

Re: SDRPLAY linux commandline tools?

-r, --rate RATE[k]
Gives the sample rate in Hz

i used the sample rate for it that i used when recording with rawIQ
by 0815
Tue Mar 15, 2016 12:49 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 83
Views: 264983

Re: SDRPLAY linux commandline tools?

i am not sure about the 16bit output if it is valid,when i play it it sounds too fast....... like played double speed.... i changed: for (i=0; i < samplesPerPacket; i++) { buffer[j++] = ibuf[i]; buffer[j++] = qbuf[i]; } and short *buffer; and buffer = malloc(DEFAULT_BUF_LENGTH * sizeof(short)); is t...
by 0815
Tue Mar 15, 2016 10:11 am
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 83
Views: 264983

Re: SDRPLAY linux commandline tools?

try this one for 16bit - and forget about the -b option!! rawIQ: /* * rtl-sdr, turns your Realtek RTL2832 based DVB dongle into a SDR receiver * Copyright (C) 2012 by Steve Markgraf <steve@steve-m.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of th...
by 0815
Sun Mar 13, 2016 6:31 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 83
Views: 264983

Re: SDRPLAY linux commandline tools?

well i have tried a lot of hours to get a working function equal to rtlsdr_read_async but it wont work. mainly i get memory overflows and so on, i cant get the RAW IQ Data into rtlsdrcallback.... simmilar to this rtlsdr_read_async(Modes.dev, rtlsdrCallback, NULL, MODES_ASYNC_BUF_NUMBER, MODES_DATA_L...
by 0815
Sun Mar 13, 2016 5:20 am
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 83
Views: 264983

Re: SDRPLAY linux commandline tools?

you have to compile play_sdr.c first: Makefile: CFLAGS?=-O2 -g -Wall -W LDLIBS+= -lpthread -lm -lmirsdrapi-rsp CC?=gcc PROGNAME=play_sdr all: play_sdr %.o: %.c $(CC) $(CFLAGS) -c $< play_sdr: play_sdr.o $(CC) -g -o play_sdr play_sdr.o $(LDFLAGS) $(LDLIBS) clean: rm -f *.o play_sdr copypaste this cod...
by 0815
Sat Mar 12, 2016 7:51 am
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 83
Views: 264983

Re: SDRPLAY linux commandline tools?

@sdrplay, all functions on the rtl_sdr libary are demending on this: rtlsdr_read_async(dev, rtlsdr_callback, (void *)(NULL), DEFAULT_ASYNC_BUF_NUMBER, DEFAULT_BUF_LENGTH); please let me know how i can change it to use the callback function, in playsdr you are not using as you coded the file output d...
by 0815
Fri Mar 11, 2016 6:44 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 83
Views: 264983

Re: SDRPLAY linux commandline tools?

well, i do not see that the rsp is initializing....

do a sudo cp play_sdr /usr/bin

and give it a try again.

if not working try to

play_sdr -s 2400000 -f 89.3 -g 50 -

if working you should see a lot of ASCII in the display which means it works but i think the above should to its job....
by 0815
Fri Mar 11, 2016 1:19 pm
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 83
Views: 264983

Re: SDRPLAY linux commandline tools?

@IW2DHW,

try this one:

http://wikisend.com/download/380816/rawIQ

rename it to play_sdr and give it a try - compiled with ubuntu 14.04.1

i guess the is no need for change in code as it uses rtl_sdr only:

"rtl_sdr -s 2400000 -f `python -c "print int($1*1e6)"` -g $GAIN -"

regards
by 0815
Fri Mar 11, 2016 11:16 am
Forum: Code Corner
Topic: SDRPLAY linux commandline tools?
Replies: 83
Views: 264983

Re: SDRPLAY linux commandline tools?

hi, sdrplay, please tell me how to change this for RSP: #define DEFAULT_ASYNC_BUF_NUMBER 12 #define DEFAULT_BUF_LENGTH (16 * 16384) rtlsdr_read_async(dev, rtlsdr_callback, (void *)(NULL), DEFAULT_ASYNC_BUF_NUMBER, DEFAULT_BUF_LENGTH); what i tried is: #define DEFAULT_ASYNC_BUF_NUMBER 12 #define DEFA...