Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nn~ and external data? #35

Open
RVirmoors opened this issue Jan 23, 2023 · 2 comments
Open

nn~ and external data? #35

RVirmoors opened this issue Jan 23, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@RVirmoors
Copy link

hi! nn~ is amazing, thank you!

i was wondering if there's any way to integrate a nn~ object with something like a score etc. My concrete use case is importing a .mid file and then playing it back in a "humanized" way via a ML model.

right now I can think of two ways to get this done:

  1. adding a Tensor buffer to my .ts model, and streaming/serializing the MIDI events into it from Max. This seems like a lot of work and could be finnicky.
  2. modifying the nn~ object to include .mid loading and sequencing. This would effectively be a fork of nn~, and would maybe be hard to keep in sync with the main project?

i guess the ideal would be some sort of plug-in system that allows us to extend the capabilities of the nn~ object, without modifying the core cpp.

i'll probably go with option #2 above. Do you have any advice, is there something I'm missing?

cheers & keep up the great work!

@denlecoeuche
Copy link

denlecoeuche commented Jan 24, 2023 via email

@RVirmoors
Copy link
Author

RVirmoors commented Jan 24, 2023

Hi, Just a quick idea: play the midi file in the most basic sounding way in Max and route the resulting audio to nn~ to perform timbre transfer. Would that work?

that's not a bad idea, i could send in click~s and have nn~ respond to them. The only problem is, it would be causal i.e. have no knowledge of the future. Whereas I kinda want to have the whole score "in mind" when I go through the piece. But I'll think about it, thanks!

@caillonantoine caillonantoine added the enhancement New feature or request label Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants