Skip to content

Streaming from an Analog input #493

Discussion options

You must be logged in to vote

The easiest is just to send the output to a CSVStream and then you can do your calculations:

  • calculate the avg value which will go into the offset, this should move the signal center to 0
  • after that repeat the output with the centered signal and divide 32767 by the max value which will give the max factor that you can apply w/o having any clipping

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants