do non integer cents make sense for tune=?

Discussion on the SFZ implementation and opcodes available in the ARIA engine.

Moderators: eric_telemaque, davidv

sig-ex
Posts: 5
Joined: Sun Jan 31, 2016 7:08 pm
Contact:

do non integer cents make sense for tune=?

Postby sig-ex » Wed Mar 29, 2017 4:18 am

Hi,

I'm trying to use a custom tuning for a piano to deal with inharmonicities and had this random curiosity. All examples of the tune opcode I've seen so far use integers. Maybe the resulting difference of adding decimal places is very insignificant and can't be perceived in practice anyway. But does the sforzando/Aria engine expect tune values to be integers? Or will it also take in values with decimal places? Or will it ignore decimal places? Cann's book just says it has to be between -100 & 100. The formula for obtaining the pitch scaling from specified cents also seems fine for float values.

Thanks!
The signal experimentalist
http://sig-ex.com/

davidv
Site Admin
Posts: 1567
Joined: Tue Mar 02, 2004 7:23 pm
Contact:

Re: do non integer cents make sense for tune=?

Postby davidv » Wed Mar 29, 2017 9:03 am

Hi

ARIA's tune is parsed and processed as a float.
Cheers
David Viens,
Plogue Art et Technologie Inc. Montreal.
http://www.plogue.com

sig-ex
Posts: 5
Joined: Sun Jan 31, 2016 7:08 pm
Contact:

Re: do non integer cents make sense for tune=?

Postby sig-ex » Wed Mar 29, 2017 10:23 am

Thanks David!
Great to know. Another reason why I recommend sforzando/Aria. :D
The signal experimentalist
http://sig-ex.com/

davidv
Site Admin
Posts: 1567
Joined: Tue Mar 02, 2004 7:23 pm
Contact:

Re: do non integer cents make sense for tune=?

Postby davidv » Wed Mar 29, 2017 10:37 am

sig-ex wrote:Thanks David!
Great to know. Another reason why I recommend sforzando/Aria. :D


Thanks!
David Viens,

Plogue Art et Technologie Inc. Montreal.

http://www.plogue.com


Return to “SFZ Programming”

Who is online

Users browsing this forum: No registered users and 1 guest