[PD] change the length of looped soundfile without audio-clicks

2009-01-16 Thread Marko Timlin
Hallo Frank, Hi pd-list,
hhhmmm...sorry I guess my explanation was not very precise.
I studied the pd-example-patches Frank mentioned but [samphold~] has a big 
disadvantage: if we change a start or stop point of a loop-playback, then this 
change will be executed only after each cycle of the [phasor~](thus when it 
jumps from 1 to again). But if we work with long soundfiles and want to change 
their length on the fly- from long loop length to short loop length for 
instance - then [samphold~] can*t do what we want.
So my question is:
How is it possible to change in real-time the start and stop position of a 
soundfile in loop mode without getting audible audio clicks.
Any other ideas, suggestions???

MArko


Hallo,
Marko Timlin hat gesagt: // Marko Timlin wrote:

 Hi Ben, hi pd-list
 I just studied Ben's [susloop~] object and I have one questions.
 How is it possible to change the start and stop position of a soundfile in 
loop mode without getting audible audio clicks. How can you do that?
 
 I'm just developing my own soundfile-player and I have the problem that 
whenever I change the start and/or stop position in real-time I get a short 
audible audio click whenever [tabread4~] jumps to the new position.
 In my patch [phasor~] is multiplied with the amount of samples the soundfile 
has and reads like that through the soundfile using [tabread4~].

One popular approach is to use [samphold~] to only set the new limits
whenever the phasor~ jumps anyway. The samplers in 3.audio.examples
and Miller's book contain lots of examples of this approach.

Ciao
-- 
Frank

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] change of start-stop positions in [susloop~]

2009-01-15 Thread Marko Timlin
Hi Ben, hi pd-list
I just studied Ben's [susloop~] object and I have one questions.
How is it possible to change the start and stop position of a soundfile in loop 
mode without getting audible audio clicks. How can you do that?

I'm just developing my own soundfile-player and I have the problem that 
whenever I change the start and/or stop position in real-time I get a short 
audible audio click whenever [tabread4~] jumps to the new position.
In my patch [phasor~] is multiplied with the amount of samples the soundfile 
has and reads like that through the soundfile using [tabread4~].


I would highly appreciate any kind of advice or suggestion.

Cheers, 
Marko

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] getting a messsage at end of [phasor~]

2008-12-06 Thread Marko Timlin
Hi everybody, 
first of all thanks for your kind responses.
Patrick, your info was great, [phasorshot~]does precisely what I was looking 
for!!!
People were asking what I actually want to do with that:
At the moment I am building a jack of all trades device, thus my dream 
sampler that can do whatever I want it to do :-)
Using this sampler I want the option between looped and non-looped soundfile 
playback, but I couldn´t do that with [vline~] as I also want to be able to 
change pitch during the ramp. [phasorshot~] gives me precisely that option. 
Fantastic! 
Oh brave new world that has such people in it!

If people are interested I can post the ready sampler later on. Will still take 
a couple of days to finish it.

Marko


have a look at [phasorshot~] (externals / tof - include in pd-extended 
with [import tof]). it does exactly what you want.

from the help file:

phasorshot~ is exactly like a phasor except that you can
disabling it's looping, therefore making it a one shot
lookup signal.

Of course line~ does something similar, but with
phasorshot~ you can change the speed DURING the ramp.

pat

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] getting a messsage at end of [phasor~]

2008-12-05 Thread Marko Timlin
Hi,
[phasor~] ramps continuosly from 0 to 1. 
I would like to get a [0 message each time [phasor~] reaches its end, thus 
each time [phasor~] reaches 1.
Seems easy but I got somehow stuck.
Would be very easy if I would have to deal only with ordinary numbers, but in 
this case I have an audio signal...
Any ideas?

Any help would be highly appreciated.

Marko

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] bugs+problems: Pd 0.40.3-extended, Windows XP

