/[svn]/linuxsampler/trunk/src/network
ViewVC logotype

Log of /linuxsampler/trunk/src/network

View Directory Listing Directory Listing


Sticky Revision:

Revision 215 - Directory Listing
Modified Sun Aug 15 10:38:46 2004 UTC (19 years, 7 months ago) by schoenebeck
scanner now also allows quotation marks for STRINGVAL tokens


Revision 214 - Directory Listing
Modified Sat Aug 14 23:00:44 2004 UTC (19 years, 7 months ago) by schoenebeck
* src/drivers/DeviceParameter.cpp: fixed return values for
classes 'DeviceRuntimeParameterString' and 'DeviceCreationParameterString'
which returned their values without being encapsulated into apostrophes,
fixed return values for 'DeviceRuntimeParameterBool' and
'DeviceCreationParameterBool' to be returned in lower case (as defined in
the LSCP documentation)
* src/network/lscp.y: key value pairs now also allow strings (without
spaces) to be not encapsulated into apostrophes (e.g. foo=bar instead of
foo='bar')
* src/linuxsampler.cpp: show on the console which TCP port the LSCP server
is using


Revision 212 - Directory Listing
Modified Wed Jul 28 14:17:29 2004 UTC (19 years, 8 months ago) by schoenebeck
* introduced and implemented new LSCP command "RESET" which resets the
  whole sampler instance
* src/drivers/audio/AudioOutputDeviceAlsa.cpp: parameter 'card' now
  returns all available sound cards as possibility, added dependency to
  parameter 'card' to parameters 'fragments' and 'fragmentsize'
* src/drivers/DeviceParameter.cpp: fixed return value(s) for classes
  'DeviceCreationParameterString' and 'DeviceCreationParameterStrings'
  which returned the default value(s) not encapsulated into apostrophes
* src/network/lscpserver.cpp: fixed implementation of LSCP commands
  "GET MIDI_INPUT_DRIVER_PARAMETER INFO" and
  "GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO"


Revision 211 - Directory Listing
Modified Sun Jul 25 23:27:41 2004 UTC (19 years, 8 months ago) by schoenebeck
* src/linuxsampler.cpp: tidied up a bit, "initialization completed"
  message shown only after the server is actually running
* src/testcases/: print the name of each test suite before running the
  tests of the suite, added first tests against the LSCP server using a
  socket connection to the LSCP server (tests for the following LSCP
  commands: "ADD CHANNEL", "GET CHANNELS", "REMOVE CHANNEL")


Revision 210 - Directory Listing
Modified Sat Jul 24 12:33:49 2004 UTC (19 years, 8 months ago) by schoenebeck
* implemented "SET ECHO" LSCP command


Revision 209 - Directory Listing
Modified Sun Jul 18 00:29:39 2004 UTC (19 years, 8 months ago) by schoenebeck
* src/Sampler.cpp: changed sampler channel index allocation from consistent
channel index allocation to incrementing channel index allocation, that is
it doesn't fill channel index gaps anymore (to avoid race conditions)
* implemented "LIST CHANNELS" LSCP command


Revision 203 - Directory Listing
Modified Tue Jul 13 22:44:13 2004 UTC (19 years, 8 months ago) by schoenebeck
forgot to change some things which was mandatory due to the recent
directory movements ('/src/audiodriver' -> '/src/drivers/audio',
'/src/mididriver' -> '/src/drivers/midi')


Revision 198 - Directory Listing
Modified Tue Jul 13 15:36:16 2004 UTC (19 years, 8 months ago) by senkov
* Get rid of the timeout on select()


Revision 185 - Directory Listing
Modified Wed Jul 7 02:49:51 2004 UTC (19 years, 8 months ago) by senkov
* GET MIDI_INPUT_PORT_PARAMETER INFO command


Revision 184 - Directory Listing
Modified Wed Jul 7 02:00:37 2004 UTC (19 years, 8 months ago) by senkov
* Added MISCELLANEOUS event to help debugging client/server
interaction. It spits out every line received by the server.


