-
YodAmygdala
If you test the enclosed patch with the enclosed file you'll hear it double trigger on low tempos. Sounds like a horse running. I don't understand why. Do you??
-
YodAmygdala
This is a continuation from the threads: http://puredata.hurleur.com/viewtopic.php?pid=24456#p24456 and http://puredata.hurleur.com/viewtopic.php?pid=24457#p24457
After trying a modified version of the patch from http://puredata.hurleur.com/sujet-5355-scratching-system I found that it was everything I needed, except one big issue:
When I load one file on the one side when playing a file on the other, it stops everything until it is loaded. If I'm supposed to use this as a DJ program, this needs to be fixed. So, is there any way around it and in a way so I can still have all the functions?? Please tell me if it is not, because if so I have decided to buy and use Max/MSP instead.Thank you!
-
YodAmygdala
I decided to start a new thread for these problems. It's a continuation from this: http://puredata.hurleur.com/sujet-4407-questions-patch-djing
Take a look at the attached patch and then these questions:
1. Is it possible to play the array on from a different sample than the first one? How? (I need this to be able to use cue-points).
2. Is it possible to use the outpout from a slider only when it is in use? Like when I use the scratching and stop it, the patch will detect that the slider is no longer in constant use (after it hasn't been changed for some short time) and the tempo will be controlled by something else (that is constand)?Thank you!
-
YodAmygdala
I'm kind of new to Pd, but have some experience with Max. Actually I did a DJ-patch in Max a couple of years ago. I have uploaded this so you can see what I want to do. See the two files staring with MUS2840.
I have searched the forum and gotten a little smarter, but I haven't really found the answer I'm looking for.
I need a (two) player that can handle long files. I want to be able to controll speed and use cue-points. I have tried to use a simple player with tabplay~ og tabread4~, but can't seem to load the whole file into the array/table.
I did also try mp3play~, but couldn't try any of my mp3's since, they were all "layer 2"? Strange! It's just regular mp3's imported from CD's into iTunes.
I have tried sfplay~, but as I have figured out from this forum, I won't be able to change speed. ?
I have tried readanysf~, but it just led me to a bunch of things I needed to install and I didn't understand a thing.
If this for some reason can't be done with Pd, I'm thinking about using Jack or Soundflower in some kind of way. The whole point is to be able to use my own hardware interface (with Arduino) to control some kind of DJ-program, and I want it to be free.
Thank you!
-
YodAmygdala
Hi!
I want to make my own DJ-program and controller. I have made one in Max/MSP before and thought I'd try PD (Pure Data) this time. I think I can manage that, but the controller will be harder. I want to make it as much from scratch as I can, using homemade sensors and sensor-interfaces from gamepads or something like that. I want them to use OSC to communicate with PD. For starters I want to have buttons (cue/play), sliders (the speed/pitch of the song) and something that rotates without start- or stop-points (also speed/pitch of sound (when spinning this forward the speed goes up, when spinning it backward the speed goes down), adjusting cue-points, and, maybe later, scratching). I know that homemade sensors are unstable and deteriorate with time, but hope I can learn more about this and maybe find information about materials that don't deteriorate as much or how to make them not deteriorate. Can someone point me in the right direction here? Maybe to a better forum for these types of things? Or to some kind of tutorial or guide? I have searched the internet and this forum, without finding anything.
If I can't use homemade sensors, I wonder where I can find the types of sensors I need and maybe if it would be better to use Phidgets or Arduino or something like that. And in that case – what things like that? Can I just buy slider/fader from some kind of electronics-store and connect it to a sensor-interface I made from a gamepad? Do I need to calibrate something? How do I find information about these things? Can you recommend specific sensors or stores?
The goal is to spend as little money as possible, but it has to be possible for me to be able to build this within “reasonable” time and without spending much time practicing and reading.Thank you!
-
YodAmygdala
Hi!
After a few months away from my DIY-projects, due to wirting my masters thesis, I'm now back on track.
Thank you, Keith! I saw the thread and tested every patch (also your Lease Def DJ-system) and they gave me some new ideas and questions. I will present these in a new thread. Hope to see you there!
-
YodAmygdala
Hi!
After a few months away from my DIY-projects, due to wirting my masters thesis, I'm now back on track.
I didn't see your correction about the phasor~/vline~ before now, so my last post is kind of not relevant.
I will start a new thread about my project soon. I've gotten some new info and seen a working DJ-patch which has given me new thouughts and questions. Hope to see you there.
And thank you once again. You've all been great help!!
-
YodAmygdala
At first I was gonna write: "Strange. The only thing going into phasor~ in my patch is a number representing the speed (it's about 0,002 with the song I'm using as test-song). I don't see how that fits with what you're telling me. ??" and not try it out. But I didn't want to ask about things if I didn't have to.
I tried it out, and discovered that I was right: The number that goes into phasor~ controlls the speed. In other words: When I put a line going from 30000 to 500000 into it, all I heard was noise because the song played really(!!) fast in a loop. This also reflected in the time-bar below the waveform.
Is there something I have overlooked or misunderstood??
Anyway, if it is and I can use this: I need the start and stop to be flexible, so I can set it along the way. I messed around with this a bit, using $ (from the slider_resize.pd) and pack/unpack and stuff, but nothing worked.The resize-tip gave me nothing new, but thank you anyway.
-
YodAmygdala
I don't know exactly what you mean, but I tried to put the resize before the read between loadpanel and soundfiler, but I just got an error-message. And I don't use any load-message, so I'm not sure how to use the info you gave me. I added the patch this time, so you can see what I have done.
The resizing of the sliders works perfect!!
Now, there's two things I need to accomplish:
1. Is it possible to play the array on from a different sample than the first one? How? (I need this to be able to use cue-points).
2. Is it possible to use the outpout from a slider only when it is in use? Like when I use the scratching and stop it, the patch will detect that the slider is no longer in constant use (after it hasn't been changed for some short time) and the tempo will be controlled by something else (that is constand)? I just remembered the change-object from Max and maybe I can use it (if it works the same in PD) with some sort of gate (spigot or something)? I'll look at that next time, but if someone could tell me something about this, please do!Not sure what to search for, so I asked. Sorry if there is other threads on these things.
Thank you!!
-
YodAmygdala
It's been some time since I got the time to look at this now, but finaly I got around to it.
The files loads just fine, but the table is missing the last bit. It's the right size, but the waveform are just cut right off at about 15% from the end. This is no biggie, but its strange!
Thanks for the "2.". It's a great start, but is it possible to use $1 and $2 instead of 50 and 75? I managed to controll the $1, but got "error: $2: argument number out of range" on $2 when I just used two number-boxes into the message-box.
I'm sure there will be more questions later. I'm going to look at how to pause (and set que-points in) the playback now.
-
YodAmygdala
No, didn't know that. Trying to find what firmata to use, but can't. Not sure if it's just another download or just another of those you pick when loading up the Arduino. ? If someone can help me with what to do, please tell me!
Btw: Using Mac OS X.5.8
Edit again: Tried all the firmatas in Firmata 2.1 and none of them work for digital ins. AllInputs-, Standard- and SimpleAnalog- are the only ones that work for analog ins.
-
YodAmygdala
I have the same problem, but your solution didn't help. I'm using Arduino Mega and a monome-like button which works fine when I try other things with the Arduino-software. And the analog ins work.
Help! (I'll make a new thread if no one answers.)
-
YodAmygdala
Thank you once again!
This helped a lot, but unveiled more questions: Is there a way to make the table resize automatically when I load a new track? I tried naming the number-box from the output of soundfiler "Duration" and put "resize Duration" where you resize the table, but it did nothing. I also tried naming the send-symbol of the number-box.
And on to the other problem:
What I want to do is change the output range of the hslider automatically when I load a new song, not through the properties like you describe. Or more general: Can I change the properties through boxes in the programming enviroment (outside the properties-menu)? -
YodAmygdala
Yes. It kind of helped, but I still don't understand exactly how to write the code. I've tried putting in "samplesize 158760000", "-samplesize 158760000" and "-maxsize" in everywhere but nothing happens. I'm using a *.aiff-file. Maybe that's what's wrong. ?
And I'm not sure how to write the code for setting the samplesize automaticaly when I upload a new song.
I also see another problem coming: Every song will have a different playing speed. Am I right?? This will be a problem when I want to adjust the playing speed (for scratching and for small speed-variations). If someone has a solution for this, please write it down here. What I need is a way to change the output range of the hslider.
I'm using a patch I have copyed from a youtube-video (
) to try things out (uploaded).And one more question: Can I use tabplay~ instead of tabread4~ and still set the samplesize in the way you hopefully will tell me to?
Thank you!