module Sound.Sc3.Server.Command.Plain where
import Sound.Osc.Datum (Blob,Datum)
import Sound.Osc.Packet (Message)
import qualified Sound.Sc3.Server.Command.Generic as G
import qualified Sound.Sc3.Server.Enum as E
import Sound.Sc3.Server.Graphdef (Graphdef)
import Sound.Sc3.Server.Synthdef (Synthdef)
type Buffer_Id = Int
type Buffer_Ix = Int
type Buffer_Leave_File_Open = Bool
type Bus_Id = Int
type Node_Id = Int
type Group_Id = Int
type Synth_Id = Int
b_alloc :: Buffer_Id -> Int -> Int -> Message
b_alloc :: Int -> Int -> Int -> Message
b_alloc = forall i. Integral i => i -> i -> i -> Message
G.b_alloc
b_allocRead :: Buffer_Id -> String -> Int -> Int -> Message
b_allocRead :: Int -> String -> Int -> Int -> Message
b_allocRead = forall i. Integral i => i -> String -> i -> i -> Message
G.b_allocRead
b_allocReadChannel :: Buffer_Id -> String -> Int -> Int -> [Int] -> Message
b_allocReadChannel :: Int -> String -> Int -> Int -> [Int] -> Message
b_allocReadChannel = forall i. Integral i => i -> String -> i -> i -> [i] -> Message
G.b_allocReadChannel
b_close :: Buffer_Id -> Message
b_close :: Int -> Message
b_close = forall i. Integral i => i -> Message
G.b_close
b_fill :: Buffer_Id -> [(Buffer_Ix,Int,Double)] -> Message
b_fill :: Int -> [(Int, Int, Double)] -> Message
b_fill = forall i n. (Integral i, Real n) => i -> [(i, i, n)] -> Message
G.b_fill
b_free :: Buffer_Id -> Message
b_free :: Int -> Message
b_free = forall i. Integral i => i -> Message
G.b_free
b_gen :: Buffer_Id -> String -> [Datum] -> Message
b_gen :: Int -> String -> [Datum] -> Message
b_gen = forall i. Integral i => i -> String -> [Datum] -> Message
G.b_gen
b_get :: Buffer_Id -> [Buffer_Ix] -> Message
b_get :: Int -> [Int] -> Message
b_get = forall i. Integral i => i -> [i] -> Message
G.b_get
b_getn :: Buffer_Id -> [(Buffer_Ix,Int)] -> Message
b_getn :: Int -> [(Int, Int)] -> Message
b_getn = forall i. Integral i => i -> [(i, i)] -> Message
G.b_getn
b_query :: [Buffer_Id] -> Message
b_query :: [Int] -> Message
b_query = forall i. Integral i => [i] -> Message
G.b_query
b_read :: Buffer_Id -> String -> Int -> Int -> Buffer_Ix -> Buffer_Leave_File_Open -> Message
b_read :: Int
-> String -> Int -> Int -> Int -> Buffer_Leave_File_Open -> Message
b_read = forall i.
Integral i =>
i -> String -> i -> i -> i -> Buffer_Leave_File_Open -> Message
G.b_read
b_readChannel :: Buffer_Id -> String -> Int -> Int -> Buffer_Ix -> Buffer_Leave_File_Open -> [Int] -> Message
b_readChannel :: Int
-> String
-> Int
-> Int
-> Int
-> Buffer_Leave_File_Open
-> [Int]
-> Message
b_readChannel = forall i.
Integral i =>
i
-> String
-> i
-> i
-> i
-> Buffer_Leave_File_Open
-> [i]
-> Message
G.b_readChannel
b_set :: Buffer_Id -> [(Buffer_Ix,Double)] -> Message
b_set :: Int -> [(Int, Double)] -> Message
b_set = forall i n. (Integral i, Real n) => i -> [(i, n)] -> Message
G.b_set
b_setn :: Buffer_Id -> [(Buffer_Ix,[Double])] -> Message
b_setn :: Int -> [(Int, [Double])] -> Message
b_setn = forall i n. (Integral i, Real n) => i -> [(i, [n])] -> Message
G.b_setn
b_write :: Buffer_Id -> String -> E.SoundFileFormat -> E.SampleFormat -> Int -> Buffer_Ix -> Buffer_Leave_File_Open -> Message
b_write :: Int
-> String
-> SoundFileFormat
-> SampleFormat
-> Int
-> Int
-> Buffer_Leave_File_Open
-> Message
b_write = forall i.
Integral i =>
i
-> String
-> SoundFileFormat
-> SampleFormat
-> i
-> i
-> Buffer_Leave_File_Open
-> Message
G.b_write
b_zero :: Buffer_Id -> Message
b_zero :: Int -> Message
b_zero = forall i. Integral i => i -> Message
G.b_zero
c_fill :: [(Bus_Id,Int,Double)] -> Message
c_fill :: [(Int, Int, Double)] -> Message
c_fill = forall i n. (Integral i, Real n) => [(i, i, n)] -> Message
G.c_fill
c_get :: [Bus_Id] -> Message
c_get :: [Int] -> Message
c_get = forall i. Integral i => [i] -> Message
G.c_get
c_getn :: [(Bus_Id,Int)] -> Message
c_getn :: [(Int, Int)] -> Message
c_getn = forall i. Integral i => [(i, i)] -> Message
G.c_getn
c_set :: [(Bus_Id,Double)] -> Message
c_set :: [(Int, Double)] -> Message
c_set = forall i n. (Integral i, Real n) => [(i, n)] -> Message
G.c_set
c_setn :: [(Bus_Id,[Double])] -> Message
c_setn :: [(Int, [Double])] -> Message
c_setn = forall i n. (Integral i, Real n) => [(i, [n])] -> Message
G.c_setn
d_recv_bytes :: Blob -> Message
d_recv_bytes :: Blob -> Message
d_recv_bytes = Blob -> Message
G.d_recv_bytes
d_recv_gr :: Graphdef -> Message
d_recv_gr :: Graphdef -> Message
d_recv_gr = Graphdef -> Message
G.d_recv_gr
d_recv :: Synthdef -> Message
d_recv :: Synthdef -> Message
d_recv = Synthdef -> Message
G.d_recv
d_load :: String -> Message
d_load :: String -> Message
d_load = String -> Message
G.d_load
d_loadDir :: String -> Message
d_loadDir :: String -> Message
d_loadDir = String -> Message
G.d_loadDir
d_free :: [String] -> Message
d_free :: [String] -> Message
d_free = [String] -> Message
G.d_free
g_deepFree :: [Group_Id] -> Message
g_deepFree :: [Int] -> Message
g_deepFree = forall i. Integral i => [i] -> Message
G.g_deepFree
g_freeAll :: [Group_Id] -> Message
g_freeAll :: [Int] -> Message
g_freeAll = forall i. Integral i => [i] -> Message
G.g_freeAll
g_head :: [(Group_Id,Node_Id)] -> Message
g_head :: [(Int, Int)] -> Message
g_head = forall i. Integral i => [(i, i)] -> Message
G.g_head
g_new :: [(Group_Id,E.AddAction,Node_Id)] -> Message
g_new :: [(Int, AddAction, Int)] -> Message
g_new = forall i. Integral i => [(i, AddAction, i)] -> Message
G.g_new
g_tail :: [(Group_Id,Node_Id)] -> Message
g_tail :: [(Int, Int)] -> Message
g_tail = forall i. Integral i => [(i, i)] -> Message
G.g_tail
g_dumpTree :: [(Group_Id,Bool)] -> Message
g_dumpTree :: [(Int, Buffer_Leave_File_Open)] -> Message
g_dumpTree = forall i. Integral i => [(i, Buffer_Leave_File_Open)] -> Message
G.g_dumpTree
g_queryTree :: [(Group_Id,Bool)] -> Message
g_queryTree :: [(Int, Buffer_Leave_File_Open)] -> Message
g_queryTree = forall i. Integral i => [(i, Buffer_Leave_File_Open)] -> Message
G.g_queryTree
n_after :: [(Node_Id,Node_Id)] -> Message
n_after :: [(Int, Int)] -> Message
n_after = forall i. Integral i => [(i, i)] -> Message
G.n_after
n_before :: [(Node_Id,Node_Id)] -> Message
n_before :: [(Int, Int)] -> Message
n_before = forall i. Integral i => [(i, i)] -> Message
G.n_before
n_fill :: Node_Id -> [(String,Int,Double)] -> Message
n_fill :: Int -> [(String, Int, Double)] -> Message
n_fill = forall i f.
(Integral i, Real f) =>
i -> [(String, i, f)] -> Message
G.n_fill
n_free :: [Node_Id] -> Message
n_free :: [Int] -> Message
n_free = forall i. Integral i => [i] -> Message
G.n_free
n_map :: Node_Id -> [(String,Bus_Id)] -> Message
n_map :: Int -> [(String, Int)] -> Message
n_map = forall i. Integral i => i -> [(String, i)] -> Message
G.n_map
n_mapn :: Node_Id -> [(Int,Bus_Id,Int)] -> Message
n_mapn :: Int -> [(Int, Int, Int)] -> Message
n_mapn = forall i. Integral i => i -> [(i, i, i)] -> Message
G.n_mapn
n_mapa :: Node_Id -> [(String,Bus_Id)] -> Message
n_mapa :: Int -> [(String, Int)] -> Message
n_mapa = forall i. Integral i => i -> [(String, i)] -> Message
G.n_mapa
n_mapan :: Node_Id -> [(String,Bus_Id,Int)] -> Message
n_mapan :: Int -> [(String, Int, Int)] -> Message
n_mapan = forall i. Integral i => i -> [(String, i, i)] -> Message
G.n_mapan
n_query :: [Node_Id] -> Message
n_query :: [Int] -> Message
n_query = forall i. Integral i => [i] -> Message
G.n_query
n_run :: [(Node_Id,Bool)] -> Message
n_run :: [(Int, Buffer_Leave_File_Open)] -> Message
n_run = forall i. Integral i => [(i, Buffer_Leave_File_Open)] -> Message
G.n_run
n_set :: Node_Id -> [(String,Double)] -> Message
n_set :: Int -> [(String, Double)] -> Message
n_set = forall i n. (Integral i, Real n) => i -> [(String, n)] -> Message
G.n_set
n_setn :: Node_Id -> [(Int,[Double])] -> Message
n_setn :: Int -> [(Int, [Double])] -> Message
n_setn = forall i n. (Integral i, Real n) => i -> [(i, [n])] -> Message
G.n_setn
n_trace :: [Node_Id] -> Message
n_trace :: [Int] -> Message
n_trace = forall i. Integral i => [i] -> Message
G.n_trace
n_order :: E.AddAction -> Node_Id -> [Node_Id] -> Message
n_order :: AddAction -> Int -> [Int] -> Message
n_order = forall i. Integral i => AddAction -> i -> [i] -> Message
G.n_order
p_new :: [(Group_Id,E.AddAction,Node_Id)] -> Message
p_new :: [(Int, AddAction, Int)] -> Message
p_new = forall i. Integral i => [(i, AddAction, i)] -> Message
G.p_new
s_get :: Synth_Id -> [String] -> Message
s_get :: Int -> [String] -> Message
s_get = forall i. Integral i => i -> [String] -> Message
G.s_get
s_getn :: Synth_Id -> [(String,Int)] -> Message
s_getn :: Int -> [(String, Int)] -> Message
s_getn = forall i. Integral i => i -> [(String, i)] -> Message
G.s_getn
s_new :: String -> Synth_Id -> E.AddAction -> Node_Id -> [(String,Double)] -> Message
s_new :: String -> Int -> AddAction -> Int -> [(String, Double)] -> Message
s_new = forall i n.
(Integral i, Real n) =>
String -> i -> AddAction -> i -> [(String, n)] -> Message
G.s_new
s_noid :: [Synth_Id] -> Message
s_noid :: [Int] -> Message
s_noid = forall i. Integral i => [i] -> Message
G.s_noid
u_cmd :: Int -> Int -> String -> [Datum] -> Message
u_cmd :: Int -> Int -> String -> [Datum] -> Message
u_cmd = forall i. Integral i => i -> i -> String -> [Datum] -> Message
G.u_cmd
cmd :: String -> [Datum] -> Message
cmd :: String -> [Datum] -> Message
cmd = String -> [Datum] -> Message
G.cmd
clearSched :: Message
clearSched :: Message
clearSched = Message
G.clearSched
dumpOsc :: E.PrintLevel -> Message
dumpOsc :: PrintLevel -> Message
dumpOsc = PrintLevel -> Message
G.dumpOsc
errorMode :: E.ErrorScope -> E.ErrorMode -> Message
errorMode :: ErrorScope -> ErrorMode -> Message
errorMode = ErrorScope -> ErrorMode -> Message
G.errorMode
notify :: Bool -> Message
notify :: Buffer_Leave_File_Open -> Message
notify = Buffer_Leave_File_Open -> Message
G.notify
nrt_end :: Message
nrt_end :: Message
nrt_end = Message
G.nrt_end
quit :: Message
quit :: Message
quit = Message
G.quit
status :: Message
status :: Message
status = Message
G.status
sync :: Int -> Message
sync :: Int -> Message
sync = forall i. Integral i => i -> Message
G.sync
b_getn1 :: Buffer_Id -> (Buffer_Ix,Int) -> Message
b_getn1 :: Int -> (Int, Int) -> Message
b_getn1 = forall i. Integral i => i -> (i, i) -> Message
G.b_getn1
b_query1 :: Buffer_Id -> Message
b_query1 :: Int -> Message
b_query1 = [Int] -> Message
b_query forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall (m :: * -> *) a. Monad m => a -> m a
return
c_getn1 :: (Bus_Id,Int) -> Message
c_getn1 :: (Int, Int) -> Message
c_getn1 = forall i. Integral i => (i, i) -> Message
G.c_getn1
c_set1 :: Bus_Id -> Double -> Message
c_set1 :: Int -> Double -> Message
c_set1 = forall i n. (Integral i, Real n) => i -> n -> Message
G.c_set1
c_setn1 :: (Bus_Id,[Double]) -> Message
c_setn1 :: (Int, [Double]) -> Message
c_setn1 = forall i n. (Integral i, Real n) => (i, [n]) -> Message
G.c_setn1
n_run1 :: Node_Id -> Bool -> Message
n_run1 :: Int -> Buffer_Leave_File_Open -> Message
n_run1 = forall i. Integral i => i -> Buffer_Leave_File_Open -> Message
G.n_run1
n_set1 :: Node_Id -> String -> Double -> Message
n_set1 :: Int -> String -> Double -> Message
n_set1 = forall i n. (Integral i, Real n) => i -> String -> n -> Message
G.n_set1
s_new0 :: String -> Synth_Id -> E.AddAction -> Node_Id -> Message
s_new0 :: String -> Int -> AddAction -> Int -> Message
s_new0 = forall i. Integral i => String -> i -> AddAction -> i -> Message
G.s_new0
b_segment :: Int -> Int -> [Int]
b_segment :: Int -> Int -> [Int]
b_segment = forall i. Integral i => i -> i -> [i]
G.b_segment
b_indices :: Int -> Int -> Int -> [(Int,Int)]
b_indices :: Int -> Int -> Int -> [(Int, Int)]
b_indices = forall i. Integral i => i -> i -> i -> [(i, i)]
G.b_indices
b_gen_copy :: Buffer_Id -> Int -> Buffer_Id -> Int -> Maybe Int -> Message
b_gen_copy :: Int -> Int -> Int -> Int -> Maybe Int -> Message
b_gen_copy = forall i. Integral i => i -> i -> i -> i -> Maybe i -> Message
G.b_gen_copy
b_gen_sine1 :: Buffer_Id -> [E.B_Gen] -> [Double] -> Message
b_gen_sine1 :: Int -> [B_Gen] -> [Double] -> Message
b_gen_sine1 = forall i n. (Integral i, Real n) => i -> [B_Gen] -> [n] -> Message
G.b_gen_sine1
b_gen_sine2 :: Buffer_Id -> [E.B_Gen] -> [(Double,Double)] -> Message
b_gen_sine2 :: Int -> [B_Gen] -> [(Double, Double)] -> Message
b_gen_sine2 = forall i n.
(Integral i, Real n) =>
i -> [B_Gen] -> [(n, n)] -> Message
G.b_gen_sine2
b_gen_sine3 :: Buffer_Id -> [E.B_Gen] -> [(Double,Double,Double)] -> Message
b_gen_sine3 :: Int -> [B_Gen] -> [(Double, Double, Double)] -> Message
b_gen_sine3 = forall i n.
(Integral i, Real n) =>
i -> [B_Gen] -> [(n, n, n)] -> Message
G.b_gen_sine3
b_gen_cheby :: Buffer_Id -> [E.B_Gen] -> [Double] -> Message
b_gen_cheby :: Int -> [B_Gen] -> [Double] -> Message
b_gen_cheby = forall i n. (Integral i, Real n) => i -> [B_Gen] -> [n] -> Message
G.b_gen_cheby
b_alloc_setn1 :: Buffer_Id -> Buffer_Ix -> [Double] -> Message
b_alloc_setn1 :: Int -> Int -> [Double] -> Message
b_alloc_setn1 = forall i n. (Integral i, Real n) => i -> i -> [n] -> Message
G.b_alloc_setn1
b_set1 :: Buffer_Id -> Buffer_Ix -> Double -> Message
b_set1 :: Int -> Int -> Double -> Message
b_set1 = forall i n. (Integral i, Real n) => i -> i -> n -> Message
G.b_set1
b_setn1 :: Buffer_Id -> Buffer_Ix -> [Double] -> Message
b_setn1 :: Int -> Int -> [Double] -> Message
b_setn1 = forall i n. (Integral i, Real n) => i -> i -> [n] -> Message
G.b_setn1
b_setn1_segmented :: Int -> Buffer_Id -> Buffer_Ix -> [Double] -> [Message]
b_setn1_segmented :: Int -> Int -> Int -> [Double] -> [Message]
b_setn1_segmented = forall i n. (Integral i, Real n) => i -> i -> i -> [n] -> [Message]
G.b_setn1_segmented
partConv_preparePartConv :: Int -> Int -> Int -> Message
partConv_preparePartConv :: Int -> Int -> Int -> Message
partConv_preparePartConv = forall i. Integral i => i -> i -> i -> Message
G.partConv_preparePartConv
unpack_n_info_plain :: Message -> [Int]
unpack_n_info_plain :: Message -> [Int]
unpack_n_info_plain = forall i. Num i => Message -> [i]
G.unpack_n_info_plain
unpack_n_info :: Message -> Maybe (Int,Int,Int,Int,Int,Maybe (Int,Int))
unpack_n_info :: Message -> Maybe (Int, Int, Int, Int, Int, Maybe (Int, Int))
unpack_n_info = forall i. Num i => Message -> Maybe (i, i, i, i, i, Maybe (i, i))
G.unpack_n_info
unpack_n_info_err :: Message -> (Int,Int,Int,Int,Int,Maybe (Int,Int))
unpack_n_info_err :: Message -> (Int, Int, Int, Int, Int, Maybe (Int, Int))
unpack_n_info_err = forall i. Num i => Message -> (i, i, i, i, i, Maybe (i, i))
G.unpack_n_info_err
unpack_tr :: Message -> Maybe (Int,Int,Double)
unpack_tr :: Message -> Maybe (Int, Int, Double)
unpack_tr = forall i f. (Num i, Fractional f) => Message -> Maybe (i, i, f)
G.unpack_tr
unpack_tr_err :: Message -> (Int,Int,Double)
unpack_tr_err :: Message -> (Int, Int, Double)
unpack_tr_err = forall i f. (Num i, Fractional f) => Message -> (i, i, f)
G.unpack_tr_err
unpack_b_setn :: Message -> Maybe (Int,Int,Int,[Double])
unpack_b_setn :: Message -> Maybe (Int, Int, Int, [Double])
unpack_b_setn = forall i f.
(Num i, Fractional f) =>
Message -> Maybe (i, i, i, [f])
G.unpack_b_setn
unpack_b_setn_err :: Message -> (Int,Int,Int,[Double])
unpack_b_setn_err :: Message -> (Int, Int, Int, [Double])
unpack_b_setn_err = forall i f. (Num i, Fractional f) => Message -> (i, i, i, [f])
G.unpack_b_setn_err
unpack_b_info :: Message -> Maybe (Int,Int,Int,Double)
unpack_b_info :: Message -> Maybe (Int, Int, Int, Double)
unpack_b_info = forall i f. (Num i, Fractional f) => Message -> Maybe (i, i, i, f)
G.unpack_b_info
unpack_b_info_err :: Message -> (Int,Int,Int,Double)
unpack_b_info_err :: Message -> (Int, Int, Int, Double)
unpack_b_info_err = forall i f. (Num i, Fractional f) => Message -> (i, i, i, f)
G.unpack_b_info_err