2008-10-02 Thread Marko Timlin
I´m using Pd version 0.40.3-extended under Windows XP:
Unfortunately this version turned out to be extremly unstable width='100%'. It 
freezes very often.
Beforethat I was using Pd-0.39.3-extended and it not once froze or crashed 
during the whole time using the same computer.

Bugs:
- if you try to open a  help file like for example [tabread], Pd doesn`t open 
the help file and completely freezes?
- these objects [~], [!!~] don`t create?

Any ways to fix that?
Any way to make this version more stable?

Marko___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Save settings: Pd 0.40.3-extended, Windows XP

2008-09-30 Thread Marko Timlin
I´m now using Pd version 0.40.3-extended under Windows XP:
Before that I was using Pd-0.39.3-extended and to store any kind of adjustments 
like smaller latency, soundcard and midi controller I just had to: Go to 
“File/Startup…”and hit [Save all settings] after changing the latency.
How could I do that now with the newer version?
Anyways the newer version looks really better than the older one :-) Thanks for 
that.
Marko___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] change latency on windows xp

2008-06-13 Thread Marko Timlin
Hi,
I*m using pd under windows xp and would like to change the latency setting of 
pd.
When launching pd it automatically uses a latency of 70 ms.
I*d like pd to automatically use a latency of 20 ms whenever launched.
How can I do that?

Thanks,
Marko

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] synchronizing Pd with computer time

2008-03-03 Thread Marko Timlin
Hi, 
does anybody know how I can synchronize Pd with the time of a computer?
Let's say I want to start a sound next Monday at 10 o'clock sharp and stop it 
two days later Wednesday at 14 o'clock sharp.
Is that possible?

Thanks, Marko

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] synchronizing Pd with computer time

2008-03-03 Thread Marko Timlin
Hi IOhannes,
wow, that was very quick and easy.
Thanks a lot!
If life would always be like that :-)

Marko

Marko Timlin wrote:
 Hi, 
 does anybody know how I can synchronize Pd with the time of a computer?
 Let's say I want to start a sound next Monday at 10 o'clock sharp and stop it 
two days later Wednesday at 14 o'clock sharp.
 Is that possible?

zexy provides [time] and [date] to get the system's time.

fmads.r
IOhannes

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] multiple audio device

2008-02-03 Thread Marko Timlin
Hmmm,
I am using Pd version 0.39.3-extended on a XP machine with a RME Hammerfall  
sound card. Always when I choose use multiple devices in the Media menu of PD 
I get this message:
separate audio device choice not supported\; using sequential devices.

That's quite strange as I would like to use all the 8 outputs of my sound card, 
but it doesn't work. It worked with earlier PD versions though.
Does anybody know how to solve that? Or why the problem occurs?

Thanks,
Marko

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd 0.39.3-extended on XP:::problems

2008-01-19 Thread Marko Timlin
Thanks for the kind responses to my question.

Hi Matt,
thanks for your instructions they have been highly useful.
But it is really wired!!!
I discovered that I actually already had:
loadlib 14     REG_SZ    oscx
loadlib 31     REG_SZ   deprecated
nevertheless I cannot create osc objects without importing [import oscx] 
beforehand. And I cannot create [range] although it is in the deprecated lib.
Path I have only one at the moment:
path 1    REG_EXPAND_SZ    %SystemRoot%/Fonts
Really strange, any ideas?

Marko

 
If you're brave enough to mess with the registry, 
 
-go to Run in your start menu for Windoze, type regedit in the box and hit OK.
 
- Then go to My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Pd in the folder tree on 
the left.
 
- If you look in the window to the right, you'll notice that the loadlib# 
entries and path# entries are what libs and paths are currently set up.  See 
if your folders and libraries are listed.  
 
If you want to add any libs or paths, 
 
