m (af wiki template addition)
 
(50 intermediate revisions by 23 users not shown)
Line 1: Line 1:
{{April Fools}}
+
{{featured|April|2016}}{{April Fools}}
 
{{about|sounds in the [[Scratch Program]]|blocks related to sounds|Sound Blocks}}
 
{{about|sounds in the [[Scratch Program]]|blocks related to sounds|Sound Blocks}}
A '''sound''' is an item which one hears that can be played in a [[Scratch]] [[project]], available by importing, Scratch's built-in sound library, or recording. Sounds are played by using the [[Sound Blocks|sound blocks]], which control a sound's [[Volume (value)|volume]], [[Tempo (value)|tempo]], and more.
+
{{redirect|Music|projects mainly about music|Music Projects}}
 +
A '''sound''' is an item which one hears that can be played in a [[Scratch]] [[project]], available by importing, Scratch's built-in sound library, or recording. Sounds are played by using the [[Sound Blocks|sound blocks]], which control a sound's [[Volume (value)|volume]], [[Tempo (value)|tempo]], and more. All sounds in Scratch are played in mono.
 +
{{warning|Loud sounds (such as screams and certain genres of music) can hurt the viewer's ears or even cause deafness; especially if the volume is set too high or the user is using head/earphones. When using such sounds, it's always wise to add a warning in the [[Notes and Credits]] or lower the volume of the audio if possible.}}
  
==Sounds and notes==
+
== Sounds and Notes ==
 
All sounds played in a project are divided into two types: sounds and notes.[[File:The Sounds Tab.png|thumb|250px|Sounds can be managed in the Sounds Tab.]]
 
All sounds played in a project are divided into two types: sounds and notes.[[File:The Sounds Tab.png|thumb|250px|Sounds can be managed in the Sounds Tab.]]
  
===Sounds===
+
=== Sounds ===
 
Sounds are the items that are available only by importing or recording. These can be obtained in the "Sounds" tab, in which one can import, record, play, and edit sounds.
 
Sounds are the items that are available only by importing or recording. These can be obtained in the "Sounds" tab, in which one can import, record, play, and edit sounds.
  
 
The following [[blocks]] control the playing of these sounds:
 
The following [[blocks]] control the playing of these sounds:
*[[Play Sound () (block)|Play Sound ()]] {{-}} Begins the sound and executes the rest of its [[script]], without waiting for the sound to finish playing.
 
*[[Play Sound () Until Done (block)|Play Sound () Until Done]] {{-}} Plays a sound, waits for it to finish playing, and will carry on with its script.
 
*[[Stop All Sounds (block)|Stop All Sounds]] {{-}} Cancels all sounds currently playing.
 
*[[Set Volume to ()% (block)|Set Volume to ()%]] {{-}} Sets a sprite's volume.
 
*[[Change Volume by () (block)|Change Volume by ()]] {{-}} Changes a sprite's volume by a given amount.
 
  
===Notes===
+
* [[Play Sound () (block)|Play Sound ()]] {{-}} Begins the sound and executes the rest of its [[script]], without waiting for the sound to finish playing.
 +
* [[Play Sound () Until Done (block)|Play Sound () Until Done]] {{-}} Plays a sound, waits for it to finish playing, and will carry on with its script.
 +
* [[Stop All Sounds (block)|Stop All Sounds]] {{-}} Cancels all sounds currently playing.
 +
* [[Set Volume to ()% (block)|Set Volume to ()%]] {{-}} Sets a sprite's volume.
 +
* [[Change Volume by () (block)|Change Volume by ()]] {{-}} Changes a sprite's volume by a given amount.
 +
 
 +
=== Notes ===
 
{{main|Notes}}
 
{{main|Notes}}
 
[[File:Blocks relating to notes.png|thumb|Notes can be controlled with a variety of blocks.]]
 
[[File:Blocks relating to notes.png|thumb|Notes can be controlled with a variety of blocks.]]
Prior to [[Scratch 2.0]], notes were accessed by a MIDI system, which are varieties of notes built in to one's computer. However, since Scratch 2.0 runs on Adobe Flash, the MIDI sound library is uncapable of use, and therefore the [[Scratch Team]] had to create their own sounds library built in to the Scratch program. The following blocks are related to notes:
+
Prior to [[Scratch 2.0]], notes were accessed by a MIDI system, which are varieties of notes built in to one's computer. However, since Scratch 2.0 runs on Adobe Flash, the MIDI sound library is uncapable of use,{{cn|date=July 2020}} and therefore the [[Scratch Team]] had to create their own sounds library built in to the Scratch program. The following blocks are related to notes:
*[[Play Drum () for () Beats (block)|Play Drum () for () Beats]] {{-}} Plays the specified drum for a given amount of beats.
 
*[[Play Note () for () Beats (block)|Play Note () for () Beats]] {{-}} Plays a given note from an instrument chosen in other blocks.
 
*[[Set Instrument to () (block)|Set Instrument to ()]] {{-}} Sets the current instrument to one selected from a drop-down menu.
 
*[[Set Volume to () (block)|Set Volume to ()]] {{-}} Sets a sprite's volume.
 
*[[Change Volume by () (block)|Change Volume by ()]] {{-}} Changes a sprite's volume by a given amount.
 
*[[Set Tempo to () bpm (block)|Set Tempo to () bpm]] {{-}} Sets a sprite's tempo (affects the "beat" speed).
 
*[[Change Tempo by () (block)|Change Tempo by ()]] {{-}} Changes a sprite's tempo a given amount.
 
*[[Rest for () Beats (block)|Rest for () Beats]] {{-}} Plays a rest for a given amount of beats.
 
  
==Accessibility of Sounds==
+
* [[Play Drum () for () Beats (block)|Play Drum () for () Beats]] {{-}} Plays the specified drum for a given amount of beats.
 +
* [[Play Note () for () Beats (block)|Play Note () for () Beats]] {{-}} Plays a given note from an instrument chosen in other blocks.
 +
* [[Set Instrument to () (block)|Set Instrument to ()]] {{-}} Sets the current instrument to one selected from a drop-down menu.
 +
* [[Set Volume to () (block)|Set Volume to ()]] {{-}} Sets a sprite's volume.
 +
* [[Change Volume by () (block)|Change Volume by ()]] {{-}} Changes a sprite's volume by a given amount.
 +
* [[Set Tempo to () bpm (block)|Set Tempo to () bpm]] {{-}} Sets a sprite's tempo (affects the "beat" speed).
 +
* [[Change Tempo by () (block)|Change Tempo by ()]] {{-}} Changes a sprite's tempo a given amount.
 +
* [[Rest for () Beats (block)|Rest for () Beats]] {{-}} Plays a rest for a given amount of beats.
  
===Importing===
+
== Accessibility of Sounds ==
 +
 
 +
=== Importing ===
  
 
To obtain these, one has to view the Sounds tab of a [[sprite]]/[[stage]] and select the Import button (which appears as a folder). The user will be able to import sounds from their desktop or varying locations, including a sound library that comes with Scratch.
 
To obtain these, one has to view the Sounds tab of a [[sprite]]/[[stage]] and select the Import button (which appears as a folder). The user will be able to import sounds from their desktop or varying locations, including a sound library that comes with Scratch.
Line 37: Line 41:
 
{{note|When a [[Wikipedia:Surround sound|surround sound]] audio file is converted to mono, the surround channels are removed. This is due to Scratch's limitations with sound.}}
 
{{note|When a [[Wikipedia:Surround sound|surround sound]] audio file is converted to mono, the surround channels are removed. This is due to Scratch's limitations with sound.}}
  
===Recording===
+
=== Recording ===
  
[[File:Scratch 2.0 Sound Editor.png|thumb|275px|The Scratch 2.0 sound editor.]]
+
[[File:3.0 Sound Editor.png|thumb|275px|The Scratch 3.0 sound editor.]]
 
{{main|Sound Editor}}
 
{{main|Sound Editor}}
Sounds can be recorded, imported, edited, exported and modified in the Scratch 2.0 sound editor. It provides simple options to edit an existing sound for many benefits. For more advanced options not within Scratch's, an external sound editor can be used, but it is not recommended to record music from other websites because
+
Sounds can be recorded, imported, edited, exported and modified in the Scratch 3.0 sound editor. It provides simple options to edit an existing sound for many benefits. For more advanced options not within Scratch's, an external sound editor can be used, but it is not recommended to record music from other websites because
this will result in low-quality music with tons of background noise and quietness.The best way to do it is to import
+
this will result in low-quality music with tons of background noise and quietness. The best way to do it is to import
 
music.
 
music.
 +
 +
 +
{{note|When recording sound, it may be helpful to turn the volume up a little bit in the Sound Editor before recording. Turning up the volume will make it easier for Scratchers to hear the sound recorded when a project is launched.}}
  
 
== Uploading MP3 Bug ==
 
== Uploading MP3 Bug ==
 
{{External Programs}}
 
{{External Programs}}
With an update to Scratch 2.0, there was also a glitch where you could not import MP3 files without the seconds being 0:00.00. Someone, however, learned that you can use [http://audacity.sourceforge.net/ Audacity] to convert these files to WAVs. However, if you do not have this program like many Scratchers, you can try converting the MP3 file to a WAV online.
 
  
After a fix was put upon this, another glitch occurred in which imported MP3 files are renamed "instance####".<ref>https://scratch.mit.edu/discuss/topic/78222/</ref> This was fixed on Janurary 20, 2015.<ref>https://scratch.mit.edu/discuss/topic/82972/</ref>
+
=== Blank MP3 Bug ===
 +
With an update to Scratch 2.0, there was also a glitch that imported MP3 files would be blank.However, this glitch did not affect WAV files so some scratchers resorted to audio converters or editors such as [http://audacity.sourceforge.net/ Audacity] to convert their files.
 +
 
 +
=== Renaming Bug ===
 +
After a fix was put upon this, another glitch occurred in which imported MP3 files were renamed "instance####".<ref>[[topic:78222]]</ref> This was fixed on January 20, 2015.<ref>[[topic:82972]]</ref>
  
 
==Synchronizing Sounds and Actions==
 
==Synchronizing Sounds and Actions==
There is a slight delay the first time the Scratch player plays a sound. This delay will not be evident while working on the project, only when the page is reloaded entirely. The effect of this is that if one message triggers two scripts, one playing a sound and one animation, the animation script will start running before the sound starts. A very short pause using a [[Wait () Secs (block)|Wait Block]] before the animating script will prevent this.
+
There is a slight delay the first time the Scratch player plays a sound. This delay will not be evident while working on the project, only when the page is reloaded entirely. The effect of this is that if one message triggers two scripts, one playing a sound and one animation, the animation script will start running before the sound starts. A very short pause using a [[Wait () Seconds (block)|Wait Block]] before the animating script will prevent this.
 +
 
 +
== Sound Quality Issue ==
 +
Upon the Scratch 2.0 update also came an issue many Scratchers experience when using the sound block to play music. To conserve space on the Scratch servers and prevent any copyright issues, the process of uploading requires that the sound is compressed to an inferior quality format (mono).
  
==See Also==
+
== See Also ==
*[[Music Projects]]
+
* [[Music Projects]]
*[[Sound Editor]]
+
* [[Sound Editor]]
*[[Sound File Format]]
+
* [[Sound File Format]]
  
==References==
+
== References ==
 
<references/>
 
<references/>
  
 
[[Category:Scratch Program]]
 
[[Category:Scratch Program]]
 
[[de:Klänge]]
 
[[de:Klänge]]
 +
[[fr:Scratch Wiki Accueil/l'éditeur/sons]]
 +
[[nl:Muziek]]
 +
[[ja:音]]

Latest revision as of 16:04, 19 February 2021

This article is about sounds in the Scratch Program. For blocks related to sounds, see Sound Blocks.
"Music" redirects here. For projects mainly about music, see Music Projects.

A sound is an item which one hears that can be played in a Scratch project, available by importing, Scratch's built-in sound library, or recording. Sounds are played by using the sound blocks, which control a sound's volume, tempo, and more. All sounds in Scratch are played in mono.

Note Warning: Loud sounds (such as screams and certain genres of music) can hurt the viewer's ears or even cause deafness; especially if the volume is set too high or the user is using head/earphones. When using such sounds, it's always wise to add a warning in the Notes and Credits or lower the volume of the audio if possible.

Sounds and Notes

All sounds played in a project are divided into two types: sounds and notes.

Sounds can be managed in the Sounds Tab.

Sounds

Sounds are the items that are available only by importing or recording. These can be obtained in the "Sounds" tab, in which one can import, record, play, and edit sounds.

The following blocks control the playing of these sounds:

Notes

Main article: Notes
Notes can be controlled with a variety of blocks.

Prior to Scratch 2.0, notes were accessed by a MIDI system, which are varieties of notes built in to one's computer. However, since Scratch 2.0 runs on Adobe Flash, the MIDI sound library is uncapable of use,[citation needed] and therefore the Scratch Team had to create their own sounds library built in to the Scratch program. The following blocks are related to notes:

Accessibility of Sounds

Importing

To obtain these, one has to view the Sounds tab of a sprite/stage and select the Import button (which appears as a folder). The user will be able to import sounds from their desktop or varying locations, including a sound library that comes with Scratch.

Note Note: When a surround sound audio file is converted to mono, the surround channels are removed. This is due to Scratch's limitations with sound.

Recording

The Scratch 3.0 sound editor.
Main article: Sound Editor

Sounds can be recorded, imported, edited, exported and modified in the Scratch 3.0 sound editor. It provides simple options to edit an existing sound for many benefits. For more advanced options not within Scratch's, an external sound editor can be used, but it is not recommended to record music from other websites because this will result in low-quality music with tons of background noise and quietness. The best way to do it is to import music.


Note Note: When recording sound, it may be helpful to turn the volume up a little bit in the Sound Editor before recording. Turning up the volume will make it easier for Scratchers to hear the sound recorded when a project is launched.

Uploading MP3 Bug

SandCastleIcon.png This article has links to websites or programs not trusted by Scratch or hosted by Wikipedia. Remember to stay safe while using the internet, as we cannot guarantee the safety of other websites.


Blank MP3 Bug

With an update to Scratch 2.0, there was also a glitch that imported MP3 files would be blank.However, this glitch did not affect WAV files so some scratchers resorted to audio converters or editors such as Audacity to convert their files.

Renaming Bug

After a fix was put upon this, another glitch occurred in which imported MP3 files were renamed "instance####".[1] This was fixed on January 20, 2015.[2]

Synchronizing Sounds and Actions

There is a slight delay the first time the Scratch player plays a sound. This delay will not be evident while working on the project, only when the page is reloaded entirely. The effect of this is that if one message triggers two scripts, one playing a sound and one animation, the animation script will start running before the sound starts. A very short pause using a Wait Block before the animating script will prevent this.

Sound Quality Issue

Upon the Scratch 2.0 update also came an issue many Scratchers experience when using the sound block to play music. To conserve space on the Scratch servers and prevent any copyright issues, the process of uploading requires that the sound is compressed to an inferior quality format (mono).

See Also

References

Cookies help us deliver our services. By using our services, you agree to our use of cookies.