Page 1 of 1

Sound Live Input Recorder

Posted: Sun Feb 15, 2009 5:37 pm
by Anome
Hi,

Jai fait un petit module experimental pour enregistrer le son sous Modul8 (un enregistrement par calque).
Il est téléchargeable depuis la librairie online sous le nom de : SoundLiveInputRecorder
I ve made a tiny module to record live sound input with Modul8 (one record per layer).
You can download it from the online library under the name : SoundLiveInputRecorder

Before, you ve to install PyAudio ( http://people.csail.mit.edu/hubert/pyaudio/ ) and maybe reboot your Mac ...

See ya

Re: Sound Live Input Recorder

Posted: Fri Feb 27, 2009 2:10 pm
by Ropski
Anome wrote:Hi,
Before, you ve to install PyAudio ( http://people.csail.mit.edu/hubert/pyaudio/ ) and maybe reboot your Mac ...

See ya


thankx for starting on a great module-to-become :)

I guess i can record live sound so finally exporting record can be done with sync sound e.g. from external midi drum computer.

The module doesn't work properly at my mac i guess. the meter is showing there's sound going between 50/100%of meter. installed pyaudio (both 2.3 and 2.5) and can click on record / reverse /stop. where's the sound? recorder to a file ? where? recorder to a layer? can't see. don't know what's happening and no tools to check if it's working.

what might be wrong ??

But, hey great module-to-be :idea:

Posted: Tue Mar 03, 2009 10:07 am
by Anome
you can update the module and you ll be able to see how many second you recorded.

by the way, i didn't say this:
IF YOU PRESS 'record', YOU START RECORDING, THEN WHEN YOU RELESE 'record', YOU STOP IT
sorry :)

Posted: Thu Jul 23, 2009 2:29 pm
by kaniak
I think i am missing something on the instalation of the pyaudio component - its isntalling on the pthon 2.5 folder. and i cant find any other version of it. Could you please give me some advice? This modules would be really useful for me


thanks

Posted: Thu Jul 23, 2009 2:45 pm
by Anome
Hi,

Did you reboot ? Try if not.
Do you find the pyaudio library in your python folder ?

You could try to install manually (by compiling the source) pyaudio : check out the website, everything is explained.

What's the module is displaying ? A message saying that it didnt find pyaudio ?

Posted: Fri Jul 24, 2009 12:51 pm
by kaniak
Hey

i did reboot but it didnt change anything.
in my python 2.3 folder i find the pyaudio.py file. (but its possible its the same i have copied form the 2.5 when i was trying to make it work on my own hand)

but talking about this manual installation. i guess i'm to studid for that since i dont even understand the first step:

Get the latest PortAudio v19 from subversion, then build and install:

% ./configure

% make

% make install # you may need to be root



i tried to use these commands in the terminal but it doesetn seem to work.


oh and the module is displaying that the pyaudio.py file is missing.



(btw. you may write in french for me if you prefer)
thanks

Posted: Sun Jul 26, 2009 9:40 am
by Anome
kaniak wrote:(btw. you may write in french for me if you prefer)
I prefer to speak in english if someone has the same pb ;)



First, check that the shortcut called "Current" in the "/Library/Frameworks/Python.framework/Versions/" directory goes to the "/Library/Frameworks/Python.framework/Versions/2.5/" directory.

Then check if pyaudio is installed like this :
    /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/
      _portaudio.so
      PyAudio-0.2.3-py2.5.egg-info
      pyaudio.py
      pyaudio.pyc
      pyaudio.pyo




This is how it s working on my computer.

Posted: Mon Jul 27, 2009 12:03 am
by kaniak
ok, the pyaudio installations look to be correct.

but i dont have the "Current" shortcut. how should i create it? i tried right clicking on the folder to choose "create alias" but theres no such option O.o

Posted: Mon Jul 27, 2009 8:05 am
by Anome
ok i think i get it :
- update the module
- press ALT+CMD+O (the "script output" window pops up)
- click on the module
- press ALT+CMD+R (the module resets)
- look in the "script output" window : you should see a list of directories
- pyaudio should be installed in one of theses directories


Mine (and probably yours) is "/Library/Python/2.5/site-packages" (instead of "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/" as I said in my previous message).

Posted: Mon Jul 27, 2009 2:10 pm
by kaniak
ok, my noobish question is now: how the heck do i update a module? i tried deleting it and redownloading but its stillthe 0.1 version.

after reseting the module, the script output shows me:
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python23.zip
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-darwin
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/lib-scriptpackages
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib-tk
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib-dynload
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages
Please build and install the PortAudio Python bindings first."

all is on the 2.3 python version. the problem tat in the "Library/Frameworks/Python.framework/Versions/" i dont even have a 2.3 folder :P crap i feel like a total newbie asking for everything but those things are stuff i never made before an im totally lost:(

Posted: Mon Jul 27, 2009 2:21 pm
by Anome
try to copy your pyaudio files into "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages"

however, the "Please build and install the PortAudio Python bindings first." message is weird : I dont have it at all !


as Im not a specialist, you probably should drop an email to the pyaudio team and see if they can help you better than i did.



sorry, this one is definitly a very experimental module ... :(

Posted: Mon Aug 10, 2009 11:36 am
by Anome
Hi,

I did the pyaudio installation on another computer.
Here is the trick which made it possible :
- I installed pyaudio with the installer ("PyAudio for Mac OS X (Universal)")
- Go to /Library/Python/2.5/site-packages/
- Copy everything to /Library/Python/2.3/site-packages/

By the way ... I m working on managing the sound of every layer with this library (since sound control in Modul8 is random !).
I achieve funny sound effects like low-pass filter, changing only pitch, changing speed without changing pitch, and nice sampling as well :)
More info sooner ... Stay tuned !