csound / csound.github.io

Csound Project Homepage
25 stars 27 forks source link

Getting Started examples need "0dbfs = 1" #84

Closed DrEntropy closed 9 months ago

DrEntropy commented 3 years ago

The "full examples" on https://csound.com/get-started.html will produce silence if the reader doesn't include the at least the header line: 0dbfs = 1 This can be frustrating for someone who is just trying to 'get started'. If they just used the example they would only get silence and probably have no idea why. I recommend somewhere after describing the header mentioning that it needs to be included in any examples on this page, and then a reminder for the first "full example" , perhaps just including the header in that example.

In other words, the first full example would become:

<CsoundSynthesizer>
<CsInstruments>
sr = 44100
nchnls = 2
0dbfs = 1

instr 1
aOut vco2 1, p4
out aOut
endin

</CsInstruments>
<CsScore>
i1 0 1 100
i1 1 1 200
i1 2 1 300
</CsScore>
</CsoundSynthesizer>
vlazzarini commented 3 years ago

Or the examples could be modified to refer to Odbfs.

a1 vco2 0dbfs,p4

etc

vlazzarini commented 2 years ago

This was mentioned here:

https://github.com/csound/csound/issues/1612

it needs attention, but do we have a website maintainer? It appears no one has volunteered to do this.

joshkopecek commented 2 years ago

Seconding this. If it's as simple as editing the markdown, would you accept PRs?

vlazzarini commented 2 years ago

PRs would be very welcome, thank you very much.

joachimheintz commented 9 months ago

if have also added the 0dbfs=1 statement in other parts of this site.