Revision 170 - Directory Listing
Modified Sat Jul 3 20:08:07 2004 UTC (19 years, 8 months ago) by senkov
* moved ToString to common
* Implemented handling of multiple connections
* Implemented guts for event subscription/unsubscription
* Illustrated event notification sending by sending MISC events
when connections are established or terminated.


Revision 160 - Directory Listing
Modified Tue Jun 29 21:44:12 2004 UTC (19 years, 9 months ago) by capela
Parser regeneration missed on last commit.


Revision 159 - Directory Listing
Modified Tue Jun 29 21:11:50 2004 UTC (19 years, 9 months ago) by capela
* Unconsolidaded MIDI input related channel commands are back:
  SET CHANNEL MIDI_INPUT_DEVICE <chan> <midi-device>
  SET CHANNEL MIDI_INPUT_PORT <chan> <midi-port>
  SET CHANNEL MIDI_INPUT_CHANNEL <chan> <midi-chan>

* Still useful for compability with legacy clients, an almost
  deprecated command gets re-implemented:
  SET CHANNEL MIDI_INPUT_TYPE <chan> <midi-driver>

* Optional parameter list on MIDI input device creation fixed,
  but not quite fully effective yet:
  CREATE MIDI_INPUT_DEVICE <midi-driver> [<key>=<val>...]


Revision 155 - Directory Listing
Modified Mon Jun 28 04:30:11 2004 UTC (19 years, 9 months ago) by senkov
* Updated parser, lscp server and sampler class for new MIDI_INPUT
* Minor fixes (and major new bugs) here and there
* Consolidated 3 SET CHANNEL MIDI_xxx commands into one:
SET CHANNEL MIDI_INPUT


Revision 143 - Directory Listing
Modified Wed Jun 23 18:54:08 2004 UTC (19 years, 9 months ago) by capela
* SET CHANNEL AUDIO_OUTPUT_TYPE <chan> <driver> command is back!
  creates an audio output device instance of the given driver type
  ('Jack' or 'Alsa') with default parameters if none exists,
  otherwise it just picks the first available device and assign
  it to the intended sampler channel.

* The AudioOutputDevice class get's a new pure virtual method,
  Driver(), which is implemented on both of the existing inherited
  classes, AudioOutputDeviceAlsa and AudioOutputDeviceJack, with
  the sole purpose to return the driver type name as a String
  ('Alsa' and 'Jack', respectively).

* The quoting on the filename argument for the LOAD INSTRUMENT
  command has been made optional; you can have both ways, with
  single quotes or none, keeping compability with older LSCP
  specification.

* An additional sanity check is made on LOAD INSTRUMENT, whether
  the sampler channel has an audio output device assigned, thus
  preventing the server from crashing on instrument file load.

* The GET AUDIO_OUTPUT_DEVICE INFO now includes the missing
  'driver' item, as predicted by the draft protocol document.


Revision 142 - Directory Listing
Modified Tue Jun 22 00:02:17 2004 UTC (19 years, 9 months ago) by senkov
* Added implementation for SET CHANNEL AUDIO_OUTPUT_DEVICE


Revision 141 - Directory Listing
Modified Mon Jun 21 01:21:33 2004 UTC (19 years, 9 months ago) by senkov
* LOAD INSTRUMENT NON_MODAL


Revision 140 - Directory Listing
Modified Mon Jun 21 00:23:56 2004 UTC (19 years, 9 months ago) by senkov
Cleanup for GCC bug workaround


Revision 138 - Directory Listing
Modified Sun Jun 20 23:18:24 2004 UTC (19 years, 9 months ago) by senkov
* Fix for CREATE_AUDIO_OUTPUT_DEVICE with all default params
* Fix for GET AUDIO_OUTPUT_DEVICES resultset
* Support for BACKGROUND loading


Revision 137 - Directory Listing
Modified Sun Jun 20 16:49:47 2004 UTC (19 years, 9 months ago) by capela
* Changed LSCPServer::LoadInstrument() signature, which adds a new
  boolean argument (bool bBackground) where the loading mode maybe
  selected, whether modal (the default), or modeless (in background).


Revision 135 - Directory Listing
Modified Sun Jun 20 16:01:50 2004 UTC (19 years, 9 months ago) by senkov
* Update parser to comply with the latest spec


Revision 133 - Directory Listing
Modified Fri Jun 18 14:29:02 2004 UTC (19 years, 9 months ago) by capela
* Load Instrument patch applied; this patch makes the
  LOAD INSTRUMENT command to return immediately,
  almost/always with an OK response, while spawning
  the proper instrument file loading in the background.

* New INSTRUMENT_STATUS field on GET CHANNEL INFO result
  set; the instrument status value holds the load progress
  percentage if positive, otherwise a negative value is
  evidence of a load exception error.

* VERSION is now set to 0.2.


Revision 129 - Directory Listing
Modified Tue Jun 15 03:30:16 2004 UTC (19 years, 9 months ago) by senkov
Small change to generate "NA" resultset using resultset class.


Revision 123 - Directory Listing
Modified Mon Jun 14 19:33:16 2004 UTC (19 years, 9 months ago) by schoenebeck
* src/common: added template class 'optional<>' which can be used e.g. as
  return type whenever a value might be returned, but don't has to; this
  template class pretty much acts like a pointer of the given type, but is
  much more safer than a simple pointer
* src/audiodriver: added static class AudioDeviceFactory to create audio
  devices at runtime by using a string and to obtain driver informations
  of drivers at runtime, driver classes should simply use the macro
  REGISTER_AUDIO_OUTPUT_DRIVER(DriverName,DriverClass) in their cpp file
  to register the driver to LinuxSampler (no changes needed anymore in the
  LS code to add a new audio output driver)
* src/drivers: added classes to dynamically manage driver parameters; there
  are two different kinds of parameters: parameters which are need to
  create a new device (DeviceCreationParameterX) used to e.g. create an
  audio output device or a MIDI input device and parameters which are only
  available at runtime, means when a device is already created
  (DeviceRuntimeParameterX) which will be e.g. used as audio channel
  parameters and MIDI port parameters
* src/linuxsampler.cpp: all registered audio output drivers will be shown
  on the console on startup
* src/network: implemented configuration of audio output devices via LSCP


Revision 121 - Directory Listing
Modified Sat Jun 12 07:46:02 2004 UTC (19 years, 9 months ago) by senkov
typo in case statement (while doing string replace forgot to add breaks)


Revision 120 - Directory Listing
Modified Sat Jun 12 07:29:37 2004 UTC (19 years, 9 months ago) by senkov
* Error handling in resultset class, rewrite lscpserver to use resultset.


Revision 117 - Directory Listing
Modified Tue Jun 8 01:29:08 2004 UTC (19 years, 9 months ago) by senkov
Updated GET CHANNEL INFO to send uninitialized params with "NONE"/0


Revision 116 - Directory Listing
Modified Tue Jun 8 00:48:20 2004 UTC (19 years, 9 months ago) by senkov
Added comments


Revision 113 - Directory Listing
Modified Sun Jun 6 20:59:49 2004 UTC (19 years, 9 months ago) by senkov
* Added LSCP command GET CHANNEL INFO


Revision 111 - Directory Listing
Modified Sat Jun 5 20:55:50 2004 UTC (19 years, 9 months ago) by schoenebeck
* LSCP allows now comment lines, that is lines starting with a hash ('#')
  character
* src/engines/gig/Voice.cpp: fixed "SET CHANNEL VOLUME" bug


Revision 80 - Directory Listing
Modified Sun May 23 19:16:33 2004 UTC (19 years, 10 months ago) by schoenebeck
* biquad filter parameters are now calculated outside the interpolate
  loop for better performance
* couple of loop unroll optimizations
* filter is now enabled by default
* cubic interpolation is now enabled by default
* reduced debug level to 1 to lower verbosity
* raised default limit for voices to 128
* raised default limit for streams to 150
* added some compiler optimization flags (-ffast-math -march -mcpu)


Revision 79 - Directory Listing
Modified Sat May 22 06:33:55 2004 UTC (19 years, 10 months ago) by senkov
* Fixed SET CHANNEL MIDI_INPUT_CHANNEL lscp command.


Revision 68 - Directory Listing
Modified Sat May 8 19:03:17 2004 UTC (19 years, 10 months ago) by senkov
* Adding LSCP command SET CHANNEL MIDI_INPUT_PORT. First attempt.


Revision 64 - Directory Listing
Modified Thu May 6 20:06:20 2004 UTC (19 years, 10 months ago) by schoenebeck
* src/Sampler.cpp: fixed 3 stupid but fatal bugs that left in the rush (in
  method SamplerChannels(), CreateAudioOutputDevice() and
  CreateMidiInputDevice())
* src/network/lscpserver.cpp: implemented LSCP command
  'SET CHANNEL MIDI_INPUT_CHANNEL'
* src/Sampler.h: moved enums 'audio_output_type_t', 'midi_input_type_t'
  and 'engine_type_t' into the respective base classes
  ('AudioOutputDevice', 'MidiInputDevice', 'Engine')


Revision 61 - Directory Listing
Modified Mon May 3 19:29:44 2004 UTC (19 years, 10 months ago) by schoenebeck
forgot to update copyright header for 2004 for following files:
src/linuxsampler.cpp,
src/Sampler.h,
src/Sampler.cpp,
src/network/lscpscanner.cpp


Revision 57 - Directory Listing
Modified Sun May 2 17:45:43 2004 UTC (19 years, 11 months ago) by schoenebeck
* src/common/Thread.cpp: method StartThread() now blocks until thread
  actually runs, mlockall() will only be applied for realtime threads
* libtoolized liblinuxsampler
* initiated automatic unit tests against the LinuxSampler codebase
  (see src/testcases): already added a couple of tests for the Thread and
  Mutex classes, you have to explicitly compile the unit tests by running
  'make testcases' (you need to have cppunit installed though) and then you
  can run the console version of the test runner by calling
  'src/testcases/linuxsamplertest'
* src/Sampler.h: added API documentation


Revision 56 - Directory Listing
Modified Tue Apr 27 09:21:58 2004 UTC (19 years, 11 months ago) by schoenebeck
updated copyright header for 2004


Revision 53 - Directory Listing
Modified Mon Apr 26 17:15:51 2004 UTC (19 years, 11 months ago) by schoenebeck
* completely restructured source tree
* implemented multi channel support
* implemented instrument manager, which controls sharing of instruments
  between multiple sampler engines / sampler channels
* created abstract classes 'AudioOutputDevice' and 'MidiInputDevice' for
  convenient implementation of further audio output driver and MIDI input
  driver for LinuxSampler
* implemented following LSCP commands: 'SET CHANNEL MIDI INPUT TYPE',
  'LOAD ENGINE', 'GET CHANNELS', 'ADD CHANNEL', 'REMOVE CHANNEL',
  'SET CHANNEL AUDIO OUTPUT TYPE'
* temporarily removed all command line options
* LSCP server is now launched by default


Revision 35 - Directory Listing
Added Fri Mar 5 13:46:15 2004 UTC (20 years ago) by schoenebeck
* implemented parser for the LinuxSampler control protocol (LSCP) by using
  flex / bison (where src/network/lscp.l is the input file for lex / flex
  and src/network/lscp.y is the input file for yacc / bison), parser and
  scanner can be regenerated by 'make parser'
* implemented LSCP network server (only single threaded so far), LSCP
  server will be launched if LinuxSampler was started with "--server" flag,
  implemented the following LSCP commands so far: "LOAD INSTRUMENT", "GET
  CHANNEL VOICE_COUNT", "GET CHANNEL STREAM_COUNT", "GET CHANNEL
  BUFFER_FILL", "SET CHANNEL VOLUME" and "RESET CHANNEL"
* disk thread now started within the engine


  ViewVC Help
Powered by ViewVC