# Newbies

**URL:** https://forum.csound.com/c/newbies/8.md?page=1

[Latest](https://forum.csound.com/latest.md) · [Categories](https://forum.csound.com/categories.md) · [Tags](https://forum.csound.com/tags.md)

**Page:** 2

---

## [Maximum Amplitude](https://forum.csound.com/t/maximum-amplitude/1901)

<div class="topic-metadata">

**Author:** [@nelsie8](https://forum.csound.com/u/nelsie8)\
**Replies:** 1\
**Last updated:** [November 10, 2024, 5:25pm UTC](https://forum.csound.com/t/maximum-amplitude/1901 "2024-11-10T17:25:12Z")

</div>

As I put different frequencies through one filter some with greater harmonic content sound much louder. What is a catch all easy method of using a gate just to set a volume limit? What opcode would you use? thanks

---

## [Real instruments](https://forum.csound.com/t/real-instruments/1898)

<div class="topic-metadata">

**Author:** [@suresh](https://forum.csound.com/u/suresh)\
**Replies:** 1\
**Last updated:** [November 9, 2024, 6:27pm UTC](https://forum.csound.com/t/real-instruments/1898 "2024-11-09T18:27:46Z")

</div>

What are some Csound possibilities available to come somewhat close to the sound of real instruments ? Perhaps a piano ? Are there any examples ? Thank you !

---

## [Envelope clic on each note (linen opcode)](https://forum.csound.com/t/envelope-clic-on-each-note-linen-opcode/1883)

<div class="topic-metadata">

**Author:** [@Jstoro](https://forum.csound.com/u/Jstoro)\
**Replies:** 5\
**Last updated:** [November 4, 2024, 11:28am UTC](https://forum.csound.com/t/envelope-clic-on-each-note-linen-opcode/1883 "2024-11-04T11:28:51Z")

</div>

Hello! I’m currently learning my first steps in Csound. While I’m trying to do is to get the generator (foscil) to be multiplied by a linen opcode. I think I’m in the right way, but I cannot eliminate the final clic on …

---

## [Stopping a sound without a click](https://forum.csound.com/t/stopping-a-sound-without-a-click/1878)

<div class="topic-metadata">

**Author:** [@nadir](https://forum.csound.com/u/nadir)\
**Replies:** 5\
**Last updated:** [November 1, 2024, 4:28pm UTC](https://forum.csound.com/t/stopping-a-sound-without-a-click/1878 "2024-11-01T16:28:29Z")

</div>

Hi. I’m trying to interrupt a sound without having the final click, not with a midi command but from the keyboard. Thanks for the help! n instr 1 krel init 1 kenv linen 1, 0.01, p3 ,0.5 kKey init 0 kKey, kDown sens…

---

## [Trying to get MIDI into Csound](https://forum.csound.com/t/trying-to-get-midi-into-csound/1826)

<div class="topic-metadata">

**Author:** [@Liam](https://forum.csound.com/u/Liam)\
**Replies:** 3\
**Last updated:** [October 7, 2024, 5:26pm UTC](https://forum.csound.com/t/trying-to-get-midi-into-csound/1826 "2024-10-07T17:26:44Z")

</div>

I’ve looked at the examples for cpsmidi and ampmidi but I’m still having trouble getting my code to work. I’m also getting an error with the line that defines k1. Thanks in advance!

---

## [Arrays in Csound](https://forum.csound.com/t/arrays-in-csound/1807)

<div class="topic-metadata">

**Author:** [@Vonias](https://forum.csound.com/u/Vonias)\
**Replies:** 5\
**Last updated:** [September 26, 2024, 9:21am UTC](https://forum.csound.com/t/arrays-in-csound/1807 "2024-09-26T09:21:36Z")

</div>

I’m having trouble getting arrays to work in CSound. Is there any reason why ‘randi’ is not working in this situation? -odac ; Realtime audio out sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 instr 1 knote\[\] ini…

---

## [How to get the same sound with another sample rate](https://forum.csound.com/t/how-to-get-the-same-sound-with-another-sample-rate/1752)

<div class="topic-metadata">

**Author:** [@nnbveh](https://forum.csound.com/u/nnbveh)\
**Replies:** 2\
**Last updated:** [September 13, 2024, 9:09am UTC](https://forum.csound.com/t/how-to-get-the-same-sound-with-another-sample-rate/1752 "2024-09-13T09:09:24Z")

</div>

Hi, completely new to the Csound. In supercollider(which I’m also quite a noob at), if I change the server sample rate from 44100 let’s say to 96000 and open the same example ‘patch’ it will still sound the same. I’ve no…

---

## [OSClisten updating global K-rate variables seems to clog](https://forum.csound.com/t/osclisten-updating-global-k-rate-variables-seems-to-clog/1772)

<div class="topic-metadata">

**Author:** [@tremblap](https://forum.csound.com/u/tremblap)\
**Replies:** 10\
**Last updated:** [August 26, 2024, 1:26pm UTC](https://forum.csound.com/t/osclisten-updating-global-k-rate-variables-seems-to-clog/1772 "2024-08-26T13:26:24Z")

</div>

Hello all In preparation for the CSoundConf next month, I am dipping my toes back (after a 26 year hiatus!) - I really welcome the global variables and OSC support… but when I connect the two, it seems I’m getting clogg…

---

## [Stack smashing with rtaudio](https://forum.csound.com/t/stack-smashing-with-rtaudio/1406)

<div class="topic-metadata">

**Author:** [@Bill\_P](https://forum.csound.com/u/Bill_P)\
**Replies:** 1\
**Last updated:** [July 1, 2024, 10:03am UTC](https://forum.csound.com/t/stack-smashing-with-rtaudio/1406 "2024-07-01T10:03:40Z")

</div>

I’ve been recommended to use Csound as an audio mixer with jack, mixing 7 audio inputs down to 5 outputs. I have used csound many years ago, but I hadn’t used rtaudio (wasn’t available back then!). In that sense I gues…

---

## [How can one suppress just the "defining argument" messages?](https://forum.csound.com/t/how-can-one-suppress-just-the-defining-argument-messages/1719)

<div class="topic-metadata">

**Author:** [@Noise](https://forum.csound.com/u/Noise)\
**Replies:** 0\
**Last updated:** [June 21, 2024, 3:44pm UTC](https://forum.csound.com/t/how-can-one-suppress-just-the-defining-argument-messages/1719 "2024-06-21T15:44:32Z")

</div>

Since Csound doesn’t have macro concatenation predefined like in C (##), I had to defined as #define C(X'Y) #$X$Y# But since I use that $C a lot in the subsequent to emulate structures in Csound 6 (by prefixing fields …

---

## [Negative p3 values dont work](https://forum.csound.com/t/negative-p3-values-dont-work/1667)

<div class="topic-metadata">

**Author:** [@OPsound](https://forum.csound.com/u/OPsound)\
**Replies:** 1\
**Last updated:** [June 19, 2024, 7:11pm UTC](https://forum.csound.com/t/negative-p3-values-dont-work/1667 "2024-06-19T19:11:58Z")

</div>

\<CsoundSynthesizer\> \<CsOptions\> -odac \</CsOptions\> \<CsInstruments\> sr = 44100 ksmps = 64 nchnls = 2 0dbfs = 1 instr 1 asig vco2 0.01,70 out asig endin \</CsInstruments\> \<CsScore\> i 1 0 0 i 1 0 -1 \</CsScor…

---

## [Is there a way to make the parser dump the generated orchestra file after macro expansion?](https://forum.csound.com/t/is-there-a-way-to-make-the-parser-dump-the-generated-orchestra-file-after-macro-expansion/1707)

<div class="topic-metadata">

**Author:** [@Noise](https://forum.csound.com/u/Noise)\
**Replies:** 0\
**Last updated:** [June 19, 2024, 6:25pm UTC](https://forum.csound.com/t/is-there-a-way-to-make-the-parser-dump-the-generated-orchestra-file-after-macro-expansion/1707 "2024-06-19T18:25:42Z")

</div>

I know it’s possible to make csound dump the score file at various stages, but is possible to make csound dump the generated orchestra file after macro expansion? (More or less get the equivalent of the -save-temps flag …

---

## [Release of envelope spoils loop](https://forum.csound.com/t/release-of-envelope-spoils-loop/1675)

<div class="topic-metadata">

**Author:** [@OPsound](https://forum.csound.com/u/OPsound)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 5:54am UTC](https://forum.csound.com/t/release-of-envelope-spoils-loop/1675 "2024-05-30T05:54:56Z")

</div>

; ; "Tied Note Example" ; by Steven Yi ; ; Example instruments and score written for "Exploring Tied Notes in Csound" article in The Csound Journal, Volume 1, Issue 1. ; ; Generated by blue 0.99.7 (http://csounds.com/ste…

---

## [Negative p3 values dont exitst, real legato isnt on surface](https://forum.csound.com/t/negative-p3-values-dont-exitst-real-legato-isnt-on-surface/1668)

<div class="topic-metadata">

**Author:** [@OPsound](https://forum.csound.com/u/OPsound)\
**Replies:** 6\
**Last updated:** [May 18, 2024, 3:53pm UTC](https://forum.csound.com/t/negative-p3-values-dont-exitst-real-legato-isnt-on-surface/1668 "2024-05-18T15:53:34Z")

</div>

I’ve reed manual and its really weird… Negative p3 value events must end with some events to work. The purpose of negative p3 values other than weird itie usage is unknown, and all of that is from official manual! Can i …

---

## [Hetro](https://forum.csound.com/t/hetro/1666)

<div class="topic-metadata">

**Author:** [@OPsound](https://forum.csound.com/u/OPsound)\
**Replies:** 1\
**Last updated:** [May 16, 2024, 3:51pm UTC](https://forum.csound.com/t/hetro/1666 "2024-05-16T15:51:24Z")

</div>

Why when i use ires system\_i 1, {{hetro “/Users/now/Downloads/heavy-donk.wav” “/Users/now/Downloads/hd.het”}} it works only when i execute .csd from console. And from csoundqt it dont work at all?

---

## [Please help to compile](https://forum.csound.com/t/please-help-to-compile/1659)

<div class="topic-metadata">

**Author:** [@mishav](https://forum.csound.com/u/mishav)\
**Replies:** 0\
**Last updated:** [May 14, 2024, 4:00pm UTC](https://forum.csound.com/t/please-help-to-compile/1659 "2024-05-14T16:00:36Z")

</div>

everything is here impulse\_response.wav and the folder hog belong in the same directory as changer.csd the program is supposed to take six stems from the song heart of glass and change it stem randomly little by littl…

---

## [Csound Working in a Docker Container, But Producing Silent Outputs](https://forum.csound.com/t/csound-working-in-a-docker-container-but-producing-silent-outputs/1636)

<div class="topic-metadata">

**Author:** [@saurabh](https://forum.csound.com/u/saurabh)\
**Replies:** 1\
**Last updated:** [May 4, 2024, 6:35am UTC](https://forum.csound.com/t/csound-working-in-a-docker-container-but-producing-silent-outputs/1636 "2024-05-04T06:35:48Z")

</div>

Hi all, I installed Csound in a Docker container. It seems to be working in that I’m able to generate output files in .wav format but i cant hear anything. I tried changing the sample rate of output file to 48kHz (as s…

---

## [Storing all the values from a MIDI controller in a 2-dimensional array](https://forum.csound.com/t/storing-all-the-values-from-a-midi-controller-in-a-2-dimensional-array/1634)

<div class="topic-metadata">

**Author:** [@andras\_feher](https://forum.csound.com/u/andras_feher)\
**Replies:** 2\
**Last updated:** [April 30, 2024, 1:55pm UTC](https://forum.csound.com/t/storing-all-the-values-from-a-midi-controller-in-a-2-dimensional-array/1634 "2024-04-30T13:55:15Z")

</div>

Hey, I’m trying to build an instrument for getting all the values from MIDI controller on every channel. I tried using a nested loop, something like this: loop\_i: loop\_j: gk\_every\_knob\[ii\]\[ij\] ctrl7 ii, ij, 0, 127 l…

---

## [Tool to find harmony errors?](https://forum.csound.com/t/tool-to-find-harmony-errors/1453)

<div class="topic-metadata">

**Author:** [@andrew907](https://forum.csound.com/u/andrew907)\
**Replies:** 1\
**Last updated:** [March 18, 2024, 2:07am UTC](https://forum.csound.com/t/tool-to-find-harmony-errors/1453 "2024-03-18T02:07:23Z")

</div>

It’s going to take months for me to get Csound set up. I’ve tried all kinds of tools for various lengths of time–proprietary software, Musescore, Lilypond, Timidity, Sfztools, Audacity, Sox, and the Web Audio API. I like…

---

## [Create orchestra with additive and subtractive synthesis of several minutes](https://forum.csound.com/t/create-orchestra-with-additive-and-subtractive-synthesis-of-several-minutes/1207)

<div class="topic-metadata">

**Author:** [@maupetrucci](https://forum.csound.com/u/maupetrucci)\
**Replies:** 34\
**Last updated:** [January 3, 2024, 11:57am UTC](https://forum.csound.com/t/create-orchestra-with-additive-and-subtractive-synthesis-of-several-minutes/1207 "2024-01-03T11:57:53Z")

</div>

Greetings . I wanted some advice on how to lengthen this starter patch to make it more interesting. Remaining in the additive synthesis with fixed and variable spectrum plus a subtractive one at most. How would you modi…

---

## [CsoundQt dac output select failure](https://forum.csound.com/t/csoundqt-dac-output-select-failure/1508)

<div class="topic-metadata">

**Author:** [@JimAikin](https://forum.csound.com/u/JimAikin)\
**Replies:** 10\
**Last updated:** [January 15, 2024, 6:56pm UTC](https://forum.csound.com/t/csoundqt-dac-output-select-failure/1508 "2024-01-15T18:56:15Z")

</div>

This is a problem I’ve encountered before. Haven’t used Csound for a couple of years, so today I downloaded it and did a fresh install. Totally standard Windows 10 PC, Focusrite USB ASIO audio interface, works fine with…

---

## [CsoundQt 1.1.1: Where are the Examples?](https://forum.csound.com/t/csoundqt-1-1-1-where-are-the-examples/1509)

<div class="topic-metadata">

**Author:** [@JimAikin](https://forum.csound.com/u/JimAikin)\
**Replies:** 1\
**Last updated:** [January 14, 2024, 9:46pm UTC](https://forum.csound.com/t/csoundqt-1-1-1-where-are-the-examples/1509 "2024-01-14T21:46:08Z")

</div>

I’m still waiting for an answer to my audio output question, but here’s another question while I wait. The Examples menu in CsoundQt is empty. Apparently no examples are installed with the installer. (The purpose of an i…

---

## [Bind variable to channel?](https://forum.csound.com/t/bind-variable-to-channel/1489)

<div class="topic-metadata">

**Author:** [@lo94](https://forum.csound.com/u/lo94)\
**Replies:** 3\
**Last updated:** [January 2, 2024, 3:21pm UTC](https://forum.csound.com/t/bind-variable-to-channel/1489 "2024-01-02T15:21:28Z")

</div>

Hey all, Was just curious if there is an efficient way to bind a variable to a channel so it automatically updates on change or if this has to be explicitly handled via checking with opcodes like changed and changed2

---

## [Linseg opcode minus sign](https://forum.csound.com/t/linseg-opcode-minus-sign/1482)

<div class="topic-metadata">

**Author:** [@NotSure](https://forum.csound.com/u/NotSure)\
**Replies:** 2\
**Last updated:** [December 25, 2023, 2:51pm UTC](https://forum.csound.com/t/linseg-opcode-minus-sign/1482 "2023-12-25T14:51:47Z")

</div>

Hello, I decided to deepen the study of Csound with CsoundQt. I just spent three days on the linseg opcode to feed the diskin opcode to read the fox.wav sample. I have succeeded 90% in mastering the linseg opcode but …

---

## [Csound launching with manual full screen open](https://forum.csound.com/t/csound-launching-with-manual-full-screen-open/1466)

<div class="topic-metadata">

**Author:** [@federico\_scaglione](https://forum.csound.com/u/federico_scaglione)\
**Replies:** 3\
**Last updated:** [November 30, 2023, 11:30am UTC](https://forum.csound.com/t/csound-launching-with-manual-full-screen-open/1466 "2023-11-30T11:30:36Z")

</div>

When I open csoundqt it launches a full screen of the manual that I can’t understand how to esc

---

## [Installing csoundmagics](https://forum.csound.com/t/installing-csoundmagics/1410)

<div class="topic-metadata">

**Author:** [@littleowl](https://forum.csound.com/u/littleowl)\
**Replies:** 2\
**Last updated:** [October 26, 2023, 11:15am UTC](https://forum.csound.com/t/installing-csoundmagics/1410 "2023-10-26T11:15:08Z")

</div>

Hey Guys, I cloned the repository for ctcsound and then went into it ran installcsoundmagics.py from inside the csoundmagics folder, which did not work so I took a look inside and it seems pretty clear to me there is n…

---

## [Using Cmake to build Csound Plugins](https://forum.csound.com/t/using-cmake-to-build-csound-plugins/1404)

<div class="topic-metadata">

**Author:** [@littleowl](https://forum.csound.com/u/littleowl)\
**Replies:** 6\
**Last updated:** [October 21, 2023, 4:54pm UTC](https://forum.csound.com/t/using-cmake-to-build-csound-plugins/1404 "2023-10-21T16:54:26Z")

</div>

I am trying to install the csound plugins on my chromebook which is running in developer mode. I have been using CsoundQt with some success other than the fact it keeps crashing often. I am trying to use the python opcod…

---

## [Csound FLOSS Manual Excercises](https://forum.csound.com/t/csound-floss-manual-excercises/1396)

<div class="topic-metadata">

**Author:** [@Carambolo](https://forum.csound.com/u/Carambolo)\
**Replies:** 0\
**Last updated:** [October 14, 2023, 3:10pm UTC](https://forum.csound.com/t/csound-floss-manual-excercises/1396 "2023-10-14T15:10:57Z")

</div>

I was wondering if you could help me with the “answers” to the Try It Yourself sections of the last 3 chapters of “Getting Started”; FLOSS Manual. I don’t really need them explained to me right now, just the correct cod…

---

## [Easy way to read and parse JSON?](https://forum.csound.com/t/easy-way-to-read-and-parse-json/814)

<div class="topic-metadata">

**Author:** [@lo94](https://forum.csound.com/u/lo94)\
**Replies:** 6\
**Last updated:** [September 25, 2023, 9:14am UTC](https://forum.csound.com/t/easy-way-to-read-and-parse-json/814 "2023-09-25T09:14:56Z")

</div>

Hello everyone I was curious if there are some existing opcodes for easily reading/parsing JSON files. Thanks in advance!

---

## [Possible to reset metro or metro2?](https://forum.csound.com/t/possible-to-reset-metro-or-metro2/1340)

<div class="topic-metadata">

**Author:** [@lo94](https://forum.csound.com/u/lo94)\
**Replies:** 2\
**Last updated:** [September 10, 2023, 11:07pm UTC](https://forum.csound.com/t/possible-to-reset-metro-or-metro2/1340 "2023-09-10T23:07:07Z")

</div>

Hey all, I’m working on a sequencer app and I was wondering if it’s possible to internally reset the phase of metro or metro2 to its initial starting point? I want to be able to start/stop the metronome and when restar…

[Previous page](https://forum.csound.com/c/newbies/8.md)

[Next page](https://forum.csound.com/c/newbies/8.md?page=2)
