Code Monkey home page Code Monkey logo

Comments (3)

patrickdowling avatar patrickdowling commented on May 23, 2024

No, the aux transpose doesn't use 1V/oct. Since it's not a chromatic transpose but in scale degrees, i.e. it always within the selected scale/mask, that's kind of by design (none of the aux/modulations are really calibrated to anything in particular).

from o_c.

bobbijvoet avatar bobbijvoet commented on May 23, 2024

Thanks for the quick answer!
I see and it indeed makes sense that it's always within the selected scale/mask.
Still it would be nice if it was calibrated.

I would like to try to change the source and compile it so I would have 1V/oct control.
My guess is that I would have to do some additional calculation on the incoming analog value:

transpose += (OC::ADC::value(static_cast<ADC_CHANNEL>(index)) + 63) >> 7;
.
Is that correct? Any other pointers maybe?

from o_c.

patrickdowling avatar patrickdowling commented on May 23, 2024

I guess it depends what exactly you want to control. You can maybe just run the value through an instance of SemitoneQuantizer with something like quantizer.Process(OC::ADC::raw_pitch_value(channel)) but I don't think that's going to be any more intuitive. That value is just used as an offset in the lookup table so doesn't map to semitones, and unless I'm missing something it's already fairly close (10V/128 = 0.08V per step, vs. 0.083V for 1V/oct).

More common approaches seem to be adding either some number of semitones to the pitch value before or after quantizing (the latter being a chromatic transpose, the former you don't always get a different note but it stays in scale/mask).

from o_c.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.