iiwusynth-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iiwusynth-devel] Header, shell & co changed


From: Peter Hanappe
Subject: [iiwusynth-devel] Header, shell & co changed
Date: Mon, 23 Dec 2002 19:41:27 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1


Hi all,

I've made some changes to the synth:

'int' settings:

'int' settings are now handled. An annoying side effect is that the
shell has to make a distinction between int and float for the 'set'
command. Floats are currently detected as numbers with a dot '.' in
them.

Headers:

The file layout of the headers has changed. The public iiwusynth.h
header resides in the include directory. The file has also been
devided into several headers that reside in the include/iiwusynth
directory. All headers are installed, so there should be no changes
for those who include the iiwusynth.h header in their project.

Command line options:

There's a new cmd line option '-o' that let's you specify a setting:
iiwusynth -o <setting>=<value>, e.g.
iiwusynth -o midi.oss.device=/dev/midi

The following options have become obsolete

-M: use option 'midi.oss.device' or 'midi.alsa.device'
-A: use option 'audio.oss.device' or 'audio.alsa.device'
-s: use option 'midi.alsa_seq.id', '-s' reused for server!
-p: use option 'midi.alsa_seq.id'


Shell:

The API for the shell has been modified. The details are in
include/iiwusynth/shell.h. First, the shell uses iiwu_istream_t and
iiwu_ostream_t for reading/writing. Second, there's a new object
'iiwu_cmd_handler' that stores the available commands. New commands
can be registered using 'iiwu_cmd_handler_register'. Third, some
functions have been renamed and new functions have been added. In a
nutshell:

 iiwu_command: evaluate a single command
 iiwu_source: load a file
 iiwu_usershell: starts a shell using stdin/stdout
 new_iiwu_shell: create a new shell using arbitrary IO streams
 new_iiwu_server: starts a new server that listens for TCP connections

The default port of the TCP/IP server is 9800. You can change the port
on which the server listens using the 'shell.port' settings. There's
also a new command line option, '-s, --server', that starts the TCP
server.

I haven't been able to update the windows version, 'cause my windows
is screwed up; it doesn't allow me to log on to my machine anymore...

Hope all this is useful!

Cheers!
Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]