[PD] tuning an AM radio ideas

2006-12-13 Thread nward04

Hi all,
I was just wondering would anyone here have an idea on a starting  
point for a patch to simulate tuning in a station on an AM radio. I  
want to make a virtual radio with say 5 chanels that i can tune  
between replete with the hissing fizzing in between out of tune bits.

Thanks
Nick

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] tuning an AM radio ideas

2006-12-13 Thread hard off

try this:

[noise~ ][number box(
||
[expr~ pow($v1,$f2)]
|
[outlet~]

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] tuning an AM radio ideas

2006-12-13 Thread Roman Haefeli
hi Nick

a possibly stupid, unrealistic and very untested idea  comes to my mind:
why not build a real AM radio in pd? in a subpatch with a very high
samplingrate (using [block~]-object) you could amplitude modulate the
signal you want to transmit. with a narrow band-pass filter [bp~], that
is tuned to the carrier frequency, you could get back the amplitude of
the original signal. maybe you add some [noise~] to simulate cosmic
radiowaves. 
just a few ideas. i would be interested, if this approach has a chance
to work

roman

On Wed, 2006-12-13 at 11:04 +, [EMAIL PROTECTED] wrote:
 Hi all,
 I was just wondering would anyone here have an idea on a starting  
 point for a patch to simulate tuning in a station on an AM radio. I  
 want to make a virtual radio with say 5 chanels that i can tune  
 between replete with the hissing fizzing in between out of tune bits.
 Thanks
 Nick







___ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] tuning an AM radio ideas

2006-12-13 Thread Roman Haefeli
hi nick again

i didn't want to 'steal' your idea, but i found this subject so
interesting, that i tried to realize that approach in a pd-patch.
the patch needs [abs~] from zexy and [lp8_butt~] from iemlib. the patch
has 3 'stations' (three sources modulated on differently tuned carriers)
and one 'receiver'. because of the very high sampling rate in the
subpatch (1.53MHz, when pd runs with 44100Hz), the patch eats quite a
lot of the cpu.
surprisingly it sounds a bit like am-radio, though the quality of the
received signal is very bad. the choice of the carrier frequencies does
have big effect on the typical am-radio artefacts.
there are sure some things, that could be improved. maybe you have use
for it.

cheers
roman


On Wed, 2006-12-13 at 12:45 +, [EMAIL PROTECTED] wrote:
 yep, Thats kinda the approach I was thinkin of. Off to read up on AM  
 radio a bit.
 thanks for the suggestions
 
 On 13 Dec 2006, at 11:43, Roman Haefeli wrote:
 
  hi Nick
 
  a possibly stupid, unrealistic and very untested idea  comes to my  
  mind:
  why not build a real AM radio in pd? in a subpatch with a very high
  samplingrate (using [block~]-object) you could amplitude modulate the
  signal you want to transmit. with a narrow band-pass filter [bp~],  
  that
  is tuned to the carrier frequency, you could get back the amplitude of
  the original signal. maybe you add some [noise~] to simulate cosmic
  radiowaves.
  just a few ideas. i would be interested, if this approach has a chance
  to work
 
  roman
 
  On Wed, 2006-12-13 at 11:04 +, [EMAIL PROTECTED] wrote:
  Hi all,
  I was just wondering would anyone here have an idea on a starting
  point for a patch to simulate tuning in a station on an AM radio. I
  want to make a virtual radio with say 5 chanels that i can tune
  between replete with the hissing fizzing in between out of tune bits.
  Thanks
  Nick

#N canvas 627 103 770 301 10;
#N canvas 106 425 796 503 radio 0;
#X obj 6 10 inlet~;
#X obj 12 440 outlet~;
#X obj 7 49 +~ 1;
#X obj 8 76 *~ 0.5;
#X obj 9 98 *~;
#X obj 9 309 abs~;
#X obj 10 359 hip~ 20;
#X obj 8 181 +~;
#X obj 173 304 line~;
#X obj 184 5 inlet~;
#X obj 185 44 +~ 1;
#X obj 186 71 *~ 0.5;
#X obj 187 93 *~;
#X obj 8 289 vcf~ 1000;
#X obj 11 413 *~ 100;
#X text 75 30 sender1;
#X text 260 31 sender2;
#X obj 174 419 block~ 8192 1 32;
#X obj 363 11 inlet~;
#X obj 364 50 +~ 1;
#X obj 365 77 *~ 0.5;
#X obj 366 99 *~;
#X text 456 29 sender3;
#X obj 82 185 noise~;
#X obj 662 91 inlet;
#X text 655 65 tuning frequency;
#X text 86 99 carrier;
#X text 269 95 carrier;
#X text 450 97 carrier;
#X obj 9 331 lp8_butt~ 8000;
#X obj 428 79 osc~ 150311;
#X obj 253 77 osc~ 123080;
#X obj 75 82 osc~ 101273;
#X obj 81 211 *~ 0.005;
#X obj 173 281 pack f 200;
#X connect 0 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 7 0;
#X connect 5 0 29 0;
#X connect 6 0 14 0;
#X connect 7 0 13 0;
#X connect 8 0 13 1;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 12 0 7 0;
#X connect 13 0 5 0;
#X connect 14 0 1 0;
#X connect 18 0 19 0;
#X connect 19 0 20 0;
#X connect 20 0 21 0;
#X connect 21 0 7 0;
#X connect 23 0 33 0;
#X connect 24 0 34 0;
#X connect 29 0 6 0;
#X connect 30 0 21 1;
#X connect 31 0 12 1;
#X connect 32 0 4 1;
#X connect 33 0 7 1;
#X connect 34 0 8 0;
#X restore 132 80 pd radio;
#X obj 132 214 dac~;
#X obj 212 145 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 12700 1;
#X obj 132 172 *~;
#X obj 315 77 hsl 300 15 9 16 0 0 empty empty tuning_frequency
4 8 1 10 -262144 -1 -1 12600 1;
#X floatatom 312 106 8 0 0 0 - - -;
#X obj 31 37 adc~ 1;
#X obj 117 35 adc~ 3;
#X obj 192 37 adc~ 5;
#X text 375 106 Hz;
#X text 27 16 station1;
#X text 110 16 station2;
#X text 189 16 station3;
#X text 359 61 | 1;
#X text 453 60 | 2;
#X text 569 61 | 3;
#X obj 209 165 t f f;
#X obj 209 186 *;
#X connect 0 0 3 0;
#X connect 2 0 16 0;
#X connect 3 0 1 0;
#X connect 3 0 1 1;
#X connect 4 0 0 3;
#X connect 4 0 5 0;
#X connect 6 0 0 0;
#X connect 7 0 0 1;
#X connect 8 0 0 2;
#X connect 16 0 17 0;
#X connect 16 1 17 1;
#X connect 17 0 3 1;
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] tuning an AM radio ideas

