# Where is the modulation in Modulation\_utils

**URL:** <https://www.ruby-forum.com/t/where-is-the-modulation-in-modulation-utils/232198>\
**Category:** GNU Radio\
**Created:** [September 24, 2014, 6:27pm UTC](https://www.ruby-forum.com/t/where-is-the-modulation-in-modulation-utils/232198 "2014-09-24T18:27:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [September 24, 2014, 6:27pm UTC](https://www.ruby-forum.com/t/where-is-the-modulation-in-modulation-utils/232198/1 "2014-09-24T18:27:40Z")

</div>

Hi all,

I am really confused. I opened the modulation\_utils and I cannot  
figure out how the modulation part is performed, it is just an empty  
curly braces.

\_type\_1\_modulators = {}

def type\_1\_mods():  
return \_type\_1\_modulators

def add\_type\_1\_mod(name, mod\_class):  
\_type\_1\_modulators[name] = mod\_class

Would anybody resolves this for me.

Thanks

---

<div class="post-metadata">

**Author:** ![medhat\_h](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/87869e/32.png) [@medhat\_h](https://www.ruby-forum.com/u/medhat_h)\
**Post date:** [September 24, 2014, 6:54pm UTC](https://www.ruby-forum.com/t/where-is-the-modulation-in-modulation-utils/232198/2 "2014-09-24T18:54:52Z")

</div>

modulation\_utils is a registry for modulations implemented in other  
modules. A grep in the same directory as modulation\_utils turns up  
bpsk.py, cpm.py, gfsk.py, gmsk.py, psk.py, qam.py, qpsk.py.
