Csound Csound-dev Csound-tekno Search About

Scanned synthesis example

Date2016-04-06 10:26
FromTarmo Johannes
SubjectScanned synthesis example

Hi,

 

I elextended a bit the scanned synthesis sandbox example and I added it to CsoundQt Examples/Synths.

 

In git:

https://github.com/CsoundQt/CsoundQt/blob/develop/examples/Synths/Scanned_Syntehesis_Sandbox.csd

 

The spring matrix (circularstring-128) is embenned in the file (encrypted with csb64enc and included with <CsFileB> tags. Very useful not to let your included thing get lost! Never had experience with that before.

 

 

I added a button and spinbox for choosing and playing the preset, support for MIDI keyboard (you can use also the virtual midi keyboard) to play crazy scanned synth music, a graph for showing the tables used and FFT output of the sound.

 

It is a lot of fun already and you can go much further from here studying the code, Live Event sheets for parameter combinations, creating new tables for various parameters and so on.

 

I hope to do a small demo, too, later...

 

tarmo


Date2016-04-06 18:46
FromGerard Rodríguez
SubjectRe: Scanned synthesis example
Thanks a lot Tarmo, very useful. I'm having a lot of fun.
Try kdamp=-0.7 that gives a lot of string like sounds, preset 1 sounds guitarrish, 6 pianoish etc

One thing that would be useful, is having a visualization of the spring model vibrating, maybe an easy way to do it is to use scanu at audio rate. I tried doing that and outputting to channel 3, but it didn't quite work. (I'm still very new to csound/csoundqt)

2016-04-06 11:26 GMT+02:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:

Hi,

 

I elextended a bit the scanned synthesis sandbox example and I added it to CsoundQt Examples/Synths.

 

In git:

https://github.com/CsoundQt/CsoundQt/blob/develop/examples/Synths/Scanned_Syntehesis_Sandbox.csd

 

The spring matrix (circularstring-128) is embenned in the file (encrypted with csb64enc and included with <CsFileB> tags. Very useful not to let your included thing get lost! Never had experience with that before.

 

 

I added a button and spinbox for choosing and playing the preset, support for MIDI keyboard (you can use also the virtual midi keyboard) to play crazy scanned synth music, a graph for showing the tables used and FFT output of the sound.

 

It is a lot of fun already and you can go much further from here studying the code, Live Event sheets for parameter combinations, creating new tables for various parameters and so on.

 

I hope to do a small demo, too, later...

 

tarmo

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

Date2016-04-06 18:46
FromIain McCurdy
SubjectRe: Scanned synthesis example
Thanks Tarmo!

(You mistyped "Syntehesis". Fixing the typo prevents a 404 error ;-).)


Date: Wed, 6 Apr 2016 12:26:39 +0300
From: tarmo.johannes@OTSAKOOL.EDU.EE
Subject: [Csnd] Scanned synthesis example
To: CSOUND@LISTSERV.HEANET.IE

Hi,

 

I elextended a bit the scanned synthesis sandbox example and I added it to CsoundQt Examples/Synths.

 

In git:

https://github.com/CsoundQt/CsoundQt/blob/develop/examples/Synths/Scanned_Syntehesis_Sandbox.csd

 

The spring matrix (circularstring-128) is embenned in the file (encrypted with csb64enc and included with <CsFileB> tags. Very useful not to let your included thing get lost! Never had experience with that before.

 

 

I added a button and spinbox for choosing and playing the preset, support for MIDI keyboard (you can use also the virtual midi keyboard) to play crazy scanned synth music, a graph for showing the tables used and FFT output of the sound.

 

It is a lot of fun already and you can go much further from here studying the code, Live Event sheets for parameter combinations, creating new tables for various parameters and so on.

 

I hope to do a small demo, too, later...

 

tarmo

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

Date2016-04-06 20:24
FromTarmo Johannes
SubjectRe: Scanned synthesis example
Hi,

thanks, Iain, indeed I mistyped, corrected then the filename and correct link is

https://github.com/CsoundQt/CsoundQt/blob/develop/examples/Synths/Scanned_Synthesis_Sandbox.csd

Gerard, I am afraid that the actual vibration of the spring is so complex, you would not make much out of  it -  every mass has (or can have) different weight, every spring different stiffness, they all are connected in different ways and there are so much more parameters. And don't forget, its not sound of the vibrating spring, but the moving virtual body is "scanned" - read using a certain trajectory with certain speed.

http://www.billverplank.com/ScannedSynthesis.PDF
http://write.flossmanuals.net/csound/h-scanned-synthesis/

Very intresting theory indeed. I think most of the sounds tend to bee a bit harsh and need some more processing (different filters etc) but to have a system that creates live, dynamic oscillation, is just great.

I uploaded a small impro on MIDI keyboard with the Sandbox example to:
https://soundcloud.com/tarmojohannes/csound-scanned-synthesis-demo

It could be used musically in much more interesting ways, of course.

Best!
tarmo

2016-04-06 20:46 GMT+03:00 Gerard Rodríguez <binbiniqegabenik@gmail.com>:
Thanks a lot Tarmo, very useful. I'm having a lot of fun.
Try kdamp=-0.7 that gives a lot of string like sounds, preset 1 sounds guitarrish, 6 pianoish etc

One thing that would be useful, is having a visualization of the spring model vibrating, maybe an easy way to do it is to use scanu at audio rate. I tried doing that and outputting to channel 3, but it didn't quite work. (I'm still very new to csound/csoundqt)

2016-04-06 11:26 GMT+02:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:

Hi,

 

I elextended a bit the scanned synthesis sandbox example and I added it to CsoundQt Examples/Synths.

 

In git:

https://github.com/CsoundQt/CsoundQt/blob/develop/examples/Synths/Scanned_Syntehesis_Sandbox.csd

 

The spring matrix (circularstring-128) is embenned in the file (encrypted with csb64enc and included with <CsFileB> tags. Very useful not to let your included thing get lost! Never had experience with that before.

 

 

I added a button and spinbox for choosing and playing the preset, support for MIDI keyboard (you can use also the virtual midi keyboard) to play crazy scanned synth music, a graph for showing the tables used and FFT output of the sound.

 

It is a lot of fun already and you can go much further from here studying the code, Live Event sheets for parameter combinations, creating new tables for various parameters and so on.

 

I hope to do a small demo, too, later...

 

tarmo

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

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

Date2016-04-06 20:48
FromGerard Rodríguez
SubjectRe: Scanned synthesis example
Sure the way I'm proposing would only be useful if each mass is only connected to the next one, like the circular spring, and if the scan trajectory is the normal mass by mass one.

A more advanced visualization would be required for anything else, but I think it could still be useful or at least visually appealing :P.

See this program https://www.youtube.com/watch?v=NHeCjPS3Ofw&nohtml5=False
It's a 2d system with very complex vibrations but it still gives a little insight on how the sound is produced.  Here's the paper https://www.dafx12.york.ac.uk/papers/dafx12_submission_18.pdf



2016-04-06 21:24 GMT+02:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:
Hi,

thanks, Iain, indeed I mistyped, corrected then the filename and correct link is

https://github.com/CsoundQt/CsoundQt/blob/develop/examples/Synths/Scanned_Synthesis_Sandbox.csd

Gerard, I am afraid that the actual vibration of the spring is so complex, you would not make much out of  it -  every mass has (or can have) different weight, every spring different stiffness, they all are connected in different ways and there are so much more parameters. And don't forget, its not sound of the vibrating spring, but the moving virtual body is "scanned" - read using a certain trajectory with certain speed.

http://www.billverplank.com/ScannedSynthesis.PDF
http://write.flossmanuals.net/csound/h-scanned-synthesis/

Very intresting theory indeed. I think most of the sounds tend to bee a bit harsh and need some more processing (different filters etc) but to have a system that creates live, dynamic oscillation, is just great.

I uploaded a small impro on MIDI keyboard with the Sandbox example to:
https://soundcloud.com/tarmojohannes/csound-scanned-synthesis-demo

It could be used musically in much more interesting ways, of course.

Best!
tarmo

2016-04-06 20:46 GMT+03:00 Gerard Rodríguez <binbiniqegabenik@gmail.com>:
Thanks a lot Tarmo, very useful. I'm having a lot of fun.
Try kdamp=-0.7 that gives a lot of string like sounds, preset 1 sounds guitarrish, 6 pianoish etc

One thing that would be useful, is having a visualization of the spring model vibrating, maybe an easy way to do it is to use scanu at audio rate. I tried doing that and outputting to channel 3, but it didn't quite work. (I'm still very new to csound/csoundqt)

2016-04-06 11:26 GMT+02:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:

Hi,

 

I elextended a bit the scanned synthesis sandbox example and I added it to CsoundQt Examples/Synths.

 

In git:

https://github.com/CsoundQt/CsoundQt/blob/develop/examples/Synths/Scanned_Syntehesis_Sandbox.csd

 

The spring matrix (circularstring-128) is embenned in the file (encrypted with csb64enc and included with <CsFileB> tags. Very useful not to let your included thing get lost! Never had experience with that before.

 

 

I added a button and spinbox for choosing and playing the preset, support for MIDI keyboard (you can use also the virtual midi keyboard) to play crazy scanned synth music, a graph for showing the tables used and FFT output of the sound.

 

It is a lot of fun already and you can go much further from here studying the code, Live Event sheets for parameter combinations, creating new tables for various parameters and so on.

 

I hope to do a small demo, too, later...

 

tarmo

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

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

Date2016-04-06 20:54
FromGerard Rodríguez
SubjectRe: Scanned synthesis example
It's a very cool synthesis method, it's way harder to predict and generate good sounds than I thought (for example a lot of sounds crack easily), but it gave me a lot of ideas to try. For example having a few virtual strings that are scanned synthesis systems, and letting them resonate with the sound of the whole system, like a piano with the sustain pedal.

Thanks for creating that sandbox, it made it way easier for me to experiment.

2016-04-06 21:48 GMT+02:00 Gerard Rodríguez <binbiniqegabenik@gmail.com>:
Sure the way I'm proposing would only be useful if each mass is only connected to the next one, like the circular spring, and if the scan trajectory is the normal mass by mass one.

A more advanced visualization would be required for anything else, but I think it could still be useful or at least visually appealing :P.

See this program https://www.youtube.com/watch?v=NHeCjPS3Ofw&nohtml5=False
It's a 2d system with very complex vibrations but it still gives a little insight on how the sound is produced.  Here's the paper https://www.dafx12.york.ac.uk/papers/dafx12_submission_18.pdf



2016-04-06 21:24 GMT+02:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:
Hi,

thanks, Iain, indeed I mistyped, corrected then the filename and correct link is

https://github.com/CsoundQt/CsoundQt/blob/develop/examples/Synths/Scanned_Synthesis_Sandbox.csd

Gerard, I am afraid that the actual vibration of the spring is so complex, you would not make much out of  it -  every mass has (or can have) different weight, every spring different stiffness, they all are connected in different ways and there are so much more parameters. And don't forget, its not sound of the vibrating spring, but the moving virtual body is "scanned" - read using a certain trajectory with certain speed.

http://www.billverplank.com/ScannedSynthesis.PDF
http://write.flossmanuals.net/csound/h-scanned-synthesis/

Very intresting theory indeed. I think most of the sounds tend to bee a bit harsh and need some more processing (different filters etc) but to have a system that creates live, dynamic oscillation, is just great.

I uploaded a small impro on MIDI keyboard with the Sandbox example to:
https://soundcloud.com/tarmojohannes/csound-scanned-synthesis-demo

It could be used musically in much more interesting ways, of course.

Best!
tarmo

2016-04-06 20:46 GMT+03:00 Gerard Rodríguez <binbiniqegabenik@gmail.com>:
Thanks a lot Tarmo, very useful. I'm having a lot of fun.
Try kdamp=-0.7 that gives a lot of string like sounds, preset 1 sounds guitarrish, 6 pianoish etc

One thing that would be useful, is having a visualization of the spring model vibrating, maybe an easy way to do it is to use scanu at audio rate. I tried doing that and outputting to channel 3, but it didn't quite work. (I'm still very new to csound/csoundqt)

2016-04-06 11:26 GMT+02:00 Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>:

Hi,

 

I elextended a bit the scanned synthesis sandbox example and I added it to CsoundQt Examples/Synths.

 

In git:

https://github.com/CsoundQt/CsoundQt/blob/develop/examples/Synths/Scanned_Syntehesis_Sandbox.csd

 

The spring matrix (circularstring-128) is embenned in the file (encrypted with csb64enc and included with <CsFileB> tags. Very useful not to let your included thing get lost! Never had experience with that before.

 

 

I added a button and spinbox for choosing and playing the preset, support for MIDI keyboard (you can use also the virtual midi keyboard) to play crazy scanned synth music, a graph for showing the tables used and FFT output of the sound.

 

It is a lot of fun already and you can go much further from here studying the code, Live Event sheets for parameter combinations, creating new tables for various parameters and so on.

 

I hope to do a small demo, too, later...

 

tarmo

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

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