• s.elliot.perez

    @jameslo Hey, you were right. Thank you!

    posted in technical issues read more
  • s.elliot.perez

    @Butahuruf What kind of input will you be giving it?

    posted in technical issues read more
  • s.elliot.perez

    I made a lyre with karplus strong:

    karplusstrong.pd

    It works pretty well, but with pitches above 600 Hz the spectrum becomes very rich, so that the sound becomes very metallic and the fundamental becomes increasingly hidden among the other pitches. What can I do about this?

    posted in technical issues read more
  • s.elliot.perez

    @vickydcl You can check if it's a processor problem by clicking on Media>Load Meter. If the CPU value is near 100, that's... bad.

    posted in technical issues read more
  • s.elliot.perez

    @Butahuruf So you want to transpose input one or two octaves down and output it? The easy vanilla way to do this is with an array, but that would make the playback slower. Maybe [soundtouch~], an external from kaatja? http://katjaas.nl/pitchshift/soundtouch~.html

    posted in technical issues read more
  • s.elliot.perez

    @Jona Thank you! You're a legend. I'd forgotten all about the list items since they're not hvcc compatible.

    Unfortunately that particular ChucK analysis script doesn't work very well on noisy sounds...

    posted in technical issues read more
  • s.elliot.perez

    Speaking of efficiency: There's ChucK code that does spectral analysis and outputs a list of peak frequencies and their amplitudes in this format:

    [ 4072.47, 1 ], [ 5593.25, 0.304494 ], [ 4196.28, 0.66348 ], [ 5536.73, 0.726691 ], [ 4382.01, 0.527432 ], [ 5380.61, 0.722193 ], [ 4766.91, 0.287018 ], [ 7073.66, 0.620362 ], [ 5334.85, 0.513121 ], [ 5490.97, 0.267715 ], [ 5046.84, 0.342458 ], [ 7006.37, 0.657309 ], [ 6629.53, 0.451136 ], [ 6939.07, 0.525416 ], [ 9520.37, 0.254127 ], [ 9388.48, 0.253434 ], [ 7396.66, 0.225276 ], [ 9582.28, 0.259454 ], [ 8990.11, 0.168725 ], [ 9703.4, 0.247069 ]

    which you can easily click and paste into another ChucK script that will resynthesis a sound with that spectrum.

    If I wanted to use this data in another text-based language, I could make or adapt a parsing script that removes the brackets and sends the left value into a frequency array and the right value into an amplitude array. But in PD, even if I use abstractions or [clone], I would still have to either manually go in and cut the individual values and paste them into a message box or into an abstraction as a creation argument. I suppose if I could convert them into two lists, one for frequency and one for amplitude, eg. I could send them into a [clone] easily, eg.

    [4072.47, 5593.25, 4196.28, etc.(
    |
    [next $1(
    |
    [clone]

    I've made a parsing script before to read parameter list txt-files into C#, so I'd have to look into how to generate .txt files. So the process would be

    1. Get ChucK analysis data.
    2. Paste it into algorithm to generate two txt-files in the proper format.
    3. Copy and paste content of those files into PD message boxes.

    This would work for testing in PD, but since hvcc isn't compatible with [clone], I'd have to wire up a route system into regular abstractions.

    Any better ideas for how to do this? Is there a way to do the parsing in PD itself?

    (I know @Jona mentioned ofelia. So the question is what's more work and what has more payoff. Doing it the way I described or learning ofelia?)

    posted in technical issues read more
  • s.elliot.perez

    @jameslo Ohhh yeah. That's what I get for skimming the help file. Thanks!

    posted in technical issues read more
  • s.elliot.perez

    @jameslo Hey, thanks for sharing that. I just put this together- It took me a little while to set up, but it works pretty well! It's not compatible with hvcc, which I use for integrating PD structures into Unity and other platforms, but it could be useful for prototyping.

    Here's the version I made of the above code with oscillators. Open "string.pd" to use it. Needs to have "overtone.pd" in the same folder.

    string.pd
    overtone.pd

    posted in technical issues read more
  • s.elliot.perez

    @whale-av Thanks! Very interesting. Might take me a while to figure out how it works.

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!