- Look for the highest numbered loadlib#, 
- right click anywhere except for on the name of the registry entry, and 
- add a sequential loadlib entry (if the highest is loadlib10 then the first 
one to add is loadlib11).  
- You can then double click on the name that you just added and enter the lib 
name in the Value data section and hit OK.  Don't edit Binary Data, unless you 
speak Binary fluently.
- Do the same for adding a path.  Follow the format that is there, with / 
instead of the \ that you normally see in the Explorer address window.  
- Add as many libs and paths as you like.
- When you are done, look for the npath and nloadlib and change the number 
to reflect how ever many paths or libs you have now, so that the registry will 
send all of your entries.  Otherwise it will cut short.
- Go to File and hit Export to save your new registry.  Save as something 
different from the pd-settings registry file already there, so that you don't 
overwrite it.  Then close the registry.
- Start pd and see if it worked.  It should, if you didn't mess with anything 
else.
 
I hope this isn't confusing.  

Matt

 
On 1/18/08, Hans-Christoph Steiner [EMAIL PROTECTED] wrote:
[range] was just a copy of maxlib's [scale] with the name changed.  I
did it a long time ago to deal with the name clash with Gem's scale.
Now you can do [maxlib/scale] so it's unneeded, so I stuck it into
[deprecated].

I should have documented it.  I think that we should figure out a
good mechanism for deprecation and use it.  There is a lot of old
kludges that should be deprecated.

On my install of Pd-0.39.3-extended on Windows, range is showing up
in flatspace also.  Plus the 'oscx' and 'deprecated' libs are loaded
by default.  It sounds like the settings aren't setup.  Try running
pd-settings.reg again.

.hc

On Jan 18, 2008, at 5:26 AM, Roman Haefeli wrote:

 hans

 i just found an 'original' version of maxlib (from olafs site from
 2005)
 and it this time, [range] wasn't part of it.
 sorry for accusing you to (re)move parts of libraries.

 marko

 i checked again the pd-extended-0.39.3 release and i found [range] in
 extra/deprecated. you could put an [import deprecated] to your
 mainpatch, so that [range] can be instantiated.

 roman



 On Fri, 2008-01-18 at 10:50 +0100, Marko Timlin wrote:
 hi hans,
 well, in my case I installed Pd-0.39.3-extended and afterwards I
 double clicked pd-settings, but oscx is not loaded by default.
 any ideas why? could this be a bug?
 has anybody else had the same problem on windows xp?

 about [range]:
 I used that object in a lot of patches, where it is often hidden
 und used in several subpatches, so it would be a hell lot of a
 work to find and replace it now in every patch by the [maxlib/
 scale] object.
 how could I avoid that procedure and use [range] like I used in it
 Pd-0.39.2-extended-rc3?

 thanks,
 m.t.


 oscx should be loaded by default in Pd-0.39.3-extended as long as you
 have the default preferences that were installed by the installer.
 Otherwise, you can add an [import oscx] to your patch, or prefix
 those objects with oscx/ like this:

 [oscx/sendOSC]
 [oscx/dumpOSC]

 [range] is most likely the old link to maxlib scale, so you can
 replace [range] with [maxlib/scale].

 .hc


 On Jan 17, 2008, at 8:03 AM, IOhannes m zmoelnig wrote:

 Marko Timlin wrote:


 Hi Iohannes, hi list members,
 as I worked on that patch for more than half a year I wouldn't
 like to change it now. It has a lot of subpatches etc.

 valid argument.

 So how could I add the C:\Programme\pd\extra\oscx patch so that Pd
 autoloads it every time? The PD Patch menu seems to be full.

 might be able to add it in one of the existing lines by using the
 colon:
 /existing/path:/path/to/oscx

 in Pd-extended you might also add it to the libraries.

 i am no expert in this fields (neither pd-extended nor xp), so you
 probably want to save your pdsettings (in the registry) before
 doing that.


 And: How can I make sure that PD loads all the available

[PD] Pd 0.39.3-extended on XP:::problems=SOLVED

2008-01-19 Thread Marko Timlin
Hi, 
okay I went the hard way:
I uninstalled PD and reinstalled it (without double clicking the Pd-reg).
Now all my problems are gone, I can use [range] and all OSC objects.
Well...ghost in the machine I would say :-)

Hi,

Marko Timlin hat gesagt: // Marko Timlin wrote:

 about [range]:
 
 I used that object in a lot of patches, where it is often hidden und
 used in several subpatches, so it would be a hell lot of a work to
 find and replace it now in every patch by the [maxlib/scale] object.
 how could I avoid that procedure and use [range] like I used in it
 Pd-0.39.2-extended-rc3?

Just wrap maxlib/scale into an abstraction called  range.pd in your
Pd path. 

Ciao
-- 
 Frank Barknecht _ __footils.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] PduinoPing ultrasonic sensorarduino

2007-12-24 Thread Marko Timlin
Hi Marius,
you are absolutely right! After writing code for the arduino I can use the Ping 
sensor without any problems within PD (using the PD_inputs_to_PD patch). 
But that is not my problem. My problem is that if I work like that, I have to 
change the arduino code all the time I change my sensor setup. Like for 
instance: First I write arduino code for 3 Ping sensors and 3 solar 
panles...but then I want to use 4 Ping sensors with let's say 3 LEds.
It would be great if I could do all that using only the arduino patch in PD, 
without writing new code for arduino all the time. Of course after uploading 
the Pd_firmware onto the arduino-board.
Any idea how? And at the moment I would like to work with 8 Ping sensors :-) 
and 5 solar panels at the same time.

Best,
Marko 


hmm, I think arduino can handle the ping range finder. but you need to 
write your specific code.
use a code that you find online (the routine is something like: turn pin 
to outlet, set pin high, wait some milliseconds, set pin low, turn pin 
to inlet, measure the time until you receive the echo...)
and then send the value to pd via serial port (115200).
then measure next value.
I think, you should be able to send at least 20 values per second, but 
that is a guess.
do you need more info for the arduino code? how many sensors do you have?
marius.

it is

Marko Timlin wrote:
 Moi,
 does anybody know, if it is possible to control the Ping(ultrasonic range 
finder)sensor using only Pduino (first uploading Pd-firmware to the arduino, 
and then using the arduino pure data patch?). It doesn't work for me at the 
moment.
 
 If I write my own ping-sensor-patch for arduino and then use the  
PD_inputs_to_PD patch it works fine. 
 
 But I'd like to use several different sensors and it would therefore be much 
easier to just control all of them with Pduino and not writing new code for 
arduino all the time. Well, guess this was the original idea of Pduino anyways 
:-)
 
 MArko
 
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] PduinoPing ultrasonic sensorarduino

2007-12-23 Thread Marko Timlin
Moi,
does anybody know, if it is possible to control the Ping(ultrasonic range 
finder)sensor using only Pduino (first uploading Pd-firmware to the arduino, 
and then using the arduino pure data patch?). It doesn't work for me at the 
moment.

If I write my own ping-sensor-patch for arduino and then use the  
PD_inputs_to_PD patch it works fine. 

But I'd like to use several different sensors and it would therefore be much 
easier to just control all of them with Pduino and not writing new code for 
arduino all the time. Well, guess this was the original idea of Pduino anyways 
:-)

MArko

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] PduinoPing ultrasonic sensorarduino

2007-12-23 Thread Marko Timlin
Hi Martin, 
thanks so much for the helpful information.
I'll continue experimenting until I find the best way for my needs.
The EZ1 sensors you recommended seem very interesting indeed.
At the moment I'd like to use solar cells for light tracking and at the same 
time the Ping sensors for motion tracking. If that would be possible with the 
EZ1s as well, I'd be a happy man.
The solar cells are connected to the analog inputs of the arduino and  they 
work fine with Pduino.

But if someone is out there who is capable of creating a module for Pduino and 
the Ping sensor I'd be again a happy man.

Marko


Marko Timlin wrote:
 Moi,
 does anybody know, if it is possible to control the Ping(ultrasonic range 
finder)sensor using only Pduino (first uploading Pd-firmware to the arduino, 
and then using the arduino pure data patch?). It doesn't work for me at the 
moment.

   
The Ping needs you to send a trigger and wait for an echo, and the delay 
needs to be precisely timed. Unfortunately pd can't communicate with the 
arduino or anything else outside the machine it's running on with enough 
timing precision to do that. (Sound travels about 1 foot per millisecond 
and the timing jitter with comport can be up to about 10ms, so your 
measurements will almost always be off by several feet.)

 If I write my own ping-sensor-patch for arduino and then use the  
PD_inputs_to_PD patch it works fine. 
   
Because the serial communication timing is not involved.
 But I'd like to use several different sensors and it would therefore be much 
easier to just control all of them with Pduino and not writing new code for 
arduino all the time. Well, guess this was the original idea of Pduino anyways 
:-)

   
The code for many sensors is almost the same as the code for one sensor, 
so it shouldn't be too hard.
If you must use Pduino, you could try one of the EZ1 sensors, it has an 
analog output that you can connect to an arduino analog in:
http://www.hvwtech.com/products_view.asp?ProductID=560
I've used it with Pduino with no problems.
I guess the other approach is to add modules to pduino that specifically 
handle specific hardware, but there is a _lot_ of hardware out 
there...the main ones that need doing are stepper motors (two or four 
pins have to change at the same time at precise times), servo motors 
(pulse width needs to be between 1 and 2 ms), and sonar sensors, as well 
as any hardware with a serial interface like servo controllers (serial 
data bits need to be accurately timed to about 2% of the data rate). 
Most everything else isn't as sensitive to timing.

Martin

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Music made with Pd

2007-12-01 Thread Marko Timlin
To whom it may  concern...
January 2007 I played a solo concert at the le placard headphone festival in 
Helsinki. The music was entirely improvised using pure data.
The audience in the concert space could only listened to the concert via 
headphones - which was a very extraordinary experience I have to admit. 
If you are interested, you are cordially welcome to listen to the two tracks 
that are now in the net. You can find them under:
http://www.timlin.de/music.html

Best,
Marko

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] OSC between win and mac

2007-07-31 Thread Marko Timlin
Aaarrgghh,
I send and SOS to the world, I hope that someone get´s my...message in a bottle.

still fiddling around with that bl##dy OSC connection form Windows to Mac or Pd 
to Max respectively.

Status:
firewalls are off
sending OSC from Mac using Max to Windows using Pd works just fine
sending OSC from Windows using Pd to Mac using Max doesn´t work, I receive the 
following message:
SendData::SendHTMSocket()failure -- not connected

to receive I use the dumpOSC object to send I use the sendOSC object.
I give in the IP number of the Mac and its port, but...nothing :-(

by the way, sending and receiving OSC from Pd to Reaktor on Windows works also 
perfectly.

any suggestions are warmly welcome.
thanks,
M.


Mojn,
mind the portnumbers.

UDP is like a scream/stream, just broadcasting on the whole network for 
anyone to listen on that port. TCP/IP does handshake on two channels
(eg port  and 4445) involving al kinds of are you ready, oh, I 
didnt get that, messages.

If you want to connect both ways with UDP select two different 
portnumbers for the two senders ( ).

Make shure these ports are free, on win do Run/netstat -a 30 to see.
on mac I don't know.

And as Martin says: Mind the networkfiltering (firewalls), these ports 
need to be open for network traffic.

Good luck

mvh/Steffen Leve Poulsen







Marko Timlin skrev:
 Moi, 
 where can I find martin's net/osc objects mentioned below by IOhannes?
 
 and why do I have to set up the machines to pass udp packets on port 7000? is 
there a reason why port 7000 and not any other port???
 
 thanks,
 m.
 
 [EMAIL PROTECTED] wrote:
 
 Be sure that both machines are set up to pass udp packets on port 7000.
 
 e.g. be sure to configure your firewalls correctly when dealing with
 network traffic (the sender computer must allow outgoing udp-traffic on
 the specified port, the receiving computer must allow incoming
 udp-traffic on the port and all intermediate firewalls have to act
 accordingly).
 
 and connect a [print] directly to [dumpOSC] so you can see whether you
 receive anyhing.
 
 and watch the console, whether it bails out on either the sending or the
 receiving side.
 
 mfga.sdf
 IOhannes
 
 PS: and use martin's net/osc objects, they are better...
 
 Martin




___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] OSC object not working under windows

