RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Sound_Pitch

SoundChannels
» SWI Calls
» Sound_Pitch

Sound_Pitch

(SWI &40188)
Entry
R0 15-bit pitch value:
bits 14 – 12 are a 3-bit octave number
bits 11 – 0 are a 12-bit fraction of an octave (in units of 1/4096 octave)
Exit
R0 32-bit phase accumulator value, or preserved if R0 ³ &8000 on entry

Use

Converts a 15-bit pitch to internal pitch value, suitable for a voice phase accumulator oscillator.

Revised on November 13, 2017 01:19:36 by Alan Robertson (52) (49.192.18.196)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: Sound SWI Calls, SoundChannels SWI Calls

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys