x68000:x-basic
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
x68000:x-basic [2014/12/14 01:40] – [A_PLAY] eidis | x68000:x-basic [2014/12/14 01:48] – [ABS] eidis | ||
---|---|---|---|
Line 42: | Line 42: | ||
|**Standard function**| | |**Standard function**| | ||
- | | **Written expressions: | + | | **Written expressions: |
| **Argument: | | **Argument: | ||
| **Return value: | | **Return value: | ||
Line 52: | Line 52: | ||
|**GRAPH.FNC**| | |**GRAPH.FNC**| | ||
- | | **Written expressions: | + | | **Written expressions: |
| **Argument: | | **Argument: | ||
| **Returns: | | **Returns: | ||
Line 71: | Line 71: | ||
|**Standard function**| | |**Standard function**| | ||
- | | **Written expressions: | + | | **Written expressions: |
| **Argument: | | **Argument: | ||
| **Return value: | | **Return value: | ||
Line 84: | Line 84: | ||
|**Standard function**| | |**Standard function**| | ||
- | | **Written formula: | + | | **Written formula: |
| **Argument: | | **Argument: | ||
| **Return value: | | **Return value: | ||
Line 95: | Line 95: | ||
|**Standard function**| | |**Standard function**| | ||
- | | **Written expressions: | + | | **Written expressions: |
| **Argument: | | **Argument: | ||
| **Return value: | | **Return value: | ||
Line 115: | Line 115: | ||
|**Standard function**| | |**Standard function**| | ||
- | | **Written expressions: | + | | **Written expressions: |
| **Argument: | | **Argument: | ||
| **Return value: | | **Return value: | ||
Line 152: | Line 152: | ||
| **Argument: | | **Argument: | ||
| **Return value: | | **Return value: | ||
- | | <color red> | + | | <color red> |
| |na ... Number of one-dimensional array name that contains the PCM data. | | | |na ... Number of one-dimensional array name that contains the PCM data. | | ||
| |sf ... sampling frequency | | | |sf ... sampling frequency | | ||
Line 162: | Line 162: | ||
4 ... 15.6KHz | 4 ... 15.6KHz | ||
</ | </ | ||
- | | |As a general rule, use the same sampling frequency sf for playback and when recording with a_rec function, if you want to play music. The sound will not play normally if other frequencies are used. | | + | | |As a general rule, use the same sampling frequency |
| |md ... audio output mode (audio signal output mode from the audio output terminal of the computer) | | | |md ... audio output mode (audio signal output mode from the audio output terminal of the computer) | | ||
| |< | | |< | ||
Line 171: | Line 171: | ||
</ | </ | ||
| |lng ... length from 0 index of na array to play | | | |lng ... length from 0 index of na array to play | | ||
- | | |Values that can be used as lng are from 1 to subscript+1 of the declared na array. | | + | | |Values that can be used as <color red>**lng**</ |
- | | |All PCM data will be played if lng is omitted. | | + | | |All PCM data will be played if <color red>**lng**</ |
| **Use cases:**| | | | **Use cases:**| | | ||
x68000/x-basic.txt · Last modified: 2019/08/27 20:45 by 127.0.0.1