2007-07-26 Thread Marko Timlin
hei,
I am working with Pd version 0.39.2-extended-rc3 under windows xp.
whenever I try to create the [OSC] object I get: 

OSC
... couldn't create

is that a known bug, or what might be the reason for that?

thanks, 
m.

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] OSC between win and mac

2007-07-26 Thread Marko Timlin
Moi, 
where can I find martin's net/osc objects mentioned below by IOhannes?

and why do I have to set up the machines to pass udp packets on port 7000? is 
there a reason why port 7000 and not any other port???

thanks,
m.

[EMAIL PROTECTED] wrote:

 
 Be sure that both machines are set up to pass udp packets on port 7000.

e.g. be sure to configure your firewalls correctly when dealing with
network traffic (the sender computer must allow outgoing udp-traffic on
the specified port, the receiving computer must allow incoming
udp-traffic on the port and all intermediate firewalls have to act
accordingly).

and connect a [print] directly to [dumpOSC] so you can see whether you
receive anyhing.

and watch the console, whether it bails out on either the sending or the
receiving side.

mfga.sdf
IOhannes

PS: and use martin's net/osc objects, they are better...

 
 Martin
 
 
 
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list
 


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] HID for PD on windows?

2007-07-19 Thread Marko Timlin
Yes,
I am also working with pd under windows xp and I had exactly the same question.
is there any hope the [hid] will ever work under windows
or is there any other alternative for us poor windows users???
let´s joystick around...if possible...

Best,
m.


Hi all,

I'm trying to get a game-controller (and eventually also the Wii-controller) 
up and running on pure data which I am currently running on windows.
As I understand it the best object at the moment to tap into the datastreams 
produced by game controllers etc. is the HID-object build by Hans-Christoph 
Steiner. It isn't provided with the latest beta version of PD extended and 
I'm also beginning to believe that it doesn't even run on windows at all - 
is the right or wrong?
If there is a windows-version of this/these objects could someone please 
point me to them?

Cheers!
Thomas 


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] changing volume depending on frequency

2007-07-15 Thread Marko Timlin
Hi andy,
many thanks for your infos. the link you gave me helps a lot, but how can I get 
more informtaion about the lookup tables you mentioned? I have never used them 
before, so they are still quite a mystery.

thanks,
m.



One thing you might like to look at is the Fletcher Munsen curve. There isn't 
a
hard mathematical relationship between perceived amplitude (loudness) and 
frequency, it's more of a biological and psychoacoustic effect, and somewhat
subjective between listeners. 

http://ccrma.stanford.edu/CCRMA/Courses/SummerWorkshops/96/Psychoacoustics/labs/
loudness/

The Pd solution to this is to use lookup tables to scale amplitude, a bit less
fiddly than setting up a piecewise function.


On Fri, 13 Jul 2007 21:21:37 +0200
Marko Timlin [EMAIL PROTECTED] wrote:

 I am working on a patch where I want to change the volume of the sound 
depending of the frequency it´s played at. 
 as we hear frequency logarithimically my idea is:
 the higher the pitch the more silent the volume and the lower the pitch the 
higher the volume. and all that according to the logarithmic fashion in which 
the human auditory system processes frequencies, as we do not perceive them 
with equal sensitivity.
 
 any ideas???
 
 thanks,
 m.
 
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


-- 
Use the source

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] changing volume depending on frequency

2007-07-15 Thread Marko Timlin
Hallo Frank,
I am workin with Pd version 0.39.2-extended-rc3 under Windows XP and I cannot 
find the [mtx_phon_curve] in Iemmatrix object you metioned.
how (where) can I find that? and how does it work?

Thanks,
m.

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] changing volume depending on frequency

2007-07-13 Thread Marko Timlin
I am working on a patch where I want to change the volume of the sound 
depending of the frequency it´s played at. 
as we hear frequency logarithimically my idea is:
the higher the pitch the more silent the volume and the lower the pitch the 
higher the volume. and all that according to the logarithmic fashion in which 
the human auditory system processes frequencies, as we do not perceive them 
with equal sensitivity.

any ideas???

thanks,
m.

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] puredata Arduino and Ping

2007-06-05 Thread Marko Timlin
hi kyle
hi marius,
I used the different delay times in the arduino code to avoid crosstalking 
between the sensors. my idea was: when the arduino board checks the response of 
the sensor signals after different time intervals each individual sensor won´t 
react to signals from other sensors. but seems that this doesn`t work.
is it possible to assign a different frequency to each sensor, so the sensors 
can be placed quite close to each other? I play them with my hands so they 
are quite close to each other, approximately around 23 centimeters of distance.

Best,
Marko

Yes, please describe the physical configuration of the 5 sensors
Marko. I am working on a similar project using 6 sensors, but we have
not done much testing in our proper configuration yet.

My guess is that since all the sensors are hard wired with a specific
ping frequency, they will detect each other's pings when placed in
close proximity.

~Kyle

On 6/3/07, marius schebella [EMAIL PROTECTED] wrote:
 Hi,

 your code and patch look good. It is not clear to me, why you are using
 these delaytimes for the different sensors. but that should not affect
 your results anyway. the minimum delaytime between two measurements is
 only 200microseconds. but maybe it also depends on the length of the
 impulse? would it be possible, that the sensing fields of the 5 sensors
 overlap, and you get the crosstalk from that?
 on the other hand, it may also be possible that the problem is in your
 circuit. you could try to use 10k pulldown resistors. maybe that stops
 the crosstalk.

 marius.


 Marko Timlin wrote:
  I am working with several ultra sound sensors called Ping from Parallax
  wired to an Arduino board that is connected to puredata.
  currently I am working with 3 sensors and it works fine.
 
  now I want to work with 5 sensors and the following problem occurs:
  - I get phantom values on sensors that are not modified: if, for example, 
I change the value of sensor B, sensor C also changes its values, not exactely 
syncronized but it jumps to a simlar value range. very annoying indeed.
  is that a problem of my script for arduino or a problem of pd?
  does anybody already have experience with such a configuration?
  I am using Pd version 0.39.2-extended-RC1 on windows xp.
 
  attached you find the arduino and pd patch for that idea.
 
  thanks,
  marko
 
 
  
 
  ___
  PD-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list



-- 
-

 -
  - --
http://perhapsidid.wordpress.com

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] puredata Arduino and Ping

2007-06-03 Thread Marko Timlin
I am working with several ultra sound sensors called Ping from Parallax 
wired to an Arduino board that is connected to puredata.
currently I am working with 3 sensors and it works fine.

now I want to work with 5 sensors and the following problem occurs:
- I get phantom values on sensors that are not modified: if, for example, I 
change the value of sensor B, sensor C also changes its values, not exactely 
syncronized but it jumps to a simlar value range. very annoying indeed. 
is that a problem of my script for arduino or a problem of pd?
does anybody already have experience with such a configuration?
I am using Pd version 0.39.2-extended-RC1 on windows xp.

attached you find the arduino and pd patch for that idea.

thanks,
marko

multiple_ultrasound5_schneller.pde
Description: Binary data


NewSensor.pd
Description: Binary data
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list