[Csnd] AdFM demo
| Date | 2025-03-14 10:12 |
| From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | [Csnd] AdFM demo |
Way back, we developed this synthesis method called AdFM, some of you may know about it. The basic idea is that you can apply FM to any arbitrary carrier signal. We used a pitch tracker to set c:m ratios and calibrate the index of modulation. In my head, the pitch tracker part was never ideal.
Later on I had the idea to use MIDI data for that instead and get rid of pitch tracking. I did some examples for my classes and I thought it worked OK.
Today I was completing the installation of a new interface in my rig and it had DIN midi input (which I did not have before). To test it, I got a keyboard connected to the input and ran my AdFM code (using a tonewheel source sound). I thought it sounded good, so I recorded a demonstration.
I hope you enjoy the sounds.
https://soundcloud.com/victor-lazzarini/adfm_test
========================
Prof. Victor Lazzarini
Maynooth University
Ireland
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2025-03-14 11:02 |
| From | "richard@rwdobson.com" |
| Subject | Re: [Csnd] AdFM demo |
Yes, great sounds! I hope that work can still continue on the pitch tracking approach. That was the missing element in the original Sliding DFT examples (fm applied per sample to each sinusoid of a pvs fft frame) that I did way back in 2007 or so. The examples I used in the ICMC presentation that year are still available on the Bath Uni “dream” site:
http://dream.cs.bath.ac.uk/SDFT/
I had not “got around” to adding the pitch tracking, maybe partly because I thought the examples ware already interesting, and much cleaner than I had expected, so the results are more like a fancy form of ring modulation. So FTT-based ptich tracking aded to the CUDA-based version of the pvs opcodes should complete the story nicely. My thought was that the latency overall would be low enough that live (real-time) FM applied to an incoming sound (from any voice or instrument) would be practical. Needs a CUDA-supported machine of course, which I never had.
Richard Dobson
> On 14 Mar 2025, at 10:12, Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> wrote:
>
> Way back, we developed this synthesis method called AdFM, some of you may know about it. The basic idea is that you can apply FM to any arbitrary carrier signal. We used a pitch tracker to set c:m ratios and calibrate the index of modulation. In my head, the pitch tracker part was never ideal.
>
> Later on I had the idea to use MIDI data for that instead and get rid of pitch tracking. I did some examples for my classes and I thought it worked OK.
>
> Today I was completing the installation of a new interface in my rig and it had DIN midi input (which I did not have before). To test it, I got a keyboard connected to the input and ran my AdFM code (using a tonewheel source sound). I thought it sounded good, so I recorded a demonstration.
>
> I hope you enjoy the sounds.
>
> https://soundcloud.com/victor-lazzarini/adfm_test
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2025-03-14 11:08 |
| From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] AdFM demo |
Pitch tracking can still be used, and for pvs, we have a pvs pitch tracker already. The reason I am not too keen on the pitch tracking is because it can limit certain things and for live performance it is a bit “sketchy” (as my son would say). With less than ideal mic’ing and room environment it can be difficult. Taking the cps from a stable, polyphonic, control source seems more flexible to me. Thanks! ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 14 Mar 2025, at 11:02, richard@rwdobson.com |
| Date | 2025-03-14 20:08 |
| From | "Jeanette C." |
| Subject | Re: [Csnd] AdFM demo |
Hello Victor,
Mar 14 2025, Victor Lazzarini has written:
...
> https://soundcloud.com/victor-lazzarini/adfm_test
This sounds very nice and usable as a technique in melodic undertakings.
Could you share some code again? A downloadable version would be great.
Unfortunately I couldn't access the webversion you shared of the ring
mod piece.
Best wishes,
Jeanette
--
* Website: http://juliencoder.de - for summer is a state of sound
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* Audiobombs: https://www.audiobombs.com/users/jeanette_c
* GitHub: https://github.com/jeanette-c
When you need someone, you just turn around and I will be there <3
(Britney Spears)
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2025-03-14 20:28 |
| From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] AdFM demo |
Try the link again, maybe it was set as hidden. I'll post the AdFm when I get to the computer. Prof. Victor Lazzarini Maynooth University Ireland > On 14 Mar 2025, at 20:07, Jeanette C. |
| Date | 2025-03-14 20:37 |
| From | "Jeanette C." |
| Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] AdFM demo |
Many thanks. The web stuff requires too much Javascript for the Linux CLI. Not
even sure if my old macbook will handle it. :)
Best wishes,
Jeanette
--
* Website: http://juliencoder.de - for summer is a state of sound
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* Audiobombs: https://www.audiobombs.com/users/jeanette_c
* GitHub: https://github.com/jeanette-c
When you need someone, you just turn around and I will be there <3
(Britney Spears)
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2025-03-14 21:09 |
| From | "richard@rwdobson.com" |
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] AdFM demo |
Ah yes, shows just how long ago I last looked at the opcode list. Point taken “sketchy”-wise, but there are options nevertheless, from the domain of electric instruments where room acoustics do not impinge at all, or barely. I even still have the Barkus Berry pickup for my flute (replaces the headjoint cork). But I like slides, whether slide guitar, electric violin, or the “shruti veena” I am in the process of making - in effect a 100cm quasi-Pythagorean monochord played with slides, but requiring a guitar-style pickup. And I also have some history with improvisation, which I suspect no amount of MIDI can accurately track! - unless, etc... I inherited a couple of AKG clip-on mics (designed for drums, but more widely applicable), which can effectively exclude a lot of room acoustic. So for anyone with suitable hardware, I still think there are some opportunities worth exploring. Richard Dobson > On 14 Mar 2025, at 11:08, Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> wrote: > > Pitch tracking can still be used, and for pvs, we have a pvs pitch tracker already. The reason I am not too keen on the pitch tracking is > because it can limit certain things and for live performance it is a bit “sketchy” (as my son would say). With less than ideal mic’ing > and room environment it can be difficult. > > Taking the cps from a stable, polyphonic, control source seems more flexible to me. > > Thanks! > ======================== > Prof. Victor Lazzarini > Maynooth University > Ireland > >> On 14 Mar 2025, at 11:02, richard@rwdobson.com |
| Date | 2025-03-15 09:41 |
| From | vlz |
| Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] AdFM demo |
| Attachments | adFMgm.csd piece.csd |
I’m attaching the two CSDs here. The AdFM needs a .sf2 file which can be found in the Csound repo (under samples).
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
> On 14 Mar 2025, at 20:37, Jeanette C. |
| Date | 2025-03-15 11:53 |
| From | "Jeanette C." |
| Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] AdFM demo |
Many thanks Victor!
Best wishes,
Jeanette
--
* Website: http://juliencoder.de - for summer is a state of sound
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* Audiobombs: https://www.audiobombs.com/users/jeanette_c
* GitHub: https://github.com/jeanette-c
Give me a sign...
Hit me Baby one more time <3
(Britney Spears)
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2025-03-15 18:20 |
| From | Arthur Hunkins <000001e1d761dea2-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] AdFM demo |
|
Victor -
I note, with respect to your piece.csd, that putting -odac into CsOptions, alters the entire rendition (pitch-wise). Also, that this phenomenon is independent of sr or ksmps. Why is that?
(I am on Windows10 and on the console.)
Art H.
abhunkin@uncg.edu
http://www.arthunkins.com
From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of vlz <viclazzarini@GMAIL.COM>
Sent: Saturday, March 15, 2025 5:41 AM To: CSOUND@LISTSERV.HEANET.IE <CSOUND@LISTSERV.HEANET.IE> Subject: Re: [Csnd] [EXTERNAL] Re: [Csnd] AdFM demo I’m attaching the two CSDs here. The AdFM needs a .sf2 file which can be found in the Csound repo (under samples).
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here > On 14 Mar 2025, at 20:37, Jeanette C. <julien@MAIL.UPB.DE> wrote: > > Many thanks. The web stuff requires too much Javascript for the Linux CLI. Not even sure if my old macbook will handle it. :) > > Best wishes, > > Jeanette > > -- > * Website: http://juliencoder.de - for summer is a state of sound > * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g > * Audiobombs: https://www.audiobombs.com/users/jeanette_c > * GitHub: https://github.com/jeanette-c > > When you need someone, you just turn around and I will be there <3 > (Britney Spears) > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
| Date | 2025-03-15 21:02 |
| From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] AdFM demo |
That’s odd. It doesn’t happen here. I can’t think of a reason besides some form of sample rate mismatch. Did you try the Web IDE? ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 15 Mar 2025, at 18:20, Arthur Hunkins <000001e1d761dea2-dmarc-request@LISTSERV.HEANET.IE> wrote: > > Victor - > > I note, with respect to your piece.csd, that putting -odac into CsOptions, alters the entire rendition (pitch-wise). Also, that this phenomenon is independent of sr or ksmps. Why is that? > > (I am on Windows10 and on the console.) > > Art H. > > abhunkin@uncg.edu > http://www.arthunkins.comFrom: A discussion list for users of Csound |
| Date | 2025-03-16 13:38 |
| From | Richard Knight |
| Subject | Re: [Csnd] AdFM demo |
Sounds great and very interesting to hear about the technique. I'm
intrigued by anything FM-related!
On 2025-03-14 10:12, Victor Lazzarini wrote:
> Way back, we developed this synthesis method called AdFM, some of you
> may know about it. The basic idea is that you can apply FM to any
> arbitrary carrier signal. We used a pitch tracker to set c:m ratios
> and calibrate the index of modulation. In my head, the pitch tracker
> part was never ideal.
>
> Later on I had the idea to use MIDI data for that instead and get rid
> of pitch tracking. I did some examples for my classes and I thought it
> worked OK.
>
> Today I was completing the installation of a new interface in my rig
> and it had DIN midi input (which I did not have before). To test it, I
> got a keyboard connected to the input and ran my AdFM code (using a
> tonewheel source sound). I thought it sounded good, so I recorded a
> demonstration.
>
> I hope you enjoy the sounds.
>
> https://soundcloud.com/victor-lazzarini/adfm_test
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2025-03-16 14:09 |
| From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] AdFM demo |
It's straightforward, we use a delay line to implement FM (PM really). You can check the code I shared yesterday. Prof. Victor Lazzarini Maynooth University Ireland > On 16 Mar 2025, at 13:39, Richard Knight |
| Date | 2025-03-17 04:38 |
| From | Renick Bell |
| Subject | Re: [Csnd] AdFM demo |
It does sound good! I want to try it out...
On Fri, Mar 14, 2025 at 5:12 PM Victor Lazzarini
<000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote:
>
> Way back, we developed this synthesis method called AdFM, some of you may know about it. The basic idea is that you can apply FM to any arbitrary carrier signal. We used a pitch tracker to set c:m ratios and calibrate the index of modulation. In my head, the pitch tracker part was never ideal.
>
> Later on I had the idea to use MIDI data for that instead and get rid of pitch tracking. I did some examples for my classes and I thought it worked OK.
>
> Today I was completing the installation of a new interface in my rig and it had DIN midi input (which I did not have before). To test it, I got a keyboard connected to the input and ran my AdFM code (using a tonewheel source sound). I thought it sounded good, so I recorded a demonstration.
>
> I hope you enjoy the sounds.
>
> https://soundcloud.com/victor-lazzarini/adfm_test
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
--
Renick Bell
- http://renickbell.net
- http://twitter.com/renick
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |