Csound Csound-dev Csound-tekno Search About

[Cs-dev] Vocal Synthesis

Date2011-01-03 00:34
FromLewis Wake
Subject[Cs-dev] Vocal Synthesis
AttachmentsNone  None  
Hey I'm a Computer Arts student working on my degree year, one of my module's
heavily involves C Sound and I have literally no background experience with
it.

I understand the basics of .Orc and .Sco files, and the understand the
majority of the physics behind it all but unfortunately I'm an art
student...and implement code into these files is a struggle.

Could I get some help deciphering this task please?


Vocal Synthesis
Task 1 (Technical)
Subtractive synthesis is a technique that can be used to perform simple
vocal synthesis by modelling the physical processes at work when we create
and shape sounds in our own bodies.
The technique works by using banks of filters to carve out ‘formants’ – the
spectral peaks of the sound spectrum of the human voice.

Take a look at this Orchestra file.

sr = 44100 ; sample rate
kr = 4410 ; control rate
ksmps = 10
nchnls = 2 ; stereo

instr 1 ; vocal synthesizer

kenv linen p4, 0.1, p3, 0.1 ; linear fade-in, fade-out envelope

abuzz buzz 1, p5, 50, 1 ; buzz with 50 harmonics

afilter1 reson abuzz, p6, p7 ; formant 1
afilter1 balance afilter1, abuzz ; balance the filtered signal

afilter2 reson abuzz, p8, p9 ; formant 2
afilter2 balance afilter2, abuzz ; balance the filtered signal

afilter3 reson abuzz, p10, p11 ; formant 3
afilter3 balance afilter3, abuzz ; balance the filtered signal

afilter4 reson abuzz, p12, p13 ; formant 4
afilter4 balance afilter4, abuzz ; balance the filtered signal

afilter5 reson abuzz, p14, p15 ; formant 5
afilter5 balance afilter5, abuzz ; balance the filtered signal

outs1 kenv * (1-p16)*(afilter1 + afilter2 + afilter3 + afilter4 + afilter5)
outs2 kenv * p16 * (afilter1 + afilter2 + afilter3 + afilter4 + afilter5)

endin



Step 1: Your first task is to construct a suitable Score file. Using the
table below, create a score file that will play back a 1-second note using
the ‘a’ sound. [Hint: Ignore the amplitude in the table below for the
moment].

‘Alto a’ Filter 1 Filter 2 Filter 3 Filter 4 Filter 5
Centre Freq. (Hz) 800 1150 2800 3500 4950
Amp. (dB) 0 -4 -20 -36
-60
Bandwidth (Hz) 80 90 120 130 140


Any help with this would be GREATLY appreciated!
Thanks

Date2011-01-03 19:22
Fromjoachim heintz
SubjectRe: [Cs-dev] Vocal Synthesis
Hi Lewis -

I think you should move your request to the Csound User List. Usually
you get good feedback there. This is the list for developer discussions.

Write a mail to sympa@lists.bath.ac.uk with body "subscribe csound" to
get on the user list.

As to your question: there is a nice example from Iain McCurdy in his
Realtime Collection:
http://iainmccurdy.org/CsoundRealtimeExamples/GranularSynthesis/fofx6.csd

And you can find some stuff in the Csound Book (edited by Richard
Boulanger, MIT press), for instance 1107.orc/sco.

Good luck and success -

	joachim


Am 03.01.2011 01:34, schrieb Lewis Wake:
> Hey I'm a Computer Arts student working on my degree year, one of my module's
> heavily involves C Sound and I have literally no background experience with
> it.
> 
> I understand the basics of .Orc and .Sco files, and the understand the
> majority of the physics behind it all but unfortunately I'm an art
> student...and implement code into these files is a struggle.
> 
> Could I get some help deciphering this task please?
> 
> 
> Vocal Synthesis
> Task 1 (Technical)
> Subtractive synthesis is a technique that can be used to perform simple
> vocal synthesis by modelling the physical processes at work when we create
> and shape sounds in our own bodies.
> The technique works by using banks of filters to carve out ‘formants’ – the
> spectral peaks of the sound spectrum of the human voice.
> 
> Take a look at this Orchestra file.
> 
> sr = 44100	 ; sample rate
> kr = 4410	 ; control rate
> ksmps = 10	
> nchnls = 2	 ; stereo
> 
> instr 1	 ; vocal synthesizer
> 
> kenv	 linen	p4, 0.1, p3, 0.1	; linear fade-in, fade-out envelope
> 
> abuzz	 buzz	1, p5, 50, 1	 ; buzz with 50 harmonics
> 
> afilter1	reson abuzz, p6, p7	 ; formant 1
> afilter1	balance	afilter1, abuzz	 ; balance the filtered signal
> 
> afilter2	reson abuzz, p8, p9	 ; formant 2
> afilter2	balance	afilter2, abuzz	 ; balance the filtered signal
> 
> afilter3	reson abuzz, p10, p11	 ; formant 3
> afilter3	balance	afilter3, abuzz	 ; balance the filtered signal
> 
> afilter4	reson abuzz, p12, p13	 ; formant 4
> afilter4	balance	afilter4, abuzz	 ; balance the filtered signal
> 
> afilter5	reson abuzz, p14, p15	 ; formant 5
> afilter5	balance	afilter5, abuzz	 ; balance the filtered signal
> 
> outs1	 kenv * (1-p16)*(afilter1 + afilter2 + afilter3 + afilter4 + afilter5)
> outs2	 kenv * p16 * (afilter1 + afilter2 + afilter3 + afilter4 + afilter5)
> 
> endin
> 
> 
> 
> Step 1:	Your first task is to construct a suitable Score file. Using the
> table below, create a score file that will play back a 1-second note using
> the ‘a’ sound. [Hint: Ignore the amplitude in the table below for the
> moment].
> 
> ‘Alto a’	 Filter 1	Filter 2	Filter 3	Filter 4	Filter 5
> Centre Freq. (Hz)	 800	1150	 2800	 3500	 4950
> Amp. (dB)	 0	 -4	 -20	 -36	
> -60
> Bandwidth (Hz)	 80	 90	 120	 130	 140
> 
> 
> Any help with this would be GREATLY appreciated!
> Thanks
> 
> 
> 
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> 
> 
> 
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/li

Date2011-01-03 23:44
FromFuturist
SubjectRe: [Cs-dev] Vocal Synthesis
Thanks for your assitance Joachim, could you please provide a link to the
User List?
-- 
View this message in context: http://csound.1045644.n5.nabble.com/Vocal-Synthesis-tp3325264p3326397.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-04 08:10
Fromjoachim heintz
SubjectRe: [Cs-dev] Vocal Synthesis
see http://csound.sourceforge.net/index.html under "Forum"
this site has other useful links.
also you find a lot of information at www.csounds.com
and a new textbook under construction at
http://booki.flossmanuals.net/csound/

all best -

	joachim

Am 04.01.2011 00:44, schrieb Futurist:
> 
> Thanks for your assitance Joachim, could you please provide a link to the
> User List?

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net