im using waveform to display a sample from a buffer~ of course, and when i select a start point and an end point that is somewhere in the sample where it would be making sound, afterwards it has a continuous output of a humming sound… how do i fix this?
Without seeing your patch it’s difficult to say.
i checked a bunch of times, and just go to the play~ reference example from max and open a sample, make it start and stop somewhere midopint in the file, preferably when the sample is at a louder point. and itll generate a lingering sound thats either inaudible or audible, especially if you hook up a levelmeter to it and amplify the output.
If you pause the sound, it stops wherever it was, and there may be a DC offset. This is not humming though.
when i turn the volume way up it clearly is making a tone, and when the sample ends where there is no offset it doesnt make a tone, i can even record it in to a buffer and it shows up.
i finally fixed it. it was a problem with the line~ object hooked up to the play~ object. thanks anyway. this was bugging me for a few days now.
more so, it seems that the line object still outputs a signal, and it is making a clear noise when i turn up the volume. and if its sub-audible i can see my bass speaker moving a fair bit. i just basically made it so when the sample is played it turns on the volume, and when the line is done playing, it turns off the volume.
but still, why does line~ do this?
post your patch
k, here it is. it appears to be the play~ object actually outputting it, but i think my solution was easier to cut back to the line object.
just load the snare sample i put in with the zip file, play it once backwards, and then turn up the volume and listen to the sine wave cut out. i dont understand. i have a feeling this would detract from certain things if i werent to have found a solution to it.
play~ continues to output whatever level is in the buffer~ at the position that it was in when it stops playing. The reason the sine cuts out is that eventually the output is so saturated with DC that the sine wave can no longer wiggle it.
In this version of your patch, I show that the value that is being output is a DC level, the same as the beginning of your sample. By using peek~ to fetch the first sample.
----------begin_max5_patcher---------- 1738.3oc0Z0rbihCD9rySgJW6osx3BIAX7dZ1iyyvNSkRFjs0FrDKHmDmol7 rusj.LYhAicvNN4.NHjDc+0e8ORhedynwyUOwKFi9Kz+fFM5m2LZjsISCiJu ez30rmhSYE1tMNVsdMWpGeq6YZ9SZa6eSh1p1ji3OwVmkxuEIznBsJq.wzH8 JNZNeoPJjKuE83JQ7Jjn.IUZDC8LOWghyUEEvSmfpl4TgjGq1HsSOsrwrbdA 71YZgRdWNOV6D8.xrId2hn3ole7Juf9Q0nX53Uvj2bDTO2HBL+PH16BCZLHQ hUuTy+2uP8p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WKx0V9H6lGoaU4qdbcjlW2PeXKNOHrmEX7aAXlcD0h32beuz2kvzrpSIXW s8iphbtaZf110WHOo8EO0nJU4g1kxwsx4x9PZoSdSvne3l5eci6+9fJ3i5i6 QAei+bT8ZXTzgUF7rOIZiu6mCnMmYk4zJzBDEwZXXlb60gb12dBPr4ECcYD1 SwEfrTMQ35Ipg5e1qHCOIXV.NZ5fU0A+4DVbM63AVdsTy1nUq3oYPbo3wGZu 4Bc6JmeP008t8j0mChJ1r1nWQLdaBz2+BtaIS4e9BPCHu+MjLz25QL0uqLk9 CQ4CcZ1GxBpx4Pklw7SqrJGpfwNpPmUUQldUBKsPXluYwBHFZYU3lR.7Ff05 UBWts3.6ht155+iFh5sF7nGsVWNfPPYEciT8.bHAQSnveXJ3lE0Eghh+LQnL GD7A26ndwg7LaTB0Krw4E21gCQO6HzPtrW6wzefk8dL.k6D08s.0zYcBT9Wk 9Zc8AMfTRNpfGqjIn4r36ejkmX+nfT4hkB.iPEYbdRWGXru6bPBb6Lfe2my3 ryNB0LcuUDr9L+1WQkUOLs+ZXqPsIOthiTE8Dgq0jDdgF.EyoD0rSdlUBsmS +wqtJxjLErXwRg.CAjLaFu6qKvGV3R0c6dQtu0gj1qeouZvzWIa6WA7ekR9V 4e3jlfdHMlChsS3b3DG+dHNzqNoA2epVjMJe3z.2FPDVe2Yfo0Gw2rl0iwU4 UxOgbVkeZebUBtXrAZ36wWAO7xi+0kuaujG7oP2nkkP5na16NGzMZeb28ub3 YejGxQim1Cnj1DOommDcTbevyKWzbReBmXqu3BIOg8rRfqHwgdAgmdEN4xE9 mzG5L4H8GKq0zmF0vgzd2Yvg72JK9CGQw8xgDe4jmdULr+0k7f8tbxSeRHM6 xINj9Dv5xUOVujG7kKeGtWt6SOQ4A8ia90M+OwOdV.. -----------end_max5_patcher-----------
Thank you very much. I understand a lot clearly now. I’m fairly well versed in the max part of max/msp, but the msp part I basically just started getting in to.
Forums > MaxMSP