Skip to content

Commit

Permalink
this is nothing more than my gr-cbc from cs6030
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Miller authored and jettero committed Feb 26, 2010
1 parent f30f969 commit 7c9f629
Show file tree
Hide file tree
Showing 61 changed files with 22,255 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,3 +2,4 @@ am-up-mixed.wav
*.wav.mp3
14k.wav
8k.wav
phase_diffs.dat
262 changes: 262 additions & 0 deletions PLL.grc
@@ -0,0 +1,262 @@
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Fri Feb 26 16:15:47 2010</timestamp>
<block>
<key>options</key>
<param>
<key>id</key>
<value>pll</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>title</key>
<value>PLL phase comparison</value>
</param>
<param>
<key>author</key>
<value>Paul Miller</value>
</param>
<param>
<key>description</key>
<value>gnuradio flow graph</value>
</param>
<param>
<key>window_size</key>
<value>1280, 1024</value>
</param>
<param>
<key>generate_options</key>
<value>no_gui</value>
</param>
<param>
<key>category</key>
<value>Custom</value>
</param>
<param>
<key>_coordinate</key>
<value>(10, 10)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>variable</key>
<param>
<key>id</key>
<value>samp_rate</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>value</key>
<value>44100</value>
</param>
<param>
<key>_coordinate</key>
<value>(10, 170)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_wavfile_source</key>
<param>
<key>id</key>
<value>gr_wavfile_source_1</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>file</key>
<value>14k</value>
</param>
<param>
<key>repeat</key>
<value>False</value>
</param>
<param>
<key>nchan</key>
<value>2</value>
</param>
<param>
<key>_coordinate</key>
<value>(194, 103)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_wavfile_source</key>
<param>
<key>id</key>
<value>gr_wavfile_source_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>file</key>
<value>8k.wav</value>
</param>
<param>
<key>repeat</key>
<value>False</value>
</param>
<param>
<key>nchan</key>
<value>2</value>
</param>
<param>
<key>_coordinate</key>
<value>(195, 14)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_float_to_complex</key>
<param>
<key>id</key>
<value>gr_float_to_complex_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(607, 43)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_float_to_complex</key>
<param>
<key>id</key>
<value>gr_float_to_complex_1</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(442, 119)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_phase_compute_cf</key>
<param>
<key>id</key>
<value>gr_phase_compute_cf_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(171, 308)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_file_sink</key>
<param>
<key>id</key>
<value>gr_file_sink_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>file</key>
<value>phase_diffs.dat</value>
</param>
<param>
<key>type</key>
<value>float</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
<param>
<key>_coordinate</key>
<value>(583, 353)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<connection>
<source_block_id>gr_wavfile_source_0</source_block_id>
<sink_block_id>gr_float_to_complex_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_wavfile_source_0</source_block_id>
<sink_block_id>gr_float_to_complex_0</sink_block_id>
<source_key>1</source_key>
<sink_key>1</sink_key>
</connection>
<connection>
<source_block_id>gr_wavfile_source_1</source_block_id>
<sink_block_id>gr_float_to_complex_1</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_wavfile_source_1</source_block_id>
<sink_block_id>gr_float_to_complex_1</sink_block_id>
<source_key>1</source_key>
<sink_key>1</sink_key>
</connection>
<connection>
<source_block_id>gr_float_to_complex_1</source_block_id>
<sink_block_id>gr_phase_compute_cf_0</sink_block_id>
<source_key>0</source_key>
<sink_key>1</sink_key>
</connection>
<connection>
<source_block_id>gr_float_to_complex_0</source_block_id>
<sink_block_id>gr_phase_compute_cf_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_phase_compute_cf_0</source_block_id>
<sink_block_id>gr_file_sink_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
</flow_graph>
18 changes: 18 additions & 0 deletions gr-phase-compute/.gitignore
@@ -0,0 +1,18 @@
config.h
config.log
config.status
COPYING
INSTALL
Makefile
Makefile.in
stamp-h1
aclocal.m4
configure
depcomp
libtool
missing
mkinstalldirs
py-compile
config.h.in
autom4te.cache
install-sh
1 change: 1 addition & 0 deletions gr-phase-compute/AUTHORS
@@ -0,0 +1 @@
Paul Miller <paul.e.miller@wmich.edu>
3 changes: 3 additions & 0 deletions gr-phase-compute/ChangeLog
@@ -0,0 +1,3 @@

0.1: Thu Nov 27 08:17:29 EST 2008
- I built this thing, but it does NOT work yet.
29 changes: 29 additions & 0 deletions gr-phase-compute/Makefile.am
@@ -0,0 +1,29 @@
#
# Copyright 2004 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
#

include $(top_srcdir)/Makefile.common

EXTRA_DIST = bootstrap configure config.h.in
SUBDIRS = config src
DIST_SUBDIRS = config src

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA =
22 changes: 22 additions & 0 deletions gr-phase-compute/Makefile.common
@@ -0,0 +1,22 @@

# includes
grincludedir = $(includedir)/gnuradio

# swig includes
swigincludedir = $(grincludedir)/swig

# Install this stuff in the appropriate subdirectory
# This usually ends up at:
# ${prefix}/lib/python${python_version}/site-packages/gnuradio

grpythondir = $(pythondir)/gnuradio
grpyexecdir = $(pyexecdir)/gnuradio

# swig flags
SWIGPYTHONFLAGS = -fvirtual -python -modern
SWIGGRFLAGS = -I$(GNURADIO_CORE_INCLUDEDIR)/swig -I$(GNURADIO_CORE_INCLUDEDIR)

# Don't assume that make predefines $(RM), because BSD make does
# not. We define it now in configure.ac using AM_PATH_PROG, but now
# here have to add a -f to be like GNU make.
RM=$(RM_PROG) -f
Empty file added gr-phase-compute/NEWS
Empty file.
3 changes: 3 additions & 0 deletions gr-phase-compute/README
@@ -0,0 +1,3 @@
This is my amateur ramblings re: phase computation.

-Paul
29 changes: 29 additions & 0 deletions gr-phase-compute/bootstrap
@@ -0,0 +1,29 @@
#!/bin/sh

# Copyright 2001,2005,2008 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.


rm -fr config.cache autom4te*.cache

aclocal -I config
autoconf
autoheader
libtoolize --automake
automake --add-missing -c -f -Wno-portability

0 comments on commit 7c9f629

Please sign in to comment.