module Language.XDsp.Semantics.CsoundExt.Core (
  CsoundClass (..)
)

where

import Language.XDsp.Semantics.Core
import Language.XDsp.Semantics.BasicExtensions

-- ---------------------------------
-- ---------------------------------
-- csound-specific language extensions.  Although these could be implemented
-- in other backends, doing so may be un-idiomatic

class (Dsp repr, StringVar repr) => CsoundClass repr where
  nchnls   :: Int -> repr Int
  set0dbfs :: Double -> repr Double