• ymotion

    Hi,
    I'm trying to make a very simple synth using the computer keyboard: building adsr envelope when I press and release a key. The adsr itself is working fine. but I get something weird when using [keyname].
    When connecting the left inlet of [keyname] to a number box, I get "1" when the key is pressed and "0" when the key is released. But if I connect a [print] object to the left outlet, I get a series of 1s and 0s, one after the other...

    Is there a bug? Am I missing something?

    Also, [keyup] does not do the work, so I don't have an alternative..

    I attach the patch

    Thanks a lot.

    ymotion

    http://www.pdpatchrepo.info/hurleur/adsr0.pd

    posted in technical issues read more
  • ymotion

    Hi,
    I'm working on a sound-art project with 16 channels. It's quite simple in terms of PD: I only need the patch to choose one audio file (out of many), then play it through the loudspeakers in a specific timing pattern, with some delay.

    I have total of 120 audio files, around 5 min each, in mp3 format. I downloaded the files from various sources, so they are not normalized.

    I'm not sure what would be the best way to read the files. I can:

    (1) Play the mp3 from HD.
    (2) Import the mp3 to PD as arrays, send [normalize( to all arrays and then use either [tabplay~] or [tabread4~]
    (3) Use a DAW to normalize and convert the mp3 to WAV, then play the files from HD using [readsf~]
    (4) Use a DAW to normalize and convert the mp3 to WAV, then import the files to PD as arrays and use either [tabplay~] or [tabread4~].

    I've never worked with mp3 in PD (so I don't know how to do options 1 & 2). I read several posts which made me think mp3 is not very stable...The project is going to be exhibit in a museum, the timing is extremely important, so it cannot bear any undesired delays or lags. I don't mind working extra time converting all files with a DAW...I'm also not sure whether it's OK to have 120 arrays (will it slow PD down?) or better just to keep the files on the HD and read it from there.

    Thanks!
    ymotion

    posted in technical issues read more
  • ymotion

    I get the dotted red square when trying to write openpanel in an object.
    mp3play~ is not recognized
    bng, hsl guis do not work...

    Where did they all go? Should I download external libraries for that?

    I'm running 0.43.4

    HELPPPPP

    posted in technical issues read more
  • ymotion

    Hi,
    I'm working on building a subtractive synth, with basic filters (LP, HP, BP, notch), and would like to be able to see a graphic representation of the filter as I change parameters. Any suggestion how to do it?
    Also, any LP filter object where I can also change the resonance? (any filter object - of any kind - will be appreciated!)

    Thanks!

    posted in technical issues read more
  • ymotion

    Hi,
    I'm looking for a way to generate a row, lets say of 12 elements (0-11), in a random order, but without repetition of the elements. If I use [random 12] I obviously can have the same number more than once. Any suggestion?
    Thanks!
    ymotion

    posted in technical issues read more
  • ymotion

    Hi,
    I don't think there's a way to change more than a single creation argument of [sel] object,. If yes, please let me know :-)
    I'd like to change [sel 16 32 48 64] and multiple its arguments by 2, 3, 4, 5.
    I can write five different [sel] objects and use gates to route the data to the appropriate [sel] object. But I'm looking for a neater solution here.

    background: I have a simple sequencer w/16 beats and five presets. I created a player to play a "song"= one preset after the other: the first preset, then (after 16 beats) move to the second, third etc. See attached patch. I'm interested in changing the number of repetitions for each preset. For ex., playing each preset twice, three times or four times.
    I have a general counter - the [r count] object in the attached patch. So moving from [sel 16 32 48 64], to [sel 32 64 96 128] or [sel 48 96 144 192]

    Any suggestions?
    Thanks a lot.
    ymotion

    http://www.pdpatchrepo.info/hurleur/select.pd

    posted in technical issues read more
  • ymotion

    Hi,
    I'm trying to see if there's a shorter way for the patch I made. Essentially, I have a row of toggle-guis and I'm storing their positions (0 or 1) into an array. I'm using the [send] object to do it- see the attached file. Now, I'd like to be able to do the other way around as well - meaning to send info from the array to the guis. For that, I'm dumping the values of the array as a list and then using

    to send each value to the appropriate gui.
    So, is there another way to do it?
    Hope to get your advice here.
    ymotion

    ps
    What happens if I have like 100 toggle-guis? Will I need to have send message for each? Why do I have a feeling that the answer is "yes"? :-)

    http://www.pdpatchrepo.info/hurleur/presets.pd

    posted in technical issues read more
  • ymotion

    Hi,
    I notice that when sending a list of values to an array via a message, you need to add an extra value at the beginning of the list. For ex, if I want an array named "table" to have the following values {1, 1, 0, 1}, I need to send this message
    [; table 0 1 1 0 1(

    Am I right? any explanation why? I feel I miss something here, maybe the syntax/architecture of a message...
    thanks
    ymotion

    http://www.pdpatchrepo.info/hurleur/message-2-table.pd

    posted in technical issues read more
  • ymotion

    Hi guys,
    This is definitely not a life-death issue, but...
    Is there a way to insert Pi without the need to enter all the digits? I mean, with the attached patch I get funny things like sin 180 deg = -2. e-06, or sin 360= 4.4e-06
    This is probably because one cannot enter the accurate value of Pi (I tried to, but Pd does not accept more than five digits after the point).
    Honestly, I do want to see "0" when Pd calculates sin 180 :-)
    Any suggestion (other than "go grab a beer")?
    ymotion

    http://www.pdpatchrepo.info/hurleur/sin.pd

    posted in technical issues read more
  • ymotion

    Hi,
    I'd like to do some very basic stuff with stream of values coming from a sensor. Lets say I'd like to take a value and subtract it from the value that follows it. I came up with a solution, which does the work (see attachment) but I'm sure there's a more friendly way to do that. Especially if I'm looking for a way to do some more complicated stuff with streams...
    Hope to hear some suggestions.
    Thanks a lot!
    ymotion

    http://www.pdpatchrepo.info/hurleur/stream.pd

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!