Category:Wren-sound: Difference between revisions
m (Tidied links.) |
m (Now using internal links to related pages) |
||
Line 2: | Line 2: | ||
'''Wren-sound''' is a module which enables simple audio files to be created using the Wren programming language so that they can be played by external utilities. It currently consists of a single class, Wav, for creating .wav files. |
'''Wren-sound''' is a module which enables simple audio files to be created using the Wren programming language so that they can be played by external utilities. It currently consists of a single class, Wav, for creating .wav files. |
||
It is the twenty-first in a series of modules (listed on the language's [ |
It is the twenty-first in a series of modules (listed on the language's [[:Category:Wren|main page]]) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily. |
||
To use it you need to copy the source code (in the [ |
To use it you need to copy the source code (in the [[:Category_talk:Wren-sound|talk page]]) to a text file called ''sound.wren'' and place this in the same directory as the importing script so the command line interpreter can find it. |
||
Wren-sound depends on the IO module which is part of Wren-cli's standard library. As such it can only be used in a Wren-cli script. |
Wren-sound depends on the IO module which is part of Wren-cli's standard library. As such it can only be used in a Wren-cli script. |
Latest revision as of 15:07, 9 May 2023
This is an example of a library. You may see a list of other libraries used on Rosetta Code at Category:Solutions by Library.
Wren-sound is a module which enables simple audio files to be created using the Wren programming language so that they can be played by external utilities. It currently consists of a single class, Wav, for creating .wav files.
It is the twenty-first in a series of modules (listed on the language's main page) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily.
To use it you need to copy the source code (in the talk page) to a text file called sound.wren and place this in the same directory as the importing script so the command line interpreter can find it.
Wren-sound depends on the IO module which is part of Wren-cli's standard library. As such it can only be used in a Wren-cli script.
Pages in category "Wren-sound"
The following 3 pages are in this category, out of 3 total.