@Override
	public String dataFromSignal(List<Double> output) {
		StringBuilder sb = new StringBuilder();
		char curChar = 0;
		int posInChar = 0;
		for (Double doubleValue : output) {
			int bit = Math.min((int)Math.abs(Math.round(doubleValue.doubleValue())), 1);
			curChar |= bit << (charSize - 1 - posInChar++);
			//System.out.println(Integer.toBinaryString(curChar));
			if (posInChar == charSize) {
				posInChar = 0;
				if (curChar != 0) {
					sb.append(curChar);
				}
				curChar = 0;
			}
		}
		return sb.toString();
	}