Csound Csound-dev Csound-tekno Search About

[Csnd] From white(?) noise to distinct sound

Date2019-02-26 20:19
From"Jeanette C."
Subject[Csnd] From white(?) noise to distinct sound
Hey hey,
I have the following idea, but am doubtful about my technical approach.
Morph a complex sound source (sample, full orchestra) from static noise (of 
some colour) to the original sound with its frequency spectrum, amplitude and 
dynamics.

Reducing the bitrate goes somewhat towards the white noise and reduced 
dynamics. Some compression might also help. I tried extreme settings with 
compress, but didn't get anywhere close.

Any other idea how to get from complete mush back to full dynamic "original"?

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * GitHub: https://github.com/jeanette-c
  * Twitter: https://twitter.com/jeanette_c_s

You are my summer breeze, my winter sun,
my springtime soul, my autumn touch of gold
(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

Date2019-02-26 20:38
FromBill Alves
SubjectRe: [Csnd] From white(?) noise to distinct sound
Gradual randomization of grains?

On Feb 26, 2019, at 12:19 PM, Jeanette C. <julien@MAIL.UPB.DE> wrote:

Hey hey,
I have the following idea, but am doubtful about my technical approach.
Morph a complex sound source (sample, full orchestra) from static noise (of some colour) to the original sound with its frequency spectrum, amplitude and dynamics.

Reducing the bitrate goes somewhat towards the white noise and reduced dynamics. Some compression might also help. I tried extreme settings with compress, but didn't get anywhere close.

Any other idea how to get from complete mush back to full dynamic "original"?

Best wishes,

Jeanette

--
* Website: http://juliencoder.de - for summer is a state of sound
* SoundCloud: https://soundcloud.com/jeanette_c
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* GitHub: https://github.com/jeanette-c
* Twitter: https://twitter.com/jeanette_c_s

You are my summer breeze, my winter sun,
my springtime soul, my autumn touch of gold
(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

Bill Alves
Professor of Music, The Claremont Colleges
Harvey Mudd College
301 Platt Blvd. Claremont CA 91711
http://pages.hmc.edu/alves/
http://www.billalves.com/


Date2019-02-26 21:13
FromOeyvind Brandtsegg
SubjectRe: [Csnd] From white(?) noise to distinct sound
Yes bit depth reduction is a nice way of tearing the sound apart to noise.
You can even do "fractional bit depth", so that you don't have to have the steps of transition from one integer bit depth to the next.
Simple example below.

And also doing amplitude modulation with a noise modulator can give gradual decomposition.
You would then have a constant (at 1), modulated by a bipolar noise source, and multiply this with your audio signal.


;***************************************************
; bit reduction
;***************************************************
instr 1
iamp = ampdbfs(p4)
icps = p5
kBits line 8, p3, 1 ; bit depth
kQuantize = round(powoftwo(kBits-1)) ; find number of discrete steps for this bit depth
; as we allow fractional bit depth we need to round this value too
; audio generator
a1 oscili 1, icps, giSine
aQuantize = round(a1 * kQuantize)/kQuantize ; quantize audio signal (bit reduce)
outs a1*iamp, aQuantize*iamp ; output smooth sine wave (left), and bit reduced wave (right)
endin
;***************************************************

Den tir. 26. feb. 2019 kl. 21:19 skrev Jeanette C. <julien@mail.upb.de>:
Hey hey,
I have the following idea, but am doubtful about my technical approach.
Morph a complex sound source (sample, full orchestra) from static noise (of
some colour) to the original sound with its frequency spectrum, amplitude and
dynamics.

Reducing the bitrate goes somewhat towards the white noise and reduced
dynamics. Some compression might also help. I tried extreme settings with
compress, but didn't get anywhere close.

Any other idea how to get from complete mush back to full dynamic "original"?

Best wishes,

Jeanette

--
  * Website: http://juliencoder.de - for summer is a state of sound
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * GitHub: https://github.com/jeanette-c
  * Twitter: https://twitter.com/jeanette_c_s

You are my summer breeze, my winter sun,
my springtime soul, my autumn touch of gold
(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

Date2019-02-26 21:51
From"Jeanette C."
SubjectRe: [Csnd] From white(?) noise to distinct sound
Thanks Oeyvind and Bill, I've given both granular synthesis and the 
noise-modulation a try on top of variable bit reduction.

Thanks for the example code. It was good to check it against my own code and 
find that my implementation was almost exactly the same. I never really 
trusted that code, upto now.

Best wishes,

JKeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * GitHub: https://github.com/jeanette-c
  * Twitter: https://twitter.com/jeanette_c_s

You are my summer breeze, my winter sun,
my springtime soul, my autumn touch of gold
(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