2006-12-13 Thread Kyle Klipowicz

This is a neat idea, is this how real AM works for radio?  I've always
enjoyed the strange 'droid' sounds that come from the blurry points in
between signals on the AM dial.

~Kyle


On 12/13/06, Roman Haefeli [EMAIL PROTECTED] wrote:


hi Nick

a possibly stupid, unrealistic and very untested idea  comes to my mind:
why not build a real AM radio in pd? in a subpatch with a very high
samplingrate (using [block~]-object) you could amplitude modulate the
signal you want to transmit. with a narrow band-pass filter [bp~], that
is tuned to the carrier frequency, you could get back the amplitude of
the original signal. maybe you add some [noise~] to simulate cosmic
radiowaves.
just a few ideas. i would be interested, if this approach has a chance
to work

roman

On Wed, 2006-12-13 at 11:04 +, [EMAIL PROTECTED] wrote:
 Hi all,
 I was just wondering would anyone here have an idea on a starting
 point for a patch to simulate tuning in a station on an AM radio. I
 want to make a virtual radio with say 5 chanels that i can tune
 between replete with the hissing fizzing in between out of tune bits.
 Thanks
 Nick







___
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
http://mail.yahoo.de


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list





--

http://theradioproject.com
http://perhapsidid.blogspot.com

(()()()(()))()()())(
(())(())()(((
))(__
_())(()))___
(((000)))oOO
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] tuning an AM radio ideas

2006-12-13 Thread nward04
Getting there now. Just what I was thinking of.  Where to add in a  
bit of noise is the next thing.

Thanks Roman

On 13 Dec 2006, at 15:02, Roman Haefeli wrote:


hi nick again

i didn't want to 'steal' your idea, but i found this subject so
interesting, that i tried to realize that approach in a pd-patch.
the patch needs [abs~] from zexy and [lp8_butt~] from iemlib. the  
patch
has 3 'stations' (three sources modulated on differently tuned  
carriers)

and one 'receiver'. because of the very high sampling rate in the
subpatch (1.53MHz, when pd runs with 44100Hz), the patch eats quite a
lot of the cpu.
surprisingly it sounds a bit like am-radio, though the quality of the
received signal is very bad. the choice of the carrier frequencies  
does

have big effect on the typical am-radio artefacts.
there are sure some things, that could be improved. maybe you have use
for it.

cheers
roman


On Wed, 2006-12-13 at 12:45 +, [EMAIL PROTECTED] wrote:

yep, Thats kinda the approach I was thinkin of. Off to read up on AM
radio a bit.
thanks for the suggestions

On 13 Dec 2006, at 11:43, Roman Haefeli wrote:


hi Nick

a possibly stupid, unrealistic and very untested idea  comes to my
mind:
why not build a real AM radio in pd? in a subpatch with a very high
samplingrate (using [block~]-object) you could amplitude modulate  
the

signal you want to transmit. with a narrow band-pass filter [bp~],
that
is tuned to the carrier frequency, you could get back the  
amplitude of

the original signal. maybe you add some [noise~] to simulate cosmic
radiowaves.
just a few ideas. i would be interested, if this approach has a  
chance

to work

roman

On Wed, 2006-12-13 at 11:04 +, [EMAIL PROTECTED] wrote:

Hi all,
I was just wondering would anyone here have an idea on a starting
point for a patch to simulate tuning in a station on an AM radio. I
want to make a virtual radio with say 5 chanels that i can tune
between replete with the hissing fizzing in between out of tune  
bits.

Thanks
Nick


am-radio.pd
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
listinfo/pd-list



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list