Help with waveform~


    Sep 19 2020 | 7:07 am
    Hello,
    I have a problem sending the Selection Start and Selection End of 4 waveform~ to a groove~Loop Min and Loop Max. My aim is to control each sound of the 4 waveforms playing with the mode select and mode loop. The problem is that groove~Loop Min and Max receives all the 8 outputs. Please, Can you help me?.

    • Sep 19 2020 | 2:23 pm
      It's generally the case that you'll get a much better answer to any questions you may have if you accompany your question by an enclosed patch that shows what you're doing. If you happen to be using the waveform~ object's help file as a place to start (for me, that would be the obvious beginning point, but it's hard to tell from your post). You'll almost certainly need to have a groove~ object for each instance, if I'm guessing correctly. Post an example of what you're doing. And while you're waiting for a response, perhaps the MSP tutorial Sampling Tutorial 3: Playback with Loops will provide some additional insight.
    • Sep 19 2020 | 2:36 pm
      Thanks for reply, this is the start point of the patcher.
    • Sep 19 2020 | 3:15 pm
      Yep. As I suspected, you're going to need four groove~ objects, each of which loads the same buffer~ object's contents.
    • Sep 19 2020 | 3:18 pm
      Do you want to read one sound at a time, or several? If you want to play them at the same time, you will need 4 tape-players, i.e. groove~ objects. If you want to play them at different times, then you will need to route the "correct" selection bounds with a [route] or [gate] kind of scheme, certainly using some [trigger] object.
    • Sep 19 2020 | 3:25 pm
      I've tried the select~ to switch between the inputs. However I have other problem tha is the waveform~ only reproduces the half of a sample of 12000 ms. What is wrong?.
    • Sep 19 2020 | 3:42 pm
      Solved, sorry I named wrong the buffer. What should I do if I want to play them at different times?.
    • Sep 19 2020 | 9:22 pm
      I am trying to do this patch:
      Please, Can you help me again?.
      Thanks in advance.
    • Sep 20 2020 | 10:32 pm
      Please, Can anyone reply to my problem?.
    • Sep 21 2020 | 12:57 am
      Hi, there's just too many wild-cards in your patch here(for example, you have a typo in the message "$1, $2 $ 3" no space needed with '$3')... beyond that, i don't understand how it's supposed to trigger in the first place with the 't f b' object(i can guess, but then i have to create my own system to get it all to work, by that time i might not even be working with the same problem you were facing). also, the first argument to buffer~ would be the name of the buffer~ itself, followed by the soundfile(not that it matters too much since i don't have "Loop.wav" anyways(thus it serves as the name of the buffer~ itself for me, anyways), but i have to load something up myself beyond that, it can help us get to it quicker if it loads maybe a default file we all have - see my patch below for example)
      maybe you could take a bit more time: get the patch to play something readily so that you can just place comments in it saying "now i want this thing here to do that over there" etc. and people will be able to play with what works for you so far in order to get you to the next place. also the link you provide takes forever to load, and it's a fairly time-consuming article to have to read through(sonification of data is a huge field of inquiry with many different techniques possible).
      but since you asked about playing at different times, here's a simplified version that plays right away using one of the default soundfiles that comes with max, in case it helps understand the basics of play~/buffer~ more and how to give us something more readily understandable:
      (Reading back, i realize i'm trying to be specific about what could help us all, but it might come off as chiding - nothing meant as complaints from me, just trying to guide you towards getting better help more readily here). Hope it helps.
    • Sep 21 2020 | 1:19 am
      oh wait, the page finally loaded more completely for me, and now i see you actually want the second article down probably "automatic breakbeat generator" and not "sonification - algorithmic composition"?
      in that case, it might be more easy to check out the examples folder, from the help menu within max: Help -> Examples -> sequencing-looping -> modsquad -> ModSquad.maxpat this is the classic 'auto breakbeat generator' patch most folks learn from when they start(though it might look daunting at first, just look through(you'll need to take it out of 'presentation' mode and go into 'patching') and pick it apart object by object looking at all helpfiles, etc... it'll make sense with continued review and practice).
    • Sep 21 2020 | 1:20 am
      Many thanks!.
      I have the following questions:
      - What exactly do @active in the metro?.
      - And the 0, 1000 1000, for example?.
    • Sep 21 2020 | 1:30 am
      "@active 1" makes the metro automatically run right away(otherwise, you have to control it with a toggle or a '1'/'0' going into its inlet... i used it to make things happen right away so you don't have to fiddle too much to start things up) "0, 1000 1000" is telling line~ to output a signal which runs from 0 to 1000 in 1000milliseconds(sending this kind of signal to play~ then plays from starting point 0, to a point at 1000milliseconds, within 1000 milliseconds time)
      the others go like so: "1500, 2500 1500" go from a value of '1500' to '2500' within '1500' milliseconds of time(when sent to play~, 1500 to 2500 would normally take 1000 milliseconds(2500 - 1500 = 1000 milliseconds), but by telling it to take 1500 milliseconds, it ends up playing it a little slower than normal)
      "3000, 4000 500" = play~ starting from 3000milliseconds within buffer~ to 4000milliseconds(a 1000 millisecond duration at normal speed), but play it within 500milliseconds(thus effectively playing it twice as fast).
      you can check the play~ helpfile, second tab over labelled 'signal_input' it'll give you this exact clear description there plus it helps to play with the patch in the helpfile, try changing the messages they give, etc. (thing about helpfiles is sometimes it's worth also looking at the helpfiles for objects you find within, like opening the line~ helpfile as you come across it in the play~ helpfile, eventually studying the interface for all these objects will get you a nice intuitive feel for working through the environment)
      cheers
    • Sep 21 2020 | 1:36 am
      also, for beginners, sometimes youtube can help for those moments where you get tired of searching around yourself or reading too much, this dude's tutorials are some of the best out there: https://www.youtube.com/user/dude837/featured there are others too, you could just search youtube "automatic breakbeat generator max msp", you might find exactly what you need else you'll find more specifics on how to take things further from what you already have: https://www.youtube.com/results?search_query=automatic+breakbeat+generator+max+msp
    • Sep 21 2020 | 1:36 am
      Thx!.
      Just the last question. The ModSquad.maxpat is what I was looking for. Is possible to change the replace with a dropfile?, If is possible, Can you attach the patch or tell me the way of do it?.
    • Sep 21 2020 | 1:46 am
      haha, you caught the right person in time for all your questions here, no prob, i happen to have a more advance interface with dropfile you can use:
      [edit: you can delete the buffer~ in the above patch, and attach from the "replace $1" message in the above patch, to the 'p sound' subpatcher's inlet in the modsquad patch, that should hook everything up readily for ya] all the best.
    • Sep 21 2020 | 1:53 am
      Thanks!.
      How I should use the replace patch (integrate into the ModSquad)?, The ModSquad do not accept Quickrecord, What happens?.
    • Sep 21 2020 | 2:00 am
      Oh, I did not push the Audio button. How can I integrate the replace patc attached?.
    • Sep 21 2020 | 2:19 am
      I did it,
      Many thanks for all!.