Re: [Discuss-gnuradio] Create a general block using a GRC 'misc Python block'

2019-09-09 Thread Barry Duggan
Thanks Albin, This is a work in progress - there are several things I plan to do. Yes, as it stands, it needs the filter for key clicks. I had tried to send the keying signal to a GPIO pin and do the key click filtering in hardware, but the timing didn't work out right. I must give credit to

Re: [Discuss-gnuradio] Create a general block using a GRC 'misc Python block'

2019-09-09 Thread Albin Stigö
Nice! I like the way you generate morse code using the repeat block! I don't see that the keying is filtered in any way which will lead to clicks... some kind of symbol filter would be nice! You can use the rotator block to generate a complex tone to send morse code with an SDR transmitter. --A

Re: [Discuss-gnuradio] Create a general block using a GRC 'misc Python block'

2019-09-08 Thread Barry Duggan
FYI, I have created a repository for my Morse code generator: https://github.com/duggabe/gr-morse-code-gen Cheers! -- Barry Duggan On Fri, 23 Aug 2019 10:00:15 -0400, Barry Duggan wrote: If you are interested in the finished Morse code generator, see https://pastebin.com/XJqDzh6K _

Re: [Discuss-gnuradio] Create a general block using a GRC 'misc Python block'

2019-08-23 Thread Barry Duggan
OK, I came up with a viable solution: - generate a string with comma-separated values - calculate the number of entries - scan the string, storing the 1's and 0's as bytes in output_items[0] This avoids the problem of appending data to a numpy array. If you are interested in the finished Morse c

[Discuss-gnuradio] Create a general block using a GRC 'misc Python block'

2019-08-21 Thread Barry Duggan
Hi, I would like to write a source block using a GRC 'misc Python block' which reads text from 'input' and generates a vector with a variable number of 1's and 0's depending on the text. My problem is determining how to address the output vector to store/append the values. Can this even be do