[Csnd] Very simple FM
Date | 2011-12-20 03:00 |
From | Charles Gran |
Subject | [Csnd] Very simple FM |
Attachments | FM-simple.csd |
Hi, All I hear is a simple sine wave. Based on what I've seen in the Csound Book this should work. I'm totally mystified why I can't get this to work. There has got to be some insanely simple reason that I'm just not seeing. If someone would take a moment to help with this, I'd really appreciate it! Charles |
Date | 2011-12-20 03:15 |
From | luis jure |
Subject | Re: [Csnd] Very simple FM |
on 2011-12-19 at 21:00 Charles Gran wrote: >All I hear is a simple sine wave. [..] >amod oscili 1, .25*icps, 1 >acar oscili 1, icps+amod, 1 the modulator has an amplitude of 1, meaning that amod will vary between +-1. adding +-1 Hz to icps will hardly be noticeable... the amplitude of amod has to be the frequency deviation d, that is the modulating index I times the modulating frequency (icps*.5 in your case) try something like this: index = 3 ; or whatever you like... typical values < 5 ifm = icps*.25 ; modulating frequency idev = index*ifm ; frequency deviation amod oscili idev, ifm, 1 acar oscili 1, icps+amod, 1 Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-12-20 04:28 |
From | Charles Gran |
Subject | Re: [Csnd] Very simple FM |
> the modulator has an amplitude of 1, meaning that amod will vary between > +-1. adding +-1 Hz to icps will hardly be noticeable... Thanks! For the amplitude, if 0dbfs = 1, then isn't 1 full scale amplitude? Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-12-20 10:15 |
From | joachim heintz |
Subject | Re: [Csnd] Very simple FM |
it is, but as luis said, the amplitude of the modulator has nothing to do with any amplitude to listen to. the amplitude of the modulator is the amount of hertz which is added (and subtracted because of the negative values) continuously to the carrier frequency. if you replace your line amod oscili 1, .25*icps, 1 by amod oscili 100, .25*icps, 1 you should hear the effect. hope this helps - joachim Am 20.12.2011 05:28, schrieb Charles Gran: >> the modulator has an amplitude of 1, meaning that amod will vary between >> +-1. adding +-1 Hz to icps will hardly be noticeable... > > Thanks! For the amplitude, if 0dbfs = 1, then isn't 1 full scale amplitude? > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > > Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-12-20 11:45 |
From | luis jure |
Subject | Re: [Csnd] Very simple FM |
on 2011-12-19 at 22:28 Charles Gran wrote: >Thanks! For the amplitude, if 0dbfs = 1, then isn't 1 full scale >amplitude? yes, but that's something completely different. 0dbfs determines what value csound will take as full scale amplitude when sending a signal to audio output. but number 1 is number 1. if your oscili has an amplitude of 1, amod will vary between +1 and -1, whatever 0dbfs you have. adding that to acar means that your carrier signal will vary 1 Hz above and below its center frequency. again, the amplitude of the modulator has to be d = I*fm, being I the modulation index, and fm the modulation frequency. best, lj Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |