Translate

Options
SourceTranslationState
108
If you want to make a note sharp, add an `s` after the note name such as `play :Fs3` and if you want to make a note flat, add a `b` such as `play :Eb3`.
Om du vill göra tonen en halvton högre, lägg i så fall till ett `s` efter tonens namn, såsom `play :Fs3`. Vill du istället göra tonen en halvton lägre, lägg i så fall till ett `b` såsom `play :Eb3`.
109
Now go *crazy* and have fun making your own tunes.
Ha nu *riktigt kul* när du gör dina egna låtar.
110
2.2 Synth Options
2.2 Syntens tillval
111
Synth Options: Amp and Pan
Syntens tillval: amp och pan
112
As well as allowing you to control which note to play or which sample to trigger, Sonic Pi provides a whole range of options to craft and control the sounds. We'll be covering many of these in this tutorial and there's extensive documentation for each in the help system. However, for now we'll introduce two of the most useful: *amplitude* and *pan*. First, let's look at what options actually are.
Förutom att låta dig bestämma vilken ton som skall spelas eller vilken sampling som skall startas, så ger dig Sonic Pi möjlighet att skruva på och kontrollera ljudet.
113
Options
114
Sonic Pi supports the notion of options (or opts for short) for its synths. Opts are controls you pass to `play` which modify and control aspects of the sound you hear. Each synth has its own set of opts for finely tuning its sound. However, there are common sets of opts shared by many sounds such as `amp:` and envelope opts (covered in another section).
115
Opts have two major parts, their name (the name of the control) and their value (the value you want to set the control at). For example, you might have a opt called `cheese:` and want to set it with a value of `1`.
116
Opts are passed to calls to `play` by using a comma `,` and then the name of the opt such as `amp:` (don't forget the colon `:`) and then a space and the value of the opt. For example:
117
play 50, cheese: 1
118
(Note that `cheese:` isn't a valid opt, we're just using it as an example).
5 months ago anonymous has suggested
Inställningar

Suggested change:

Inställningar

Loading…

Loading…

Things to check

Glossary

Source Translation
No related strings found in the glossary.

Source information

Source string location
02.2-Synth-Params.md:13
Source string age
2 years ago
Translation file
etc/doc/lang/sonic-pi-tutorial-sv.po, string 113
String priority
Medium