HydrogenAudio

Hosted Forums => foobar2000 => Development - (fb2k) => Topic started by: excsniper on 2012-07-13 19:15:14

Title: Is it possible to have fb2k send out data through a serial port?
Post by: excsniper on 2012-07-13 19:15:14
I'm thinking of a project that involves controlling external hardware with audio data from fb2k.
Title: Is it possible to have fb2k send out data through a serial port?
Post by: ExUser on 2012-07-13 19:24:04
You'll need to use a DSP component. Output component development tools are no longer included in the SDK.
Title: Is it possible to have fb2k send out data through a serial port?
Post by: excsniper on 2012-07-13 19:39:16
You'll need to use a DSP component. Output component development tools are no longer included in the SDK.


So is it possible to write a DSP that will interact with the serial port?
Title: Is it possible to have fb2k send out data through a serial port?
Post by: pawelq on 2012-07-14 02:29:51
You'll need to use a DSP component. Output component development tools are no longer included in the SDK.



I suspect that another option is writing a serial port driver that will present to the OS as an audio driver.
Title: Is it possible to have fb2k send out data through a serial port?
Post by: foosion on 2012-07-14 09:06:55
You'll need to use a DSP component. Output component development tools are no longer included in the SDK.
An alternative would be to use a visualization. With a visualization you have more control over how many instances are created and can be sure you only process data from playback (and not from conversion). It depends on how much you trust the user. If it is only for your own use you probably would not spend as much time on making it fool-proof as you would for a public release.

In either case (DSP or visualization) your code can do pretty much whatever you want.