ossia / libossia

A modern C++, cross-environment distributed object model for creative coding and interaction scoring
https://ossia.io
GNU Lesser General Public License v3.0
206 stars 33 forks source link

[ossia-python] - parameter value of type float is round down to the next integer #229

Closed reno- closed 7 years ago

reno- commented 7 years ago
#! /usr/bin/env python
# -*- coding: utf-8 -*-

import ossia_python as ossia

local_device = ossia.LocalDevice("super software")
local_device.create_oscquery_server(3456, 5678, False)
foo_bar = local_device.add_node("/foo/bar")
float_node = local_device.add_node("/test/numeric/float")
float_parameter = float_node.create_parameter(ossia.ValueType.Float)
float_parameter.value = 2.5
print(float_parameter)
jcelerier commented 7 years ago

fixed