u/Pitiful_Spend_4247

Need help with buffer architecture for real-time effect processing

Need help with buffer architecture for real-time effect processing

Hello, I'm a student working on a spatial audio installation in puredata. I'm trying to build a system where the user records their voice that is saved as a .wav, from the left inlet it loads into a buffer (tabwrite~ buffer1) and plays on loop (tabplay~ buffer1). While the buffer plays, effects are applied to the audio in real time from the right inlet. When happy with the result, the modified buffer gets saved as 1.wav (overwriting original) and plays as a final loop.

I keep getting this error: "audio signal outlet connected to nonsignal inlet (ignored)" and I'm pretty sure it is because of this subpatch, because when I delete everything from it the error goes away.

Can anyone help me fix this build? Each effect is in its own subpatch and seperately connect to [pd buffer], So where should the processed audio coming back from the effects chain go if not into tabplay~?

https://preview.redd.it/u2q05msqbr1h1.png?width=959&format=png&auto=webp&s=0833c595602b5d99f68ffef704892753782a4c54

https://preview.redd.it/ee4wq1o7cr1h1.png?width=302&format=png&auto=webp&s=129f61c59db218bb38d3e6a723a9c4cfbeb0095a

reddit.com
u/Pitiful_Spend_4247 — 6 days ago

Can't find sound directory when opening patch on laptop

https://preview.redd.it/k0fsr8f0vo0h1.png?width=843&format=png&auto=webp&s=00e919df06865537d3438b92ecb205b1597d73b9

Hi, I'm a student working on a spatial audio project in Pure Data. My patch uses a relative path (../../../../../sound-directory-test/sounds/soundobjects.json) to find a folder with sound files. It works fine on the lab computer but when I open it on my laptop I get a "read failed" error even though the folder and file exist. I know the issue is that the relative path depth needs to match the folder structure, but I double checked and the number of levels should be correct for my laptop's path. But it still doesn't work. Can anyone help?

reddit.com
u/Pitiful_Spend_4247 — 11 days ago

C Plus2. Normalizing IMU data to -1/+1, what should I divide by?

hey so I just got an M5StickC Plus2 and I'm trying to normalize the IMU data to -1 to 1 range. the problem is I have no idea what to divide by to get that range working properly.

like for the gyro if I divide by 2000 the values barely move at all, and for the accelerometer I don't even know what the max value is supposed to be.

I tried adding a min/max tracker to the code to shake it and find the real max values but its not like i can check quickly what max numbers it puts out while shaking it.

does anyone know what the actual real world output range is for on this device? or is the only way to figure it out just testing it yourself? I am a complete beginner so please help!

this is what code i wrote in arduino to devide it for gyro, I have a similar code for acceleration (oh and i already have the IMU displayed on the device)

float gyroX = constrain(data.gyro.x / 2000.0, -1.0, 1.0);
float gyroY = constrain(data.gyro.y / 2000.0, -1.0, 1.0);
float gyroZ = constrain(data.gyro.z / 2000.0, -1.0, 1.0);
reddit.com
u/Pitiful_Spend_4247 — 12 days ago

Someone experienced with Pure Data please help/guide me w project. DM me please!!

Hi, I'm working on a project that uses Pure Data for live audio. Things like OSC messaging, recording and playback, and external libraries.

I'm fairly new to PD and looking for someone who'd be willing to guide me through things, answer some of my question and help me with errors. I'm also building out the audio side of the project and want to learn about sound design and effects processing as part of that. It's quite complicated for me and I cant find any tutorials online.

I realize this is my first post here and asking people to DM me probably looks a bit odd and I totally get it, I don't want to share too many details publicly for homework project reasons. Happy to explain more in DMs and I'm a real person I promise! If anyone has solid PD experience and is happy to help someone learn, I'd really appreciate it. I'm open to compensating you for your time if needed!

reddit.com
u/Pitiful_Spend_4247 — 13 days ago