Search This Blog

Saturday 19 March 2011

Capturing streaming audio in OS X

From https://destefano.wordpress.com/2009/01/07/audio-in-osx/


How to grab and record “what you hear” audio on a Mac with open-source tools, using Audacity, Soundflower, and Sunflowerbed.

  1. Download and install the Soundflower open-source audio routing system (which now includes Soundflowerbed application).
  2. Download and install the Audacity open-source audio editing application.
  3. Start the Sunflowerbed application: /Applications/Sunflowerbed.app
  4. If not presented with a Sunflowerbed welcome or initial configuration screen, click the flower icon in the task bar, and beneath Soundflower (2 ch), click Built-in Output.
    Soundflowerbed output settings for Sunflower
    Soundflowerbed output settings for Sunflower
  5. In your system audio preferences (Apple system icon -> System Preferences, Sound -> Output), select Soundflower (2ch).
    Sound preferences in OS X 10.6
    Sound preferences in OS X 10.6
  6. Start Audacity, and in its Preferences, in the Audio I/O tab, under Recording, change the Device to Core Audio: Soundflower (2ch).
    Audacity Audio I/O settings
    Audacity Audio I/O settings
  7. Now, anything you can listen to or stream to your system can be recorded, including Internet audio, DRM-protected content (which you’ve obviously bought but were unable to transfer to other formats), etc.
  8. When you’ve finished recording, you may want to switch your Sound output setting back to Internal Speakers.

Monday 7 March 2011

Mac: Resize .dmg image

1. Mount the image
2. Delete the files you don't need.
3. Dismount image.
4. From the terminal : hdiutil resize -size xx{m or g} /PATH/TO/DISKIMAGE.dmg
xx= the size you want the image to be.
Use either M for MG or G for GB

i.e. hdiutil resize -size 25g ~/Desktop/mystuff.dmg

From http://hintsforums.macworld.com/showthread.php